joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007ae30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x100d1040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1007ae57
mov ecx, 5
int 0x29
push 2
call fcn.1007a7a6
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 0x1007af62
test esi, esi
jne 0x1007af62
push 2
call fcn.1007a7a6
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.1007a265
mov esp, ebp
pop ebp
ret
Function at 0x100838e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100d1040]
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 0x10083920
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a265
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 0x1008395c
mov dword [eax], ebx
mov ebx, dword [ebp - 0x210]
jmp 0x1008398b
cmp dword [eax], 0x22
jne 0x10083a9a
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 0x10083a9a
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10083990
sub ecx, edx
sar ecx, 1
cmp ecx, 3
je 0x10083a72
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100839b0
sub ecx, edx
sar ecx, 1
cmp ecx, 5
jb 0x10083a9a
movzx eax, word [edi]
cmp eax, 0x5c
je 0x100839d9
cmp eax, 0x2f
jne 0x10083a9a
movzx eax, word [edi + 2]
cmp eax, 0x5c
je 0x100839eb
cmp eax, 0x2f
jne 0x10083a9a
movzx eax, word [edi + 4]
cmp eax, 0x5c
je 0x10083a9a
cmp eax, 0x2f
je 0x10083a9a
movzx eax, word [edi + 6]
lea edx, [edi + 6]
mov edi, eax
test ax, ax
je 0x10083a32
mov ecx, eax
cmp cx, 0x5c
je 0x10083a2f
cmp cx, 0x2f
je 0x10083a2f
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
mov edi, eax
test ax, ax
jne 0x10083a11
jmp 0x10083a32
movzx edi, cx
test di, di
je 0x10083a9a
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
test ax, ax
je 0x10083a9a
cmp cx, 0x5c
je 0x10083a63
cmp cx, 0x2f
je 0x10083a63
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
mov edi, eax
test ax, ax
jne 0x10083a45
jmp 0x10083a66
movzx edi, cx
test di, di
je 0x10083a72
cmp word [edx + 2], 0
jne 0x10083a9a
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push esi
cmp eax, 1
jbe 0x10083a9b
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.1007a265
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.1007a265
mov esp, ebp
pop ebp
ret
Function at 0x10083c60
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10083e08
push esi
xor esi, esi
push dword [edi + esi*4]
call sub.msvcrt.dll_free
inc esi
add esp, 4
cmp esi, 7
jne 0x10083c72
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 0x10083c90
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 0x10083cb0
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 0x10083cd0
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 0x10083cf0
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 0x10083e06
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 0x10083d55
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 0x10083d72
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 0x10083d90
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 0x10083db0
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 0x10083dd0
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 0x10083e10
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10083fa2
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10083e3a
call fcn.10083c00
test al, al
jne 0x10083e3a
push dword [esi + 0xc]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10083e55
call fcn.10083c00
test al, al
jne 0x10083e55
push dword [esi + 0x10]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10083e70
call fcn.10083c00
test al, al
jne 0x10083e70
push dword [esi + 0x14]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x10083e8b
call fcn.10083c00
test al, al
jne 0x10083e8b
push dword [esi + 0x18]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x10083ea6
call fcn.10083c00
test al, al
jne 0x10083ea6
push dword [esi + 0x1c]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10083ec1
call fcn.10083c00
test al, al
jne 0x10083ec1
push dword [esi + 0x20]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x10083edc
call fcn.10083c00
test al, al
jne 0x10083edc
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 0x10083fa2
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x10083f1b
call fcn.10083c00
test al, al
jne 0x10083f1b
push dword [esi + 0x38]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x10083f36
call fcn.10083c00
test al, al
jne 0x10083f36
push dword [esi + 0x3c]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x10083f51
call fcn.10083c00
test al, al
jne 0x10083f51
push dword [esi + 0x40]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10083f6c
call fcn.10083c00
test al, al
jne 0x10083f6c
push dword [esi + 0x44]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x10083f87
call fcn.10083c00
test al, al
jne 0x10083f87
push dword [esi + 0x48]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x10083fa2
call fcn.10083c00
test al, al
jne 0x10083fa2
push dword [esi + 0x4c]
call sub.msvcrt.dll_free
add esp, 4
pop esi
pop ebp
ret
Function at 0x10083fb0
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 0x1008412d
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x1008412d
cmp dword [eax], 0
jne 0x1008412d
call fcn.10083c00
test al, al
jne 0x1008412d
mov ecx, dword [edi + 0xb0]
call fcn.10083c00
test al, al
jne 0x1008412d
mov ecx, dword [edi + 0xb8]
test ecx, ecx
je 0x1008402f
cmp dword [ecx], 0
jne 0x1008402f
call fcn.10083c00
test al, al
jne 0x1008402f
push dword [edi + 0xb8]
call sub.msvcrt.dll_free
push dword [edi + 0xbc]
call fcn.10083e10
add esp, 8
mov ecx, dword [edi + 0xb4]
test ecx, ecx
je 0x10084114
cmp dword [ecx], 0
jne 0x10084114
call fcn.10083c00
test al, al
jne 0x10084114
push dword [edi + 0xb4]
call sub.msvcrt.dll_free
mov esi, dword [edi + 0xbc]
add esp, 4
test esi, esi
je 0x10084114
mov ecx, dword [esi]
test ecx, ecx
je 0x10084088
call fcn.10083c00
test al, al
jne 0x10084088
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100840a3
call fcn.10083c00
test al, al
jne 0x100840a3
push dword [esi + 4]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100840be
call fcn.10083c00
test al, al
jne 0x100840be
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 0x10084114
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x100840f9
call fcn.10083c00
test al, al
jne 0x100840f9
push dword [esi + 0x30]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x10084114
call fcn.10083c00
test al, al
jne 0x10084114
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 0x10084193
cmp dword [ecx], 0
jne 0x10084193
call fcn.10083c00
test al, al
jne 0x10084193
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 0x1008416f
push eax
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword [edi + 0xd0]
sub eax, 0x80
je 0x10084185
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 0x100841c8
cmp dword [ecx + 0xb4], 0
jne 0x100841c8
call fcn.10083c00
test al, al
jne 0x100841c8
push dword [edi + 0xd4]
call fcn.10083c60
push dword [edi + 0xd4]
call sub.msvcrt.dll_free
add esp, 8
lea esi, [edi + 0x48]
lea ebx, [edi + 0xa8]
cmp esi, ebx
je 0x1008420c
mov ecx, dword [esi]
test ecx, ecx
je 0x100841e0
call fcn.10083c00
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10084205
call fcn.10083c00
test al, al
jne 0x10084205
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10084205
cmp dword [eax], 0
jne 0x10084205
push eax
call sub.msvcrt.dll_free
add esp, 4
add esi, 0x10
cmp esi, ebx
jne 0x100841d5
push edi
call sub.msvcrt.dll_free
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100842d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
mov eax, dword [0x100d1040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1018825c]
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 0x1008431e
push str._create_locale
call fcn.10086120
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x508]
test eax, eax
jne 0x10084319
or eax, 0xffffffff
mov dword [0x1018825c], eax
lea edi, [eax + 1]
neg edi
sbb edi, edi
and edi, eax
je 0x1008443e
test esi, esi
je 0x1008435f
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x1008435f
xor ecx, ecx
mov al, byte [esi + ecx]
lea edx, [ecx + ecx]
test al, al
je 0x1008437c
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x10084342
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.1007a265
mov esp, ebp
pop ebp
ret
cmp edx, 0x200
jae 0x10084507
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 0x1008435f
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 0x1008435f
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 0x1008435f
lea ebx, [ebp - 0x504]
xor eax, eax
jmp 0x10084410
movzx ecx, word [ebx + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x1008442f
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x10084410
jmp 0x1008435f
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x1008435f
cmp ecx, 5
ja 0x100844e7
test esi, esi
je 0x100844e7
call fcn.10084670
mov edi, eax
test edi, edi
je 0x100844f2
call fcn.1007ac20
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.10084780
add esp, 8
test eax, eax
je 0x100844a2
mov eax, dword [ebx + 0x6c]
push dword [eax + 4]
call sub.msvcrt.dll__setmbcp
add esp, 4
test eax, eax
jne 0x100844a2
call fcn.10084670
mov esi, eax
jmp 0x100844a4
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 0x100844bb
mov dword [edi], ecx
mov dword [ebx + 0x6c], eax
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 0x68]
cmp eax, ecx
je 0x100844cb
mov dword [edi + 4], ecx
mov dword [ebx + 0x68], eax
push edi
call fcn.10084510
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a265
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.1007a265
mov esp, ebp
pop ebp
ret
call fcn.1007a9fb
int3
Function at 0x10084780
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [0x100d1040]
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 0x1008487b
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x1008487b
xor ecx, ecx
mov al, byte [ecx + esi]
lea edx, [ecx + ecx]
test al, al
je 0x100847da
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x100847b8
jmp 0x1008487b
cmp edx, 0x200
jae 0x100848e1
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 0x1008487b
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 0x1008487a
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 0x1008487a
lea edi, [ebp - 0x504]
xor eax, eax
nop
movzx ecx, word [edi + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x100848c3
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x10084860
pop edi
mov eax, dword [0x10188264]
test eax, eax
jne 0x100848a1
push str.setlocale
call fcn.10086120
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1008489c
or eax, 0xffffffff
mov dword [0x10188264], eax
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x100848cf
push esi
push ebx
call ecx
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a265
mov esp, ebp
pop ebp
ret
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x1008487a
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.1007a265
mov esp, ebp
pop ebp
ret
call fcn.1007a9fb
int3
Function at 0x10084f60
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 0x10084f7e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.10084f90
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4366e4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4367b9
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x4367b9
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
je 0x4367b9
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov ecx, ebx
mov esi, dword [eax + 0x1c]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
cmp ecx, edx
ja 0x43673f
mov eax, dword [esi + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
mov ebp, dword [eax + 0x18]
add edx, edi
add ecx, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test ebp, ebp
je 0x4367b9
mov eax, dword [edx + esi*4]
add eax, edi
mov ecx, ebx
lea ecx, [ecx]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x436784
test dl, dl
je 0x436780
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x436784
add ecx, 2
add eax, 2
test dl, dl
jne 0x436764
xor eax, eax
jmp 0x436789
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43679b
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
cmp eax, dword [esp + 0x20]
jbe 0x4367a6
inc esi
cmp esi, ebp
jae 0x4367b9
mov edx, dword [esp + 0x10]
jmp 0x43675a
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8

Function at 0x436a1d
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x436a28
xor eax, eax
ret
push esi
mov esi, dword [esp + 0xc]
cmp esi, 0x40
jb 0x436a3c
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x436a40
xor eax, eax
pop esi
ret
push edi
mov edi, dword [ecx + 0x3c]
lea eax, [edi + 0xf8]
cmp esi, eax
jb 0x436a79
cmp dword [edi + ecx], 0x4550
jne 0x436a79
mov eax, 0x14c
cmp word [edi + ecx + 4], ax
jne 0x436a79
test byte [edi + ecx + 0x16], 2
je 0x436a79
movzx eax, word [edi + ecx + 0x14]
mov edx, 0xe0
cmp ax, dx
jae 0x436a7e
pop edi
xor eax, eax
pop esi
ret
push ebx
add eax, 0xffffff20
movzx ebx, ax
add ebx, edi
movzx edi, word [edi + ecx + 6]
add ebx, ecx
xor edx, edx
test edi, edi
jle 0x436aba
xor eax, eax
jmp 0x436a9d
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*8 + 0x10c]
add ecx, dword [ebx + eax*8 + 0x108]
cmp ecx, esi
ja 0x436ac3
inc edx
movzx eax, dx
cmp eax, edi
jl 0x436a9d
pop ebx
pop edi
mov eax, 1
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x436ac9
Capabilities:
Access peb ldr_data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
mov edi, dword [ebp + 0x30]
mov esi, dword [esp + 0x18]
movzx ebx, word [esi]
mov eax, ebx
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x436b01
add eax, 0x20
movzx edx, word [edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x19
ja 0x436b0f
add edx, 0x20
cmp eax, edx
jne 0x436b20
test bx, bx
je 0x436b55
add esi, 2
add edi, 2
jmp 0x436af1
movzx ecx, word [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x436b2e
add ecx, 0x20
movzx edx, word [edi]
lea eax, [edx - 0x41]
cmp eax, 0x19
ja 0x436b3c
add edx, 0x20
sub ecx, edx
je 0x436b55
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x18], 0
jne 0x436aea
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4375ce
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx]
test eax, eax
je 0x43768f
test ecx, ecx
je 0x43768f
mov ebx, dword [eax + 0x3c]
mov edx, dword [ebx + eax + 0x78]
mov ebx, dword [ebx + eax + 0x7c]
test edx, edx
je 0x43768f
test ebx, ebx
je 0x43768f
mov ebx, eax
add ebx, edx
je 0x43768f
mov esi, dword [edx + eax + 0x18]
test esi, esi
je 0x43768f
cmp dword [edx + eax + 0x14], 0
je 0x43768f
mov edi, dword [edx + eax + 0x20]
mov ebx, dword [edx + eax + 0x24]
add edi, eax
mov edx, dword [edx + eax + 0x1c]
add ebx, eax
add edx, eax
test esi, esi
jbe 0x43768f
mov dword [esp], edx
xor ebp, ebp
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 8]
movzx ecx, word [ebx + ebp*2]
mov esi, dword [eax + ebp*4]
add esi, dword [esp + 0x24]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x43767f
test dl, dl
je 0x43767b
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x43767f
add edi, 2
add esi, 2
test dl, dl
jne 0x43765f
xor eax, eax
jmp 0x437684
sbb eax, eax
or eax, 1
test eax, eax
je 0x43769b
inc ebp
cmp ebp, dword [esp + 4]
jb 0x43764c
xor eax, eax
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [esp]
mov edx, dword [edx + ecx*4]
mov eax, dword [esp + 0x24]
add eax, edx
add esp, 0x10
pop ebx
pop edi
pop esi
pop ebp
ret 8

Function at 0x439909
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
call 0x439912
pop eax
mov esi, dword fs:[0x30]
mov esi, dword [esi + 0xc]
mov esi, dword [esi + 0x1c]
push esi
mov ebx, dword [esi + 8]
cmp eax, ebx
jb 0x439935
mov ecx, dword [esi + 0x10]
add ecx, ebx
cmp eax, ecx
ja 0x439935
mov eax, ebx
jmp 0x43994a
mov esi, dword [esi]
mov ebx, dword [esi]
cmp ebx, dword [esp]
jne 0x439921
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
pop esi
pop esi
leave
ret