joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a177
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446296
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x459040]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xa4]
mov eax, dword [eax + 4]
cmp dword [ebp + 8], eax
jne 0x41a1bf
push 0x44c798
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [esp + 0xc], vtable.shui::CSHSignalArgs.0
and dword [esp + 0x38], 0
lea eax, [esp + 0xc]
push eax
push esi
add esi, 0x98
push esi
mov dword [esp + 0x20], 7
call fcn.00402acc
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41a1f9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44656e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x459040]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xa4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 4]
jne 0x41a263
mov eax, dword [eax]
add eax, 4
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xa4]
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx]
mov eax, dword [eax + 4]
add eax, 4
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x41a2eb
mov eax, dword [0x45c94c]
mov ecx, 0x45c94c
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
xor edi, edi
mov dword [esp + 0x40], edi
mov eax, dword [esi + 0xa4]
mov ecx, dword [eax]
add ecx, 4
lea eax, [esp + 0x10]
call fcn.0041af8d
mov ebx, dword [esp + 0x10]
cmp dword [ebx - 0xc], edi
jne 0x41a2e3
mov eax, dword [esi + 0xa4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
cmp dword [eax - 0xc], edi
je 0x41a2e3
mov eax, dword [esi + 0xa4]
mov byte [eax + 0x14], 1
mov eax, dword [esi + 0xa4]
mov eax, dword [eax]
add eax, 4
push edi
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xa4]
mov eax, dword [eax + 4]
push 0x53
push edi
push edi
push edi
push edi
add eax, 4
push edi
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebx - 0x10]
call fcn.00403c6b
mov dword [esp + 0x14], vtable.shui::CSHSignalArgs.0
lea eax, [esp + 0x14]
push eax
push esi
add esi, 0x98
mov dword [esp + 0x48], 1
push esi
mov dword [esp + 0x28], 8
call fcn.00402acc
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41d3b8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446296
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x459040]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040df5c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [esp + 0xc], vtable.shui::CSHSignalArgs.0
and dword [esp + 0x38], 0
lea eax, [esp + 0xc]
push eax
push esi
add esi, 0x9c
push esi
call fcn.00402acc
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41d427
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446296
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x459040]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x88]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [esp + 0xc], vtable.shui::CSHSignalArgs.0
and dword [esp + 0x38], 0
lea eax, [esp + 0xc]
push eax
push esi
add esi, 0xa0
push esi
call fcn.00402acc
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42196f
Capabilities:
Log keystrokes via polling

Disassembly:
and dword [ebx], 0
push esi
mov esi, eax
mov eax, dword [esi + 0xa8]
cmp eax, 0x12
je 0x42199a
cmp eax, 0x79
jne 0x421991
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x42199a
cmp dword [esi + 0xa8], 0x20
jne 0x421a0d
cmp dword [esp + 8], 0xf100
jne 0x421a0d
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
jne 0x4219ca
mov eax, esi
call fcn.00423ca2
push 0
push 0xffffffffffffffff
push 0x448
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x421a0d
mov eax, dword [esi + 0xa8]
cmp eax, 0x20
je 0x421a0d
test byte [esi + 0x84], 0x40
jne 0x421a02
mov al, byte [esi + 0x85]
test al, 2
je 0x4219f7
test al, 4
jne 0x4219f7
test al, 8
je 0x4219f7
mov al, 1
call fcn.00423d1c
push edi
mov edi, esi
call fcn.00423c7d
pop edi
jmp 0x421a07
cmp eax, 0x20
je 0x421a0d
mov dword [ebx], 1
and byte [esi + 0x84], 0xbf
xor eax, eax
pop esi
ret 4

Function at 0x42dbeb
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0
mov eax, 0x446993
call fcn.00436d6d
mov esi, dword [ebx]
call fcn.0040350e
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42dc5c
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x42dc56
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [ebp + 8]
push ecx
mov edi, eax
call fcn.00407650
and dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 8]
mov esi, ebx
call fcn.0040c683
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00403c6b
call dword [sym.imp.USER32.dll_CloseClipboard]
call fcn.00436e45
ret 4
Function at 0x43166e
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
movsx ebx, ax
push esi
shr eax, 0x10
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
cwde
mov esi, ecx
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 8], eax
xor eax, eax
push eax
push 0x41a
push dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
call edi
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x419
push dword [esi + 4]
call edi
push dword [ebp - 8]
lea eax, [ebp - 0x2c]
push ebx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x431782
push eax
push eax
push 0x401
push dword [esi + 4]
call edi
push 0
push 0
push 0x402
push dword [esi + 4]
mov dword [ebp - 4], eax
call edi
sub ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ebx
fild dword [ebp - 8]
mov dword [ebp - 8], ecx
fild dword [ebp - 8]
inc eax
sub eax, dword [ebp - 4]
fdivp st(1)
mov dword [ebp - 8], eax
fld1
fsub st(1)
fld qword [0x44ef50]
fmul st(1), st(0)
fld st(2)
fmulp st(1)
fsubp st(1)
fild dword [ebp - 8]
fmulp st(2)
fild dword [ebp - 4]
faddp st(2)
faddp st(1)
call fcn.004428f0
push eax
push 1
push 0x405
push dword [esi + 4]
mov dword [ebp - 8], eax
call edi
call fcn.00431d0b
push dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
call ebx
movzx ecx, word [ebp - 8]
push dword [esi + 4]
shl ecx, 0x10
or ecx, 4
push ecx
push 0x114
push eax
call edi
push dword [esi + 4]
call ebx
push dword [esi + 4]
push 8
push 0x114
push eax
call edi
xor eax, eax
jmp 0x431789
mov edx, esi
call fcn.00431ea0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432e16
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi]
push edi
push 0
mov ecx, esi
call dword [eax + 0x1c]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push eax
call edi
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x1c]
push eax
call edi
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
ret
Function at 0x40bd61
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0040bde0
jae 0x40bd6d
xor ecx, ecx
call fcn.0040bde0
jae 0x40bd97
xor eax, eax
call fcn.0040bde0
jae 0x40bda8
mov al, 0x10
call fcn.0040bde0
adc al, al
jae 0x40bd89
jne 0x40bdd5
stosb byte es:[edi], al
jmp 0x40bd6e
call fcn.0040bdec
dec ecx
loop 0x40bdb4
mov eax, ebp
call fcn.0040bdea
jmp 0x40bdd6
lodsb al, byte [esi]
shr eax, 1
je 0x40bdfc
adc ecx, 2
mov ebp, eax
jmp 0x40bdd6
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0040bdea
cmp eax, 0x7d00
jae 0x40bdd4
cmp eax, 0x500
jae 0x40bdd5
cmp eax, 0x7f
ja 0x40bdd6
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x40bd6e
pop ebp
ret 8
Function at 0x401060
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401079
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4010b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4010b0
lea ebx, [ebx]
cmp esi, eax
jae 0x4010b4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4010a0
cmp esi, eax
jb 0x4010ba
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x402000
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402067
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x402043
cmp eax, 2
jne 0x402056
test esi, esi
mov eax, dword [esp + 0x14]
je 0x402063
test eax, eax
je 0x402060
cmp byte [eax + esi - 1], 0
je 0x402063
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc
Function at 0x40be66
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 0x40bea9
call fcn.0040e592
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40bea9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40bec4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040ba1d
test ebx, ebx
mov esi, eax
je 0x40bec2
test edi, edi
je 0x40bec2
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40d45a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x44a64c]
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 - 0x11c]
jne 0x40d49a
push 0x43ca28
push 4
push eax
call fcn.00426ff7
push eax
call fcn.00401f70
add esp, 0x10
jmp 0x40d4ac
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x40d51a
push edi
call fcn.00425352
mov edi, dword [eax]
call fcn.00425352
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.00425506
add esp, 0x18
mov ebx, eax
call fcn.00425352
cmp dword [eax], 0
je 0x40d4fa
call fcn.00425352
push dword [eax]
call fcn.00405a3e
pop ecx
jmp 0x40d501
call fcn.00425352
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x40d51a
cmp ebx, esi
jae 0x40d51a
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x40d51c
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00423cc5
leave
ret
Function at 0x40f6d5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x40f6eb
mov edi, dword [esi + 0xc]
jmp 0x40f72b
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x40f704
call fcn.00412d3e
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x40f719
call fcn.00412d3e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x40f72b
call fcn.00412d3e
call fcn.0040e592
cmp dword [eax + 0x3c], 0
je 0x40f740
push edi
mov ecx, ebx
call fcn.0040e6b9
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0040f5ef
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x40f75e
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x40f76a
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x411443
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 0x411489
call fcn.0040e592
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x411489
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4114cc
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 0x4114b5
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 0x4114b5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4114c9
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 0x4141e2
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 0x414210
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41422e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041414c
jmp 0x41422e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41422e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0041414c
test edi, edi
mov eax, edi
jne 0x414218
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x44dc08]
test ecx, ecx
je 0x4142f1
jmp 0x4141e1
ret 8

Function at 0x423cc5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44a64c]
jne 0x423ccf
repz ret
jmp fcn.0042a2fc
Function at 0x42d698
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 + 0x44afb8]
je 0x42d6b3
inc edi
cmp edi, 0x17
jb 0x42d6a4
cmp edi, 0x17
jae 0x42d833
push ebp
push 3
call fcn.00432d48
cmp eax, 1
pop ecx
je 0x42d7ff
push 3
call fcn.00432d48
test eax, eax
pop ecx
jne 0x42d6e7
cmp dword [0x44a670], 1
je 0x42d7ff
cmp ebx, 0xfc
je 0x42d832
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x44e3f8
push ebp
call fcn.00426ff7
add esp, 0xc
test eax, eax
je 0x42d71d
push esi
push esi
push esi
push esi
push esi
call fcn.00428b4f
add esp, 0x14
push 0x104
mov esi, 0x44e411
push esi
push 0
mov byte [0x44e515], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42d761
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00426ff7
add esp, 0xc
test eax, eax
je 0x42d761
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00428b4f
add esp, 0x14
push esi
call fcn.004250e0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x42d7a6
push esi
call fcn.004250e0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x44e70c
push 0x43f4dc
sub ecx, eax
push ecx
push eax
call fcn.00425525
add esp, 0x14
test eax, eax
je 0x42d7a6
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00428b4f
add esp, 0x14
jmp 0x42d7a8
xor esi, esi
push 0x43f4d8
push ebx
push ebp
call fcn.004270e3
add esp, 0xc
test eax, eax
je 0x42d7c8
push esi
push esi
push esi
push esi
push esi
call fcn.00428b4f
add esp, 0x14
push dword [edi*8 + 0x44afbc]
push ebx
push ebp
call fcn.004270e3
add esp, 0xc
test eax, eax
je 0x42d7ea
push esi
push esi
push esi
push esi
push esi
call fcn.00428b4f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00432b8b
add esp, 0xc
jmp 0x42d832
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x42d832
cmp ebp, 0xffffffff
je 0x42d832
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x44afbc]
push dword [esi]
call fcn.004250e0
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 0x432b8b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00429d39
xor ebx, ebx
cmp dword [0x44e950], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x432c61
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x432d41
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44067c
push edi
call esi
cmp eax, ebx
je 0x432d41
push eax
call fcn.00429ccb
mov dword [esp], 0x44066c
push edi
mov dword [0x44e950], eax
call esi
push eax
call fcn.00429ccb
mov dword [esp], 0x440658
push edi
mov dword [0x44e954], eax
call esi
push eax
call fcn.00429ccb
mov dword [0x44e958], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00426d84
test eax, eax
pop ecx
pop ecx
je 0x432c2f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00428b4f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x432c61
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00429ccb
cmp eax, ebx
pop ecx
mov dword [0x44e960], eax
je 0x432c61
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00429ccb
pop ecx
mov dword [0x44e95c], eax
mov eax, dword [0x44e95c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x432ce6
cmp dword [0x44e960], ecx
je 0x432ce6
push eax
call fcn.00429d42
push dword [0x44e960]
mov esi, eax
call fcn.00429d42
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x432ce6
cmp edi, ebx
je 0x432ce6
call esi
cmp eax, ebx
je 0x432cb3
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x432cb3
test byte [ebp - 0x18], 1
jne 0x432ce6
lea eax, [ebp - 0x10]
push eax
call fcn.00426dbb
test eax, eax
pop ecx
je 0x432cce
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00428b4f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x432cdd
or dword [ebp + 0x10], 0x200000
jmp 0x432d21
or dword [ebp + 0x10], 0x40000
jmp 0x432d21
mov eax, dword [0x44e954]
cmp eax, dword [ebp - 8]
je 0x432d21
push eax
call fcn.00429d42
cmp eax, ebx
pop ecx
je 0x432d21
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x432d21
mov eax, dword [0x44e958]
cmp eax, dword [ebp - 8]
je 0x432d21
push eax
call fcn.00429d42
cmp eax, ebx
pop ecx
je 0x432d21
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44e950]
call fcn.00429d42
cmp eax, ebx
pop ecx
je 0x432d41
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x432d43
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x437874
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x44a64c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00437809
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.00425470
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 0x4378c3
cmp dword [ebp - 0x1c], 5
jb 0x4378db
jmp 0x4378d7
cmp dword [ebp - 0x10], 1
jne 0x4378db
cmp dword [ebp - 0x1c], 4
ja 0x4378d7
jne 0x4378db
cmp dword [ebp - 0x18], 0
jbe 0x4378db
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x440f00
call fcn.004376dd
test eax, eax
jge 0x4378fc
mov byte [0x44ba60], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00423cc5
add ebp, 0x78
leave
ret
Function at 0x10001520
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x10093488], 0
je 0x10001539
mov eax, dword [0x10093488]
jmp 0x100016d6
mov dword [0x10093488], 0x10093460
push 0x28
push 0
push 0x10093460
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x10093460], eax
push str.imagehlp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10093464], eax
cmp dword [0x10093464], 0
jne 0x1000157f
xor eax, eax
jmp 0x100016d6
push str.ImagehlpApiVersionEx
mov eax, dword [0x10093464]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10093468], eax
push str.SymInitialize
mov ecx, dword [0x10093464]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009346c], eax
push str.SymSetOptions
mov edx, dword [0x10093464]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10093470], eax
push str.SymGetOptions
mov eax, dword [0x10093464]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10093474], eax
push str.SymLoadModule
mov ecx, dword [0x10093464]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10093478], eax
push str.SymGetModuleInfo
mov edx, dword [0x10093464]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1009347c], eax
push str.SymGetSymFromName
mov eax, dword [0x10093464]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10093480], eax
push str.BindImage
mov ecx, dword [0x10093464]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10093484], eax
push 8
push 0
lea edx, [ebp - 8]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov word [ebp - 8], 9
cmp dword [0x10093468], 0
je 0x1000165d
lea eax, [ebp - 8]
push eax
call dword [0x10093468]
cmp dword [0x10093468], 0
je 0x1000166f
movzx ecx, word [ebp - 8]
cmp ecx, 9
jge 0x1000168a
mov edx, dword [0x10093464]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x10093464], 0
xor eax, eax
jmp 0x100016d6
cmp dword [0x1009346c], 0
je 0x100016a3
push 0
push 0
mov eax, dword [0x10093460]
push eax
call dword [0x1009346c]
cmp dword [0x10093474], 0
je 0x100016d1
cmp dword [0x10093470], 0
je 0x100016d1
call dword [0x10093474]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 7
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x10093470]
mov eax, dword [0x10093488]
mov esp, ebp
pop ebp
ret