joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005e9d6
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x1005eb6c
mov edx, 0x10000000
cmp eax, 0x7c
je 0x1005eb6c
cmp eax, 0x29
jne 0x1005ea42
cmp dword [esi + 0x10], 0
jne 0x1005eb6c
test dword [esi + 0x50], edx
je 0x1005eb72
cmp eax, 0x5d
jne 0x1005ea1d
test dword [esi + 0x50], edx
je 0x1005eb02
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1005f6c9
mov bl, 1
mov ecx, esi
call fcn.1005e9ae
test bl, bl
je 0x1005ea3e
mov ecx, esi
call fcn.1005f5e4
mov cl, 1
jmp 0x1005e9dd
cmp eax, 0x2e
jne 0x1005ea5a
push 5
lea ecx, [esi + 0x24]
call fcn.1005ec39
mov ecx, esi
call fcn.1005e9ae
jmp 0x1005ea37
cmp eax, 0x5c
jne 0x1005eaa6
mov ecx, esi
call fcn.1005e9ae
test byte [esi + 0x50], 0x80
je 0x1005ea9d
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x1005ea86
push 4
lea ecx, [esi + 0x24]
call fcn.1005ec39
mov ecx, esi
call fcn.1005e9ae
jmp 0x1005ea3e
cmp al, 0x42
jne 0x1005ea9d
push 4
lea ecx, [esi + 0x24]
call fcn.1005ec39
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x1005ea7d
mov ecx, esi
call fcn.1005f47d
jmp 0x1005ea37
cmp eax, 0x5b
jne 0x1005eb06
mov ecx, esi
call fcn.1005e9ae
lea ecx, [esi + 0x24]
call fcn.100603e4
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x1005ead3
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.1005e9ae
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x1005eaf1
cmp eax, 0x5d
jne 0x1005eaf1
push eax
lea ecx, [esi + 0x24]
call fcn.1006042c
mov ecx, esi
call fcn.1005e9ae
mov ecx, esi
call fcn.100600af
cmp dword [esi + 0x4c], 0x5d
je 0x1005ea51
push 4
jmp 0x1005eb74
cmp eax, 0x28
jne 0x1005eb26
mov ecx, esi
call fcn.1005e9ae
mov ecx, esi
call fcn.1005f555
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x1005eb72
jmp 0x1005ea2c
cmp eax, 0x5e
jne 0x1005eb32
push 2
jmp 0x1005ea75
cmp eax, 0x24
jne 0x1005eb3e
push 3
jmp 0x1005ea75
cmp eax, 0x2a
je 0x1005eb68
cmp eax, 0x2b
je 0x1005eb68
cmp eax, 0x3f
je 0x1005eb68
cmp eax, 0x7b
je 0x1005eb68
cmp eax, 0x7d
jne 0x1005ea0f
test dword [esi + 0x50], edx
jne 0x1005ea1d
push 6
jmp 0x1005eb74
push 0xa
jmp 0x1005eb74
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.1005dea0
int3
Function at 0x10069601
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x10069628
sub edx, esi
mov cl, byte [edx + esi]
lea eax, [ecx - 0x41]
cmp al, 0x19
seta al
dec al
and al, 0x20
xor al, cl
mov byte [esi], al
inc esi
sub edi, 1
jne 0x1006960f
pop edi
pop esi
ret
Function at 0x1006c8a6
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov ebp, edx
push ebp
xor ebx, ebx
mov esi, ecx
push ebx
push edi
call sub.msvcrt.dll_memset
mov ecx, dword [esp + 0x20]
mov edx, ebp
movzx eax, cl
add esp, 0xc
imul eax, eax, 0xd
imul edx, ecx
mov cl, al
mov dword [esp + 0x14], eax
add edx, esi
xor cl, 0x6e
test ebp, ebp
jle 0x1006c8f6
sub edi, edx
mov al, byte [edx]
xor al, cl
mov byte [edi + edx], al
mov al, byte [edx]
add al, byte [esp + 0x14]
add al, bl
add cl, al
inc ebx
inc edx
cmp ebx, ebp
jl 0x1006c8df
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x1006f584
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edx, ecx
mov ebx, 0x1018f614
push 8
xor eax, eax
mov edi, ebx
pop ecx
rep stosd dword es:[edi], eax
mov edi, ebx
lea esi, [edx + 0x101711d8]
sub edi, edx
mov cl, byte [esi]
xor cl, dl
xor cl, 0x6e
mov byte [edi + edx], cl
inc edx
inc esi
test cl, cl
jne 0x1006f5a1
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x1007111a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 4
jb 0x10071185
push edi
mov edi, esi
shr edi, 2
movzx eax, byte [edx]
sub esi, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100aaf28]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100aaf28]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100aaf28]
movzx eax, byte [edx + 3]
add edx, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100aaf28]
sub edi, 1
jne 0x1007112e
pop edi
test esi, esi
je 0x100711a1
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100aaf28]
inc edx
sub esi, 1
jne 0x10071189
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x1007753d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x45c
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
jne 0x1007755c
or eax, 0xffffffff
jmp 0x1007764a
cmp dword [esi + 0x14], 1
je 0x1007756a
push 0xfffffffffffffffc
pop eax
jmp 0x1007764a
cmp edi, dword [esi + 0x10]
jb 0x10077573
push 0xfffffffffffffff6
jmp 0x10077564
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
add eax, dword [ecx]
jne 0x10077584
push 0xfffffffffffffff5
jmp 0x10077564
movzx ebx, word [eax + 0x1c]
add eax, 0x2e
cmp dword [esi + 0x5c], 0
mov dword [esp + 0xc], eax
je 0x100775a7
push dword [esi + 0x5c]
call dword [sym.imp.msvcrt.dll_free]
and dword [esi + 0x5c], 0
mov eax, dword [esp + 0x10]
pop ecx
push ecx
push ecx
mov edx, ebx
mov ecx, eax
call fcn.1007708b
mov dword [esi + 0x5c], eax
pop ecx
pop ecx
test eax, eax
jne 0x100775bf
push 0xfffffffffffffffe
jmp 0x10077564
lea eax, [esp + 0x10]
mov edx, edi
push eax
mov ecx, esi
call fcn.1007705b
pop ecx
test eax, eax
jne 0x100775d6
push 0xfffffffffffffffd
jmp 0x10077564
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0xa0], eax
mov ax, word [esp + 0x26]
mov dword [esi + 0x64], ecx
mov ecx, dword [esp + 0x1c]
mov word [esi + 0xa8], ax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x7c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esi + 0x4e008], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0xa4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x4e010], eax
xor eax, eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x4e014], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1007a500
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x100d4040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1007a527
mov ecx, 5
int 0x29
push 2
call fcn.10079e76
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x1007a632
test esi, esi
jne 0x1007a632
push 2
call fcn.10079e76
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1007993f
mov esp, ebp
pop ebp
ret
Function at 0x10082fa0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100d4040]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push 0x1008e388
push edi
mov dword [ebp - 0x210], edi
call sub.msvcrt.dll_wcspbrk
add esp, 8
test eax, eax
jne 0x10082fe0
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007993f
mov esp, ebp
pop ebp
ret
push ebx
push esi
xor esi, esi
call sub.msvcrt.dll__errno
mov ebx, dword [eax]
call sub.msvcrt.dll__errno
push 0x104
push edi
mov dword [eax], esi
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll__wfullpath
add esp, 0xc
mov edi, eax
call sub.msvcrt.dll__errno
test edi, edi
je 0x1008301c
mov dword [eax], ebx
mov ebx, dword [ebp - 0x210]
jmp 0x1008304b
cmp dword [eax], 0x22
jne 0x1008315a
call sub.msvcrt.dll__errno
push 0
mov dword [eax], ebx
mov ebx, dword [ebp - 0x210]
push ebx
push 0
call sub.msvcrt.dll__wfullpath
mov esi, eax
add esp, 0xc
mov edi, esi
test edi, edi
je 0x1008315a
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10083050
sub ecx, edx
sar ecx, 1
cmp ecx, 3
je 0x10083132
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10083070
sub ecx, edx
sar ecx, 1
cmp ecx, 5
jb 0x1008315a
movzx eax, word [edi]
cmp eax, 0x5c
je 0x10083099
cmp eax, 0x2f
jne 0x1008315a
movzx eax, word [edi + 2]
cmp eax, 0x5c
je 0x100830ab
cmp eax, 0x2f
jne 0x1008315a
movzx eax, word [edi + 4]
cmp eax, 0x5c
je 0x1008315a
cmp eax, 0x2f
je 0x1008315a
movzx eax, word [edi + 6]
lea edx, [edi + 6]
mov edi, eax
test ax, ax
je 0x100830f2
mov ecx, eax
cmp cx, 0x5c
je 0x100830ef
cmp cx, 0x2f
je 0x100830ef
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
mov edi, eax
test ax, ax
jne 0x100830d1
jmp 0x100830f2
movzx edi, cx
test di, di
je 0x1008315a
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
test ax, ax
je 0x1008315a
cmp cx, 0x5c
je 0x10083123
cmp cx, 0x2f
je 0x10083123
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
mov edi, eax
test ax, ax
jne 0x10083105
jmp 0x10083126
movzx edi, cx
test di, di
je 0x10083132
cmp word [edx + 2], 0
jne 0x1008315a
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push esi
cmp eax, 1
jbe 0x1008315b
call sub.msvcrt.dll_free
add esp, 4
mov al, 1
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007993f
mov esp, ebp
pop ebp
ret
push esi
call sub.msvcrt.dll_free
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor al, al
pop esi
pop ebx
pop edi
call fcn.1007993f
mov esp, ebp
pop ebp
ret
Function at 0x10083320
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x100834c8
push esi
xor esi, esi
push dword [edi + esi*4]
call sub.msvcrt.dll_free
inc esi
add esp, 4
cmp esi, 7
jne 0x10083332
push ebx
lea esi, [edi + 0x1c]
mov ebx, 7
lea esp, [esp]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083350
lea esi, [edi + 0x38]
mov ebx, 0xc
lea ebx, [ebx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083370
lea esi, [edi + 0x68]
mov ebx, 0xc
lea ebx, [ebx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083390
lea esi, [edi + 0x98]
mov ebx, 2
lea ecx, [ecx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x100833b0
push dword [edi + 0xa0]
call sub.msvcrt.dll_free
push dword [edi + 0xa4]
call sub.msvcrt.dll_free
push dword [edi + 0xa8]
call sub.msvcrt.dll_free
mov eax, dword fs:[0x18]
add esp, 0xc
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60001
jb 0x100834c6
lea esi, [edi + 0xb8]
mov ebx, 7
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083415
lea esi, [edi + 0xd4]
mov ebx, 7
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083432
lea esi, [edi + 0xf0]
mov ebx, 0xc
nop
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083450
lea esi, [edi + 0x120]
mov ebx, 0xc
lea ecx, [ecx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083470
lea esi, [edi + 0x150]
mov ebx, 2
lea ecx, [ecx]
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
lea esi, [esi + 4]
sub ebx, 1
jne 0x10083490
push dword [edi + 0x158]
call sub.msvcrt.dll_free
push dword [edi + 0x15c]
call sub.msvcrt.dll_free
push dword [edi + 0x160]
call sub.msvcrt.dll_free
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x100834d0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10083662
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x100834fa
call fcn.100832c0
test al, al
jne 0x100834fa
push dword [esi + 0xc]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10083515
call fcn.100832c0
test al, al
jne 0x10083515
push dword [esi + 0x10]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10083530
call fcn.100832c0
test al, al
jne 0x10083530
push dword [esi + 0x14]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x1008354b
call fcn.100832c0
test al, al
jne 0x1008354b
push dword [esi + 0x18]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x10083566
call fcn.100832c0
test al, al
jne 0x10083566
push dword [esi + 0x1c]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10083581
call fcn.100832c0
test al, al
jne 0x10083581
push dword [esi + 0x20]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x1008359c
call fcn.100832c0
test al, al
jne 0x1008359c
push dword [esi + 0x24]
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60001
jb 0x10083662
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x100835db
call fcn.100832c0
test al, al
jne 0x100835db
push dword [esi + 0x38]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x100835f6
call fcn.100832c0
test al, al
jne 0x100835f6
push dword [esi + 0x3c]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x10083611
call fcn.100832c0
test al, al
jne 0x10083611
push dword [esi + 0x40]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x1008362c
call fcn.100832c0
test al, al
jne 0x1008362c
push dword [esi + 0x44]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x10083647
call fcn.100832c0
test al, al
jne 0x10083647
push dword [esi + 0x48]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x10083662
call fcn.100832c0
test al, al
jne 0x10083662
push dword [esi + 0x4c]
call sub.msvcrt.dll_free
add esp, 4
pop esi
pop ebp
ret
Function at 0x10083670
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0xbc]
test ecx, ecx
je 0x100837ed
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x100837ed
cmp dword [eax], 0
jne 0x100837ed
call fcn.100832c0
test al, al
jne 0x100837ed
mov ecx, dword [edi + 0xb0]
call fcn.100832c0
test al, al
jne 0x100837ed
mov ecx, dword [edi + 0xb8]
test ecx, ecx
je 0x100836ef
cmp dword [ecx], 0
jne 0x100836ef
call fcn.100832c0
test al, al
jne 0x100836ef
push dword [edi + 0xb8]
call sub.msvcrt.dll_free
push dword [edi + 0xbc]
call fcn.100834d0
add esp, 8
mov ecx, dword [edi + 0xb4]
test ecx, ecx
je 0x100837d4
cmp dword [ecx], 0
jne 0x100837d4
call fcn.100832c0
test al, al
jne 0x100837d4
push dword [edi + 0xb4]
call sub.msvcrt.dll_free
mov esi, dword [edi + 0xbc]
add esp, 4
test esi, esi
je 0x100837d4
mov ecx, dword [esi]
test ecx, ecx
je 0x10083748
call fcn.100832c0
test al, al
jne 0x10083748
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10083763
call fcn.100832c0
test al, al
jne 0x10083763
push dword [esi + 4]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1008377e
call fcn.100832c0
test al, al
jne 0x1008377e
push dword [esi + 8]
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60001
jb 0x100837d4
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x100837b9
call fcn.100832c0
test al, al
jne 0x100837b9
push dword [esi + 0x30]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x100837d4
call fcn.100832c0
test al, al
jne 0x100837d4
push dword [esi + 0x34]
call sub.msvcrt.dll_free
add esp, 4
push dword [edi + 0xb0]
call sub.msvcrt.dll_free
push dword [edi + 0xbc]
call sub.msvcrt.dll_free
add esp, 8
mov ecx, dword [edi + 0xc0]
test ecx, ecx
je 0x10083853
cmp dword [ecx], 0
jne 0x10083853
call fcn.100832c0
test al, al
jne 0x10083853
mov eax, dword [edi + 0xc4]
sub eax, 0xfe
push eax
call sub.msvcrt.dll_free
mov eax, dword [edi + 0xcc]
add esp, 4
sub eax, 0x80
je 0x1008382f
push eax
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword [edi + 0xd0]
sub eax, 0x80
je 0x10083845
push eax
call sub.msvcrt.dll_free
add esp, 4
push dword [edi + 0xc0]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [edi + 0xd4]
test ecx, ecx
je 0x10083888
cmp dword [ecx + 0xb4], 0
jne 0x10083888
call fcn.100832c0
test al, al
jne 0x10083888
push dword [edi + 0xd4]
call fcn.10083320
push dword [edi + 0xd4]
call sub.msvcrt.dll_free
add esp, 8
lea esi, [edi + 0x48]
lea ebx, [edi + 0xa8]
cmp esi, ebx
je 0x100838cc
mov ecx, dword [esi]
test ecx, ecx
je 0x100838a0
call fcn.100832c0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100838c5
call fcn.100832c0
test al, al
jne 0x100838c5
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100838c5
cmp dword [eax], 0
jne 0x100838c5
push eax
call sub.msvcrt.dll_free
add esp, 4
add esi, 0x10
cmp esi, ebx
jne 0x10083895
push edi
call sub.msvcrt.dll_free
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10083990
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
mov eax, dword [0x100d4040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1018b21c]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x508], ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test eax, eax
jne 0x100839de
push str._create_locale
call fcn.100857d0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x508]
test eax, eax
jne 0x100839d9
or eax, 0xffffffff
mov dword [0x1018b21c], eax
lea edi, [eax + 1]
neg edi
sbb edi, edi
and edi, eax
je 0x10083afe
test esi, esi
je 0x10083a1f
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x10083a1f
xor ecx, ecx
mov al, byte [esi + ecx]
lea edx, [ecx + ecx]
test al, al
je 0x10083a3c
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x10083a02
push esi
push dword [ebp - 0x508]
call edi
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007993f
mov esp, ebp
pop ebp
ret
cmp edx, 0x200
jae 0x10083bc7
xor eax, eax
mov word [ebp + edx - 0x204], ax
lea eax, [ebp - 0x204]
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x10083a1f
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x504]
push 0xff
push eax
push 0x1001
lea eax, [ebp - 0x204]
push eax
call ebx
test eax, eax
je 0x10083a1f
lea edx, [ebp - 0x504]
mov ecx, 0x5f
lea edx, [edx + eax*2]
mov word [edx - 2], cx
mov ecx, 0x100
sub ecx, eax
lea eax, [ebp - 0x204]
push ecx
push edx
push 0x1002
push eax
call ebx
test eax, eax
je 0x10083a1f
lea ebx, [ebp - 0x504]
xor eax, eax
jmp 0x10083ad0
movzx ecx, word [ebx + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x10083aef
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x10083ad0
jmp 0x10083a1f
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x10083a1f
cmp ecx, 5
ja 0x10083ba7
test esi, esi
je 0x10083ba7
call fcn.10083d30
mov edi, eax
test edi, edi
je 0x10083bb2
call fcn.1007a2f0
mov ebx, eax
push esi
push dword [ebp - 0x508]
mov eax, dword [ebx + 0x70]
mov dword [ebp - 0x50c], eax
or eax, 2
mov dword [ebx + 0x70], eax
call fcn.10083e40
add esp, 8
test eax, eax
je 0x10083b62
mov eax, dword [ebx + 0x6c]
push dword [eax + 4]
call sub.msvcrt.dll__setmbcp
add esp, 4
test eax, eax
jne 0x10083b62
call fcn.10083d30
mov esi, eax
jmp 0x10083b64
xor esi, esi
mov eax, dword [ebp - 0x50c]
mov ecx, dword [ebx + 0x6c]
mov dword [ebx + 0x70], eax
mov eax, dword [edi]
cmp eax, ecx
je 0x10083b7b
mov dword [edi], ecx
mov dword [ebx + 0x6c], eax
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 0x68]
cmp eax, ecx
je 0x10083b8b
mov dword [edi + 4], ecx
mov dword [ebx + 0x68], eax
push edi
call fcn.10083bd0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007993f
mov esp, ebp
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
mov ecx, dword [ebp - 4]
xor esi, esi
pop edi
mov eax, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.1007993f
mov esp, ebp
pop ebp
ret
call fcn.1007a0cd
int3
Function at 0x10083e40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [0x100d4040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10083f3b
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x10083f3b
xor ecx, ecx
mov al, byte [ecx + esi]
lea edx, [ecx + ecx]
test al, al
je 0x10083e9a
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x10083e78
jmp 0x10083f3b
cmp edx, 0x200
jae 0x10083fa1
xor eax, eax
mov word [ebp + edx - 0x204], ax
lea eax, [ebp - 0x204]
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x10083f3b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x504]
push 0xff
push eax
push 0x1001
lea eax, [ebp - 0x204]
push eax
call edi
test eax, eax
je 0x10083f3a
lea edx, [ebp - 0x504]
mov ecx, 0x5f
lea edx, [edx + eax*2]
mov word [edx - 2], cx
mov ecx, 0x100
sub ecx, eax
lea eax, [ebp - 0x204]
push ecx
push edx
push 0x1002
push eax
call edi
test eax, eax
je 0x10083f3a
lea edi, [ebp - 0x504]
xor eax, eax
nop
movzx ecx, word [edi + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x10083f83
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x10083f20
pop edi
mov eax, dword [0x1018b224]
test eax, eax
jne 0x10083f61
push str.setlocale
call fcn.100857d0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10083f5c
or eax, 0xffffffff
mov dword [0x1018b224], eax
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x10083f8f
push esi
push ebx
call ecx
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007993f
mov esp, ebp
pop ebp
ret
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x10083f3a
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.1007993f
mov esp, ebp
pop ebp
ret
call fcn.1007a0cd
int3
Function at 0x10084620
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call sym.steam_api.dll_SteamAPI_ISteamController_GetControllerState
mov esi, dword [ebp + 8]
test al, al
je 0x1008463e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.10084650
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]