joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402690
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x405408
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x405400]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x4026e5
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x4026de
test esi, esi
je 0x4026de
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4026c0
mov dword [esp], 0x405408
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x402900
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x402938
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp edx, ebx
ja 0x40292e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40293a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x402920
xor eax, eax
pop ebx
pop esi
ret
Function at 0x401950
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x478568
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4964e0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x4964e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00407d70
push dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push dword [ebp + 8]
push eax
call fcn.00401870
add esp, 0x24
mov dword [esp + 0x38], 0
cmp dword [eax + 0x14], 0x10
jb 0x4019cd
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 0xc]
push eax
call fcn.004473a4
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x4019f6
push dword [esp + 0x10]
call fcn.00447e2b
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, esi
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], vtable.std::_System_error.0
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004472f1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x402d70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x478718
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4964e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov word [esp + 0x28], 0
push dword [ebp + 8]
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
call fcn.004024a0
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 8]
call eax
add esp, 4
push dword [esp + 0xc]
call fcn.00447e04
add esp, 4
push dword [esp + 0x10]
call fcn.00447e04
add esp, 4
push dword [esp + 0x14]
call fcn.00447e04
add esp, 4
push dword [esp + 0x18]
call fcn.00447e04
add esp, 4
push dword [esp + 0x1c]
call fcn.00447e04
add esp, 4
push dword [esp + 0x20]
call fcn.00447e04
add esp, 4
push dword [esp + 0x24]
call fcn.00447e04
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40e200
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47915e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4964e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
mov dword [edi], 0
push eax
push 0
lea ecx, [edi + 4]
mov dword [ebp - 0x10], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.0040e510
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [edi + 0x20], 0
lea ecx, [edi + 0x24]
push eax
push 0
mov dword [ebp - 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.0040e510
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov edx, dword [ebp + 0x14]
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x68], eax
mov dword [edi + 0x58], edx
mov dword [edi + 0x60], 0
mov byte [edi + 0x64], 0
movsx eax, byte [edx + 8]
and eax, 8
shr eax, 3
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
push dword [edx + 0x18]
call fcn.0040e3c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x411790
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x4117c1
lea esp, [esp]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4117b0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x41bad0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x41bb07
mov eax, dword [0x49efc4]
test eax, eax
jne 0x41baf5
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
mov ecx, 1
cmp ecx, eax
sbb eax, eax
and eax, 0xffffffe0
add eax, 0x20
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
cmp eax, 8
jb 0x41bb59
cmp eax, 0x20
jae 0x41bb1e
pause
inc dword [esi + 0xc]
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, esi
jne 0x41bb2f
call fcn.0041bb70
inc dword [esi + 0xc]
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0041bbc0
test al, al
je 0x41bb51
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x41bb59
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esi + 0xc]
pop esi
mov esp, ebp
pop ebp
ret
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esi + 0xc]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41bcc0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
push edi
mov edi, ecx
call fcn.00420350
mov eax, dword [edi + 8]
test eax, eax
jne 0x41bcee
xor ecx, ecx
mov eax, 1
lock cmpxchg dword [edi], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
lea edx, [edi + 4]
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
xor esi, esi
movlpd qword [esp + 0x18], xmm0
mov dword [esp + 0x24], esi
xor eax, eax
mov dword [esp + 0xc], edx
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x41bdf5
mov ebx, dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
test esi, esi
jne 0x41bd63
mov eax, dword [0x49efc4]
test eax, eax
jne 0x41bd50
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0xc]
mov ecx, 1
cmp ecx, eax
sbb esi, esi
and esi, 0xffffffe0
add esi, 0x20
mov dword [esp + 0x24], esi
cmp esi, 8
jb 0x41bddf
cmp esi, 0x20
jae 0x41bd71
pause
jmp 0x41bddf
jne 0x41bdbd
call fcn.0041ba40
mov ecx, 9
mov dword [esp + 0x20], eax
call fcn.0041e5a0
lea ecx, [esp + 0x10]
push ecx
call eax
test eax, eax
jne 0x41bdab
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jmp 0x41bddb
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jmp 0x41bddb
lea ecx, [esp + 0x18]
call fcn.0041bbc0
test al, al
je 0x41bdd3
call ebx
test eax, eax
jne 0x41bdd7
push eax
jmp 0x41bdd5
push 1
call edi
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
inc esi
mov dword [esp + 0x24], esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x41bd30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x422be0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
mov eax, dword [0x4964e0]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov edi, edx
mov esi, ecx
cmp dword [edi], 0x20
jae 0x422c12
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004472f1
mov esp, ebp
pop ebp
ret
mov ecx, 1
call fcn.0041e5a0
lea ecx, [esp + 0xc]
push ecx
push 0x30
lea ecx, [esp + 0x18]
push ecx
push 3
call eax
test eax, eax
jne 0x422bff
mov dword [esp + 0x44], 0x310030
xor edx, edx
mov dword [esp + 0x48], 0x330032
mov dword [esp + 0x4c], 0x350034
mov dword [esp + 0x50], 0x370036
mov dword [esp + 0x54], 0x390038
mov dword [esp + 0x58], 0x420041
mov dword [esp + 0x5c], 0x440043
mov dword [esp + 0x60], 0x460045
mov cl, byte [esp + edx + 0x10]
lea esi, [esi + 4]
movzx eax, cl
inc edx
shr eax, 4
movzx eax, word [esp + eax*2 + 0x44]
mov word [esi - 4], ax
movsx eax, cl
and eax, 0xf
movzx eax, word [esp + eax*2 + 0x44]
mov word [esi - 2], ax
cmp edx, 0x10
jne 0x422c72
mov ecx, dword [esp + 0x64]
mov al, 1
mov dword [edi], 0x20
pop edi
pop esi
xor ecx, esp
call fcn.004472f1
mov esp, ebp
pop ebp
ret
Function at 0x423080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47afc8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4964e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x4230ba
mov eax, dword [edi]
jmp 0x4230bc
mov eax, edi
mov byte [eax], 0
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x423196
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push str.Common_AppData
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42318f
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, ecx
ja 0x42312b
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], eax
jb 0x423123
mov ecx, dword [edi]
mov byte [ecx + eax], 0
jmp 0x423137
mov ecx, edi
jmp 0x4b2530
sub eax, ecx
mov ecx, edi
push 0
push eax
call fcn.00411830
cmp dword [edi + 0x14], 0x10
jb 0x423141
mov eax, dword [edi]
jmp 0x423143
mov eax, edi
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push str.Common_AppData
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42318f
mov edx, dword [edi + 0x14]
cmp edx, 0x10
jb 0x42316c
mov ecx, dword [edi]
jmp 0x42316e
mov ecx, edi
mov eax, dword [edi + 0x10]
dec eax
add eax, ecx
cmp edx, 0x10
jb 0x42317d
mov ecx, dword [edi]
jmp 0x42317f
mov ecx, edi
test eax, eax
je 0x423185
sub eax, ecx
push 1
push eax
mov ecx, edi
call fcn.00409170
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423220
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b000
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4964e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
push str.System
push 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov ebx, eax
test ebx, ebx
je 0x423334
mov dword [ebp - 0x38], ebx
mov edi, 0x10000
mov dword [ebp - 4], 0
push edi
call fcn.00447c0c
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x42332d
lea esp, [esp]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
push esi
push 0
push 9
push ebx
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
test eax, eax
jne 0x4232e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4232d5
mov edi, dword [ebp - 0x28]
push edi
push esi
call fcn.0044846d
add esp, 8
test eax, eax
jne 0x4232a0
push esi
call fcn.00447bd4
add esp, 4
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
xor al, al
jmp 0x423336
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x30]
push eax
sub esp, 8
mov ecx, esi
call fcn.004231b0
add esp, 0xc
test al, al
je 0x4232a0
mov eax, dword [ebp - 0x30]
push dword [eax + 0xc]
lea eax, [ebp - 0x20]
push 0x488634
push eax
call fcn.004474e2
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
add esp, 0xc
push eax
call fcn.0041e560
push esi
call fcn.00447bd4
add esp, 4
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004472f1
mov esp, ebp
pop ebp
ret
Function at 0x42b340
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47bec3
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x4964e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], 0x80000000
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 1
push ecx
push 0xc0000000
push dword [eax]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0xd8], 0
push 1
call fcn.00424870
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x50]
call fcn.00424820
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.004247e0
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xorps xmm0, xmm0
movlpd qword [ebp - 0xe0], xmm0
movlpd qword [ebp - 0x110], xmm0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
lea ebx, [ebx]
lea eax, [ebp - 0xe0]
push eax
push dword [ebp - 0x30]
call esi
test eax, eax
je 0x42b591
lea ecx, [ebp - 0x110]
call fcn.0041bad0
mov edx, dword [ebp - 0xe0]
mov eax, edx
mov ecx, dword [ebp - 0xdc]
or eax, ecx
je 0x42b420
cmp edx, 1
jne 0x42b48e
test ecx, ecx
jne 0x42b48e
push ecx
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf0], ecx
push eax
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xec], 0x13
call fcn.0041b570
push 0x493534
lea eax, [ebp - 0xd4]
push eax
call fcn.0044a4ab
sub esp, 0x14
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x124]
push 0xc0000000
push eax
call fcn.00429730
mov byte [ebp - 4], 0x11
mov esi, dword [ebp - 0x124]
mov eax, dword [esi]
xorps xmm0, xmm0
mov dword [ebp - 0xf8], 0
movlpd qword [ebp - 0x100], xmm0
mov dword [ebp - 0xf4], 0
cmp eax, 1
je 0x42b4d9
test eax, eax
jne 0x42b4e8
lea ecx, [ebp - 0x100]
call fcn.0041bad0
mov eax, dword [esi]
jmp 0x42b4d0
cmp eax, 2
je 0x42b51f
push ecx
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe8], 0
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0xe4], 0x13
call fcn.0041b570
push 0x493534
lea eax, [ebp - 0x7c]
push eax
call fcn.0044a4ab
mov eax, dword [ebp - 0x124]
push 0
push ecx
add eax, 8
lea ecx, [ebp + 0x20]
push eax
call fcn.0042be90
lea eax, [ebp - 0x124]
mov ecx, edi
push eax
call fcn.00424c00
lea ecx, [ebp - 0x124]
call fcn.00424b40
mov eax, dword [ebp - 0x30]
cmp eax, 0xffffffff
je 0x42b563
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x30], 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x42b574
push dword [ebp - 0x28]
call fcn.00447e2b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004472f1
mov esp, ebp
pop ebp
ret 0x20
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00423360
push ecx
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0xa8]
call fcn.0041b570
push 0x493534
lea eax, [ebp - 0xa8]
push eax
call fcn.0044a4ab
int3
Function at 0x44d6f9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x45e99f
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov edi, eax
test edi, edi
je 0x45e9f7
push ebx
xor ebx, ebx
push esi
mov esi, edi
cmp word [edi], bx
je 0x45e9cb
add esi, 2
cmp word [esi], bx
jne 0x45e9bb
jmp loc.004ae5e8
sub esi, edi
add esi, 2
push esi
call fcn.0044bdda
mov dword [ebp - 4], eax
pop ecx
test eax, eax
je 0x45e9ec
push esi
push edi
push eax
call fcn.00449820
mov ebx, dword [ebp - 4]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop esi
mov eax, ebx
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4641e8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4964e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0044f95c
mov dword [ebp - 0x14], eax
cmp dword [0x49eaec], esi
jne 0x4642db
push 0x800
push esi
push 0x484434
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x464268
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4643bb
push esi
push esi
push 0x484434
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4643bb
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4643bb
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x49eaec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x49eaf0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x49eaf4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x49eafc], eax
test eax, eax
je 0x4642d8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x49eaf8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x464300
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4642f3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x464315
push 4
pop eax
jmp 0x4643bd
cmp dword [ebp - 0x14], esi
je 0x464315
push dword [0x49eaec]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4642fa
mov eax, dword [0x49eaf8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x464373
cmp dword [0x49eafc], edi
je 0x464373
push eax
call ebx
push dword [0x49eafc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x464373
test eax, eax
je 0x464373
call ecx
test eax, eax
je 0x464368
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x464368
test byte [ebp - 8], 1
jne 0x464373
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4643a3
mov eax, dword [0x49eaf0]
cmp eax, edi
je 0x4643a0
push eax
call ebx
test eax, eax
je 0x4643a0
call eax
mov esi, eax
test esi, esi
je 0x4643a0
mov eax, dword [0x49eaf4]
cmp eax, edi
je 0x4643a0
push eax
call ebx
test eax, eax
je 0x4643a0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x49eaec]
call ebx
test eax, eax
je 0x4643bb
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4643bd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004472f1
mov esp, ebp
pop ebp
ret
Function at 0x4ab000
Capabilities:
Accept command line arguments

Disassembly:
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0x4964e0]
xchg dl, dh
push eax
lahf
push edx
shl edx, 1
shl edx, 1
dec edx
pop edx
sahf
pop eax
push eax
lahf
push eax
pop eax
sahf
pop eax
xchg dl, dh
nop
push eax
lahf
push edx
cmp dl, ch
push eax
lahf
cmp ebx, eax
add edx, 0x5c610943
bswap edx
bswap edx
nop
xor dh, 0x44
sahf
pop eax
pop edx
sahf
pop eax
push eax
nop
pop eax
push ecx
push eax
lahf
mov cl, 0x61
sahf
pop eax
pop ecx
push eax
nop
pop eax
push ecx
pop ecx
push eax
lahf
xchg bl, bh
sub eax, 1
cmp eax, ecx
push edx
nop
mov dl, 0x35
sub dl, 0xc6
pop edx
cmp bl, ch
stc
push edx
and dl, 0xc
sar dh, 1
pop edx
add eax, 1
xchg bl, bh
sahf
pop eax
push ecx
xchg ch, cl
push eax
lahf
xchg bh, bl
add cl, 2
dec ecx
xchg bh, bl
sahf
pop eax
xchg ch, cl
push eax
lahf
push ebx
xchg ah, al
add ecx, 0x1f94086d
cmp ecx, eax
add ecx, 0x6ee90880
push eax
and ebx, 0x5fab7347
pop eax
xchg ah, al
pop ebx
sahf
pop eax
pop ecx
push eax
lahf
push ecx
mov ch, 2
push edx
or cl, 0x76
xor edx, 0x7d8036e0
or dh, 0x94
xor edx, 0x41b11cde
or cl, 3
dec ecx
pop edx
pop ecx
sahf
pop eax
jmp fcn.0042e2f6