joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408070
Capabilities:
Resume thread

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x40807e
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
ret

Function at 0x4080e0
Capabilities:
Create thread

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, ecx
lea ecx, [esi + 0x10]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push esi
push 0x4080b0
xor eax, eax
push ecx
push eax
mov dword [esi], vtable.CBaseThread.0
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esp + 0xc]
push edx
mov ecx, esi
mov dword [esi + 0x14], eax
call fcn.00408050
mov eax, esi
pop esi
ret 0xc

Function at 0x408170
Capabilities:
Create directory

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40819d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, esi
pop esi
ret

Function at 0x408860
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
push 0x40
lea esi, [ecx + 0x5c]
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.00408820
mov byte [esi], 0x80
pop esi
ret

Function at 0x409f20
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
mov eax, dword [0x464ca0]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x206
lea eax, [esp + 6]
push 0
push eax
mov word [esp + 0xc], 0
call fcn.004317a0
add esp, 0xc
push 0x104
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp]
push 0x5c
push edx
call fcn.00431270
mov word [eax], 0
lea eax, [esp + 8]
add esp, 8
add eax, 0xfffffffe
jmp 0x409f80
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x409f80
mov ecx, dword [str.Main.exe]
mov edx, dword [0x44f56c]
mov dword [eax], ecx
mov ecx, dword [0x44f570]
mov dword [eax + 4], edx
mov edx, dword [0x44f574]
push 5
push 0x44e9d8
mov dword [eax + 8], ecx
mov ecx, dword [0x44f578]
mov dword [eax + 0xc], edx
push 0x44f55c
lea edx, [esp + 0xc]
push edx
push 0x44ef70
push 0
mov dword [eax + 0x10], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00432214
add esp, 0x20c
ret
Function at 0x409ff0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push 0x44
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004317a0
mov cx, word [esp + 0x68]
add esp, 0xc
lea edx, [esp]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
mov word [esp + 0x5c], cx
mov ecx, dword [esp + 0x74]
push 0
push ecx
push 0
mov dword [esp + 0x64], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, dword [esp + 4]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp]
lea ecx, [esp + 0x5c]
push ecx
push edx
mov dword [esp + 0x64], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x5c]
add esp, 0x54
ret

Function at 0x40d7b5
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x40d7de
call fcn.0041688f
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x40d801
push eax
push dword [esi + 4]
call fcn.0040d740
push esi
push eax
mov ecx, 0x466374
call fcn.0040d413
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x41354e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x413587
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040c09d
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004021a0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x415283
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4152c6
call fcn.0041688f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4152c6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4152e1
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00414e3d
test ebx, ebx
mov esi, eax
je 0x4152df
test edi, edi
je 0x4152df
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x41c695
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x464ca0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x41c6d2
push 0x452b28
push 4
push eax
call fcn.0043379e
push eax
call fcn.00401000
add esp, 0x10
jmp 0x41c6e4
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41c74f
push edi
call fcn.00433845
mov edi, dword [eax]
call fcn.00433845
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.0043250b
add esp, 0x18
mov ebx, eax
call fcn.00433845
cmp dword [eax], 0
je 0x41c72f
call fcn.00433845
push dword [eax]
call fcn.0040bc5f
pop ecx
jmp 0x41c736
call fcn.00433845
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x41c74f
cmp ebx, esi
jae 0x41c74f
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x41c751
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00432214
leave
ret
Function at 0x41daec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x44bc48
call fcn.004335e8
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.0041688f
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x41db37
call fcn.0041688f
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x41db48
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x41db55
or eax, 0xffffffff
jmp 0x41dcb1
mov ecx, esi
call fcn.0041d63e
mov dword [ebp - 0x14], eax
call fcn.0041228e
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x41dbd3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x41dbd3
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41dbd3
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.004074e0
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x41dbd3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x41dbd3
mov ecx, ebx
call fcn.0041552a
test eax, eax
je 0x41dbd3
push 0
mov ecx, ebx
call fcn.00415545
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0041402b
push dword [ebp - 0x14]
call fcn.004121e6
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0041d8f4
xor edi, edi
cmp eax, edi
je 0x41dc30
test byte [esi + 0x3c], 0x10
je 0x41dc1a
push 4
pop edi
mov ecx, esi
call fcn.004153c4
test ax, 0x100
je 0x41dc10
push 5
pop edi
push edi
mov ecx, esi
call fcn.00411dae
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x41dc30
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00415714
or dword [ebp - 4], 0xffffffff
jmp 0x41dc5b
cmp dword [ebp - 0x28], edi
je 0x41dc69
push 1
mov ecx, ebx
call fcn.00415545
cmp dword [ebp - 0x2c], edi
je 0x41dc79
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x41dc92
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x41dc92
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0041d678
cmp dword [esi + 0x58], edi
je 0x41dcae
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0043368d
ret
Function at 0x41dce2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0041688f
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41dd19
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0041d8f4
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x41e1fa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x41e240
call fcn.0041688f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41e240
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41e283
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x41e26c
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41e26c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41e280
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41f2e2
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41f310
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41f32e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041f24c
jmp 0x41f32e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41f32e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0041f24c
test edi, edi
mov eax, edi
jne 0x41f318
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x467fd0]
test ecx, ecx
je 0x41f3f1
jmp 0x41f2e1
ret 8
Function at 0x4209b3
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x4209bc
xor eax, eax
jmp 0x420a25
cmp dword [esp + 8], 0
jne 0x4209c8
call fcn.0040ba30
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.004366e7
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x420a03
push dword [esi + 0x10]
call fcn.004363ed
test eax, eax
pop ecx
jne 0x420a03
mov esi, dword [esi + 0xc]
call fcn.00433858
push esi
push dword [eax]
push 1
call fcn.004202bc
push dword [esi + 0x10]
call fcn.0043641c
test eax, eax
pop ecx
je 0x420a22
push dword [esi + 0x10]
call fcn.00436341
push eax
call fcn.00401000
pop ecx
pop ecx
jmp 0x4209f1
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x420a2e
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x420a38
call fcn.0040ba30
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00436861
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x420a65
mov esi, dword [esi + 0xc]
call fcn.00433858
push esi
push dword [eax]
push 1
call fcn.004202bc
pop esi
ret 8

Function at 0x432214
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x464ca0]
jne 0x43221e
repz ret
jmp fcn.0043c9dc
Function at 0x43644b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x436488
cmp dword [ebp + 0x14], edi
je 0x436488
cmp ecx, edi
jne 0x43648f
call fcn.00433845
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004319de
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x4364a3
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x4364c4
cmp ebx, 0xffffffff
je 0x4364b3
push ebx
push edi
push ecx
call fcn.004317a0
add esp, 0xc
cmp esi, edi
je 0x436470
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x436470
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4364e0
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4364e7
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4365d8
test word [esi + 0xc], 0x10c
je 0x43653b
mov eax, dword [esi + 4]
test eax, eax
je 0x43653b
jl 0x436639
cmp ebx, eax
mov edi, ebx
jb 0x43650c
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4365e0
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00430c24
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4365d0
cmp ebx, dword [ebp - 0xc]
jb 0x4365a8
cmp dword [ebp - 0xc], 0
je 0x436565
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x43655a
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x436561
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x436570
mov eax, SysReAllocString
cmp ebx, eax
ja 0x436570
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x43660c
push eax
push dword [ebp - 8]
push esi
call fcn.0043618e
pop ecx
push eax
call fcn.004424fc
add esp, 0xc
test eax, eax
je 0x43664b
cmp eax, 0xffffffff
je 0x436639
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4365d0
push esi
call fcn.00441e1b
cmp eax, 0xffffffff
pop ecx
je 0x43663d
cmp dword [ebp - 4], 0
je 0x43660c
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4364ef
mov eax, dword [ebp + 0x14]
jmp 0x43648a
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4365f7
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004317a0
add esp, 0xc
call fcn.00433845
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x436480
cmp dword [ebp + 0xc], 0xffffffff
je 0x436622
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004317a0
add esp, 0xc
call fcn.00433845
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x436480
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x43648a
or dword [esi + 0xc], 0x10
jmp 0x43663d
Function at 0x4371fb
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x464e50]
je 0x437216
inc edi
cmp edi, 0x17
jb 0x437207
cmp edi, 0x17
jae 0x437396
push ebp
push 3
call fcn.00443476
cmp eax, 1
pop ecx
je 0x437362
push 3
call fcn.00443476
test eax, eax
pop ecx
jne 0x43724a
cmp dword [0x464c7c], 1
je 0x437362
cmp ebx, 0xfc
je 0x437395
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x468330
push ebp
call fcn.0043a148
add esp, 0xc
test eax, eax
je 0x437280
push esi
push esi
push esi
push esi
push esi
call fcn.004318e2
add esp, 0x14
push 0x104
mov esi, 0x468349
push esi
push 0
mov byte [0x46844d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4372c4
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0043a148
add esp, 0xc
test eax, eax
je 0x4372c4
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004318e2
add esp, 0x14
push esi
call fcn.004356d0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x437309
push esi
call fcn.004356d0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x468644
push 0x455364
sub ecx, eax
push ecx
push eax
call fcn.004433c3
add esp, 0x14
test eax, eax
je 0x437309
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004318e2
add esp, 0x14
jmp 0x43730b
xor esi, esi
push 0x455360
push ebx
push ebp
call fcn.00443352
add esp, 0xc
test eax, eax
je 0x43732b
push esi
push esi
push esi
push esi
push esi
call fcn.004318e2
add esp, 0x14
push dword [edi*8 + 0x464e54]
push ebx
push ebp
call fcn.00443352
add esp, 0xc
test eax, eax
je 0x43734d
push esi
push esi
push esi
push esi
push esi
call fcn.004318e2
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00443195
add esp, 0xc
jmp 0x437395
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x437395
cmp ebp, 0xffffffff
je 0x437395
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x464e54]
push dword [esi]
call fcn.004356d0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x443195
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00437dab
xor ebx, ebx
cmp dword [0x468e3c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x44326b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x44334b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x44334b
push eax
call fcn.00437d3d
mov dword [esp], 0x45567c
push edi
mov dword [0x468e3c], eax
call esi
push eax
call fcn.00437d3d
mov dword [esp], 0x455668
push edi
mov dword [0x468e40], eax
call esi
push eax
call fcn.00437d3d
mov dword [0x468e44], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00433296
test eax, eax
pop ecx
pop ecx
je 0x443239
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004318e2
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x44326b
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00437d3d
cmp eax, ebx
pop ecx
mov dword [0x468e4c], eax
je 0x44326b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00437d3d
pop ecx
mov dword [0x468e48], eax
mov eax, dword [0x468e48]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4432f0
cmp dword [0x468e4c], ecx
je 0x4432f0
push eax
call fcn.00437db4
push dword [0x468e4c]
mov esi, eax
call fcn.00437db4
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4432f0
cmp edi, ebx
je 0x4432f0
call esi
cmp eax, ebx
je 0x4432bd
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4432bd
test byte [ebp - 0x18], 1
jne 0x4432f0
lea eax, [ebp - 0x10]
push eax
call fcn.004332cd
test eax, eax
pop ecx
je 0x4432d8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004318e2
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4432e7
or dword [ebp + 0x10], 0x200000
jmp 0x44332b
or dword [ebp + 0x10], 0x40000
jmp 0x44332b
mov eax, dword [0x468e40]
cmp eax, dword [ebp - 8]
je 0x44332b
push eax
call fcn.00437db4
cmp eax, ebx
pop ecx
je 0x44332b
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44332b
mov eax, dword [0x468e44]
cmp eax, dword [ebp - 8]
je 0x44332b
push eax
call fcn.00437db4
cmp eax, ebx
pop ecx
je 0x44332b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x468e3c]
call fcn.00437db4
cmp eax, ebx
pop ecx
je 0x44334b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44334d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44983a
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x464ca0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004497cf
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004317a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x449889
cmp dword [ebp - 0x1c], 5
jb 0x4498a1
jmp 0x44989d
cmp dword [ebp - 0x10], 1
jne 0x4498a1
cmp dword [ebp - 0x1c], 4
ja 0x44989d
jne 0x4498a1
cmp dword [ebp - 0x18], 0
jbe 0x4498a1
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4567b8
call fcn.004496a3
test eax, eax
jge 0x4498c2
mov byte [0x4660b4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00432214
add ebp, 0x78
leave
ret