joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007ada0
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 0x1007adc7
mov ecx, 5
int 0x29
push 2
call fcn.1007a716
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 0x1007aed2
test esi, esi
jne 0x1007aed2
push 2
call fcn.1007a716
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.1007a1d3
mov esp, ebp
pop ebp
ret
Function at 0x10083850
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 0x10083890
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a1d3
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 0x100838cc
mov dword [eax], ebx
mov ebx, dword [ebp - 0x210]
jmp 0x100838fb
cmp dword [eax], 0x22
jne 0x10083a0a
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 0x10083a0a
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10083900
sub ecx, edx
sar ecx, 1
cmp ecx, 3
je 0x100839e2
mov ecx, edi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10083920
sub ecx, edx
sar ecx, 1
cmp ecx, 5
jb 0x10083a0a
movzx eax, word [edi]
cmp eax, 0x5c
je 0x10083949
cmp eax, 0x2f
jne 0x10083a0a
movzx eax, word [edi + 2]
cmp eax, 0x5c
je 0x1008395b
cmp eax, 0x2f
jne 0x10083a0a
movzx eax, word [edi + 4]
cmp eax, 0x5c
je 0x10083a0a
cmp eax, 0x2f
je 0x10083a0a
movzx eax, word [edi + 6]
lea edx, [edi + 6]
mov edi, eax
test ax, ax
je 0x100839a2
mov ecx, eax
cmp cx, 0x5c
je 0x1008399f
cmp cx, 0x2f
je 0x1008399f
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
mov edi, eax
test ax, ax
jne 0x10083981
jmp 0x100839a2
movzx edi, cx
test di, di
je 0x10083a0a
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
test ax, ax
je 0x10083a0a
cmp cx, 0x5c
je 0x100839d3
cmp cx, 0x2f
je 0x100839d3
movzx eax, word [edx + 2]
add edx, 2
mov ecx, eax
mov edi, eax
test ax, ax
jne 0x100839b5
jmp 0x100839d6
movzx edi, cx
test di, di
je 0x100839e2
cmp word [edx + 2], 0
jne 0x10083a0a
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push esi
cmp eax, 1
jbe 0x10083a0b
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.1007a1d3
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.1007a1d3
mov esp, ebp
pop ebp
ret
Function at 0x10083bd0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10083d78
push esi
xor esi, esi
push dword [edi + esi*4]
call sub.msvcrt.dll_free
inc esi
add esp, 4
cmp esi, 7
jne 0x10083be2
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 0x10083c00
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 0x10083c20
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 0x10083c40
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 0x10083c60
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 0x10083d76
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 0x10083cc5
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 0x10083ce2
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 0x10083d00
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 0x10083d20
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 0x10083d40
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 0x10083d80
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10083f12
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10083daa
call fcn.10083b70
test al, al
jne 0x10083daa
push dword [esi + 0xc]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10083dc5
call fcn.10083b70
test al, al
jne 0x10083dc5
push dword [esi + 0x10]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10083de0
call fcn.10083b70
test al, al
jne 0x10083de0
push dword [esi + 0x14]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x10083dfb
call fcn.10083b70
test al, al
jne 0x10083dfb
push dword [esi + 0x18]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x10083e16
call fcn.10083b70
test al, al
jne 0x10083e16
push dword [esi + 0x1c]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10083e31
call fcn.10083b70
test al, al
jne 0x10083e31
push dword [esi + 0x20]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x10083e4c
call fcn.10083b70
test al, al
jne 0x10083e4c
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 0x10083f12
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x10083e8b
call fcn.10083b70
test al, al
jne 0x10083e8b
push dword [esi + 0x38]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x10083ea6
call fcn.10083b70
test al, al
jne 0x10083ea6
push dword [esi + 0x3c]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x10083ec1
call fcn.10083b70
test al, al
jne 0x10083ec1
push dword [esi + 0x40]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10083edc
call fcn.10083b70
test al, al
jne 0x10083edc
push dword [esi + 0x44]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x10083ef7
call fcn.10083b70
test al, al
jne 0x10083ef7
push dword [esi + 0x48]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x10083f12
call fcn.10083b70
test al, al
jne 0x10083f12
push dword [esi + 0x4c]
call sub.msvcrt.dll_free
add esp, 4
pop esi
pop ebp
ret
Function at 0x10083f20
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 0x1008409d
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x1008409d
cmp dword [eax], 0
jne 0x1008409d
call fcn.10083b70
test al, al
jne 0x1008409d
mov ecx, dword [edi + 0xb0]
call fcn.10083b70
test al, al
jne 0x1008409d
mov ecx, dword [edi + 0xb8]
test ecx, ecx
je 0x10083f9f
cmp dword [ecx], 0
jne 0x10083f9f
call fcn.10083b70
test al, al
jne 0x10083f9f
push dword [edi + 0xb8]
call sub.msvcrt.dll_free
push dword [edi + 0xbc]
call fcn.10083d80
add esp, 8
mov ecx, dword [edi + 0xb4]
test ecx, ecx
je 0x10084084
cmp dword [ecx], 0
jne 0x10084084
call fcn.10083b70
test al, al
jne 0x10084084
push dword [edi + 0xb4]
call sub.msvcrt.dll_free
mov esi, dword [edi + 0xbc]
add esp, 4
test esi, esi
je 0x10084084
mov ecx, dword [esi]
test ecx, ecx
je 0x10083ff8
call fcn.10083b70
test al, al
jne 0x10083ff8
push dword [esi]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10084013
call fcn.10083b70
test al, al
jne 0x10084013
push dword [esi + 4]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1008402e
call fcn.10083b70
test al, al
jne 0x1008402e
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 0x10084084
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x10084069
call fcn.10083b70
test al, al
jne 0x10084069
push dword [esi + 0x30]
call sub.msvcrt.dll_free
add esp, 4
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x10084084
call fcn.10083b70
test al, al
jne 0x10084084
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 0x10084103
cmp dword [ecx], 0
jne 0x10084103
call fcn.10083b70
test al, al
jne 0x10084103
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 0x100840df
push eax
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword [edi + 0xd0]
sub eax, 0x80
je 0x100840f5
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 0x10084138
cmp dword [ecx + 0xb4], 0
jne 0x10084138
call fcn.10083b70
test al, al
jne 0x10084138
push dword [edi + 0xd4]
call fcn.10083bd0
push dword [edi + 0xd4]
call sub.msvcrt.dll_free
add esp, 8
lea esi, [edi + 0x48]
lea ebx, [edi + 0xa8]
cmp esi, ebx
je 0x1008417c
mov ecx, dword [esi]
test ecx, ecx
je 0x10084150
call fcn.10083b70
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10084175
call fcn.10083b70
test al, al
jne 0x10084175
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10084175
cmp dword [eax], 0
jne 0x10084175
push eax
call sub.msvcrt.dll_free
add esp, 4
add esi, 0x10
cmp esi, ebx
jne 0x10084145
push edi
call sub.msvcrt.dll_free
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10084240
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 [0x1018b254]
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 0x1008428e
push str._create_locale
call fcn.10086080
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x508]
test eax, eax
jne 0x10084289
or eax, 0xffffffff
mov dword [0x1018b254], eax
lea edi, [eax + 1]
neg edi
sbb edi, edi
and edi, eax
je 0x100843ae
test esi, esi
je 0x100842cf
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x100842cf
xor ecx, ecx
mov al, byte [esi + ecx]
lea edx, [ecx + ecx]
test al, al
je 0x100842ec
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x100842b2
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.1007a1d3
mov esp, ebp
pop ebp
ret
cmp edx, 0x200
jae 0x10084477
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 0x100842cf
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 0x100842cf
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 0x100842cf
lea ebx, [ebp - 0x504]
xor eax, eax
jmp 0x10084380
movzx ecx, word [ebx + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x1008439f
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x10084380
jmp 0x100842cf
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x100842cf
cmp ecx, 5
ja 0x10084457
test esi, esi
je 0x10084457
call fcn.100845e0
mov edi, eax
test edi, edi
je 0x10084462
call fcn.1007ab90
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.100846f0
add esp, 8
test eax, eax
je 0x10084412
mov eax, dword [ebx + 0x6c]
push dword [eax + 4]
call sub.msvcrt.dll__setmbcp
add esp, 4
test eax, eax
jne 0x10084412
call fcn.100845e0
mov esi, eax
jmp 0x10084414
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 0x1008442b
mov dword [edi], ecx
mov dword [ebx + 0x6c], eax
mov eax, dword [edi + 4]
mov ecx, dword [ebx + 0x68]
cmp eax, ecx
je 0x1008443b
mov dword [edi + 4], ecx
mov dword [ebx + 0x68], eax
push edi
call fcn.10084480
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a1d3
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.1007a1d3
mov esp, ebp
pop ebp
ret
call fcn.1007a96b
int3
Function at 0x100846f0
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 0x100847eb
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x100847eb
xor ecx, ecx
mov al, byte [ecx + esi]
lea edx, [ecx + ecx]
test al, al
je 0x1008474a
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x10084728
jmp 0x100847eb
cmp edx, 0x200
jae 0x10084851
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 0x100847eb
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 0x100847ea
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 0x100847ea
lea edi, [ebp - 0x504]
xor eax, eax
nop
movzx ecx, word [edi + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x10084833
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x100847d0
pop edi
mov eax, dword [0x1018b25c]
test eax, eax
jne 0x10084811
push str.setlocale
call fcn.10086080
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1008480c
or eax, 0xffffffff
mov dword [0x1018b25c], eax
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x1008483f
push esi
push ebx
call ecx
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a1d3
mov esp, ebp
pop ebp
ret
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x100847ea
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.1007a1d3
mov esp, ebp
pop ebp
ret
call fcn.1007a96b
int3
Function at 0x10084ed0
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 0x10084eee
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.10084f00
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x40596d
pop dword [ebp - 0x1c]
mov eax, 0x7b170b7c
add eax, 0x85294df1
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xab635022
sub dword [ebp - 0x2c], 0x5d110ad7
mov dword [ebp - 0x28], 0x1d9cb6d7
add dword [ebp - 0x28], 0x1496956e
mov dword [ebp - 0x24], 0x24696c60
add dword [ebp - 0x24], 0x27e2d7ce
mov dword [ebp - 0x20], 0xc0b4a1e9
sub dword [ebp - 0x20], 0xc0b4a1e9
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x8fe28356
add eax, 0x705ded0a
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x64d10415
add dword [ebp - 0x2c], 0xfa16541
mov dword [ebp - 0x28], 0xba9abcb1
sub dword [ebp - 0x28], 0x792e5b3c
mov dword [ebp - 0x24], 0xa490d0db
sub dword [ebp - 0x24], 0x4121646f
mov dword [ebp - 0x20], 0xa19150bb
add dword [ebp - 0x20], 0x5e6eaf45
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x36ba3
push 0
call eax
mov ecx, 0x480b
mov ebx, eax
mov esi, 0xbaa687e6
sub esi, 0xba6587e6
add esi, dword [ebp - 0x1c]
mov edi, 0x1fce5752
sub edi, 0x8ef70817
sub dword [ebp - 0x14], 0xe9e8a915
mov edx, dword [esi]
sub dword [ebp - 4], eax
add edx, edi
xor dword [ebp - 4], eax
mov dword [ebx], edx
xor dword [ebp - 0x14], 0x9160317c
add ebx, 4
add esi, 0xa813e545
sub esi, 0xa813e541
loop 0x405a84
add eax, 0x112ff
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x401037
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov eax, dword [0x42f608]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x42f60c]
xor ebx, ebx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
call fcn.00401030
mov eax, dword [0x42f610]
add dword [ebp - 0x14], 0x23f
mov dword [ebp - 0x28], eax
mov eax, dword [0x42f614]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, edi
shl eax, 4
cmp dword [0x1a201cc], 0xc
mov dword [ebp - 4], eax
jne 0x4010b9
push ebx
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x438]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [0x1a201cc]
cmp eax, 0xfa9
jne 0x4010d5
mov dword [0x1a201c8], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010e9
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [0x1a2011c], ebx
mov eax, dword [ebp - 0x14]
add eax, edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [0x1a201c4], 0xf4ea3dee
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 8], eax
sub esi, dword [ebp - 8]
cmp dword [0x1a201cc], 0xc
mov dword [ebp - 4], eax
jne 0x40114a
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 0x1c], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x14], 0x61c88647
sub edi, eax
dec dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], edi
jne 0x401089
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
leave
ret 4
Function at 0x40695e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e7a0]
jne 0x406968
repz ret
jmp fcn.0040b97e

Function at 0x40b212
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406a5c
and dword [ebp - 4], 0
cmp dword [0x438698], 0
mov ebx, eax
jne 0x40b2c3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b374
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b374
push eax
call fcn.004069ea
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x438698], eax
call esi
push eax
call fcn.004069ea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43869c], eax
call esi
push eax
call fcn.004069ea
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4386a0], eax
call esi
push eax
call fcn.004069ea
pop ecx
mov dword [0x4386a8], eax
test eax, eax
je 0x40b2c3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004069ea
pop ecx
mov dword [0x4386a4], eax
mov eax, dword [0x4386a4]
cmp eax, ebx
je 0x40b31b
cmp dword [0x4386a8], ebx
je 0x40b31b
push eax
call fcn.00406a65
push dword [0x4386a8]
mov esi, eax
call fcn.00406a65
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b31b
test edi, edi
je 0x40b31b
call esi
test eax, eax
je 0x40b312
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b312
test byte [ebp - 0xc], 1
jne 0x40b31b
or dword [ebp + 0x10], 0x200000
jmp 0x40b354
mov eax, dword [0x43869c]
cmp eax, ebx
je 0x40b354
push eax
call fcn.00406a65
pop ecx
test eax, eax
je 0x40b354
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b354
mov eax, dword [0x4386a0]
cmp eax, ebx
je 0x40b354
push eax
call fcn.00406a65
pop ecx
test eax, eax
je 0x40b354
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x438698]
call fcn.00406a65
pop ecx
test eax, eax
je 0x40b374
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b376
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret