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

Disassembly:
push 0xffffffffffffffff
push 0x515920
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004e7030
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004e70b0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004e70b0
lea ecx, [esi + 0xc]
call fcn.004fd760
lea ecx, [esi + 0x10]
call fcn.004fd760
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004e98b0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004e98b0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004e98b0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004fd7d5
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004fd7d5
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4e8128
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x515b48
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x4e8138
call fcn.004e8650
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x4e821b
cmp byte [edi], 0
je 0x4e821b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x4e815d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.004e6e50
test eax, eax
jne 0x4e817d
push 0x6db010
lea ecx, [esi + 0x38]
call fcn.004fd912
jmp 0x4e821b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.004e6ea0
test eax, eax
jne 0x4e81ac
mov ecx, esi
call fcn.004e6fa0
push edi
add esi, 0x38
push 0x6dafec
push esi
call fcn.004faaa9
add esp, 0xc
jmp 0x4e821b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.004e8ed0
test eax, eax
je 0x4e8214
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.004e82f0
test eax, eax
jne 0x4e8230
push edi
lea eax, [esi + 0x38]
push 0x6dafc8
push eax
call fcn.004faaa9
add esp, 0xc
mov ecx, esi
call fcn.004e8650
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4e82d8
mov ecx, dword [0x6db2f0]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.004faaa9
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.004e6f50
test eax, eax
jne 0x4e829a
push 0x6dafac
lea ecx, [esi + 0x38]
call fcn.004fd912
jmp 0x4e82aa
push 0xfa
mov ecx, esi
call fcn.004e8ed0
test eax, eax
jne 0x4e82c7
mov ecx, esi
call fcn.004e8650
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004fd7d5
jmp 0x4e821b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004fd7d5
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x4ffc4c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ffc84
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004fdc30
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004fdc08
jmp 0x4ffc90
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5014c1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x501503
call fcn.00507d87
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x501503
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5014fa
xor eax, eax
jmp 0x50150b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00501511
pop edi
pop esi
pop ebx
ret 4

Function at 0x5082b7
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 0x5082e5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x508303
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0050821d
jmp 0x508303
mov eax, dword [esi + 0x14]
test eax, eax
je 0x508303
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0050821d
test edi, edi
mov eax, edi
jne 0x5082ed
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x50ac6a
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x50ac92
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x50aca3
push 2
call edi
test ax, ax
jge 0x50aca3
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004ff281
cmp dword [esi + 0x30], ebx
jne 0x50ad7d
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, pe_nt_image_headers32
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004ff281
cmp eax, dword [esp + 0x34]
jne 0x50ad7d
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x50ad19
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x50ad5e
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x50ad7d
cmp eax, 0x205
je 0x50ad7d
cmp eax, 0x201
je 0x50ad7d
cmp eax, 0x204
je 0x50ad7d
cmp eax, ebx
jne 0x50ad44
cmp dword [esp + 0x1c], 0x1b
je 0x50ad7d
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x739880]
jbe 0x50ad73
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x50acd6
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x401dd0
Capabilities:
Delete file

Disassembly:
mov eax, 0x2024
call fcn.00449f20
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x2020], eax
push esi
mov esi, dword [esp + 0x202c]
xor eax, eax
test esi, esi
je 0x401e64
push 0x2000
mov dword [esp + 0xc], eax
push eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x28], ax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x14], 3
call fcn.00449530
push 0x1000
lea ecx, [esp + 0x34]
push esi
push ecx
call fcn.00449f8b
add esp, 0x18
lea ecx, [esp + 4]
lea edx, [esp + 0x24]
mov eax, 0x614
push ecx
mov dword [esp + 0x10], edx
mov word [esp + 0x18], ax
call dword [0x468354]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x2024]
pop esi
xor ecx, esp
call fcn.0044951c
add esp, 0x2024
ret

Function at 0x401ff0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4664bb
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x80c], eax
push esi
push edi
mov eax, dword [0x47eb18]
xor eax, esp
push eax
lea eax, [esp + 0x820]
mov dword fs:[0], eax
mov eax, dword [0x480ad8]
mov edx, dword [eax + 0xc]
mov ecx, 0x480ad8
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
lea edi, [esp + 0x10]
mov dword [esp + 0x828], 0
call fcn.004021e0
test eax, eax
jne 0x40208f
mov dword [esp + 0x828], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402088
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40214b
push 0x800
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.00449530
mov esi, dword [esp + 0x1c]
add esp, 0xc
push str.KWSMain.exe
push esi
lea edx, [esp + 0x1c]
push edx
call dword [0x46839c]
lea eax, [esp + 0x14]
push eax
call dword [0x468398]
test eax, eax
je 0x4020d5
lea edi, [ebx + 0xc]
lea eax, [esp + 0x10]
call fcn.00402bf0
jmp 0x40211f
lea edi, [esp + 0x10]
call fcn.004022c0
test eax, eax
je 0x40205d
mov esi, dword [esp + 0x10]
push esi
call dword [0x468398]
test eax, eax
je 0x40211f
push 0x400
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.00449f8b
add esp, 0xc
lea edx, [esp + 0x14]
push edx
call dword [0x468380]
lea edi, [ebx + 0xc]
lea edx, [esp + 0x14]
call fcn.00402b90
lea eax, [esi - 0x10]
mov dword [esp + 0x828], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402146
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x820]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.0044951c
mov esp, ebp
pop ebp
ret
Function at 0x4021e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x814
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push esi
push 0x470a60
xor ebx, ebx
mov eax, edi
call fcn.00402c50
push 0x800
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.00449530
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push 0x4701e0
push str.SoftwareKingsoftKSWSVC
push 0x80000002
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x800
call dword [0x46836c]
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
je 0x4022a2
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402260
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
mov eax, edi
call fcn.00402c50
mov ebx, edi
call fcn.00402fe0
mov eax, 0x22
call fcn.00403100
mov eax, 0x5c
call fcn.00403100
call fcn.00403060
call fcn.00403180
mov ecx, dword [esp + 0x814]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0044951c
add esp, 0x814
ret

Function at 0x4022c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x814
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push esi
push 0x470a60
xor ebx, ebx
mov eax, edi
call fcn.00402c50
push 0x800
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.00449530
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push str.ImagePath
push str.SYSTEMCurrentControlSetServicesKingsoft_Antivirus_WebShield_Service
push 0x80000002
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x800
call dword [0x46836c]
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
je 0x402382
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402340
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
mov eax, edi
call fcn.00402c50
mov ebx, edi
call fcn.00402fe0
mov eax, 0x22
call fcn.00403100
mov eax, 0x5c
call fcn.00403100
call fcn.00403060
call fcn.00403180
mov ecx, dword [esp + 0x814]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0044951c
add esp, 0x814
ret

Function at 0x4027a0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push esi
push 0
push str.Shell_TrayWnd
call dword [0x4683c8]
test eax, eax
je 0x402829
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], 0
call dword [0x4683fc]
mov eax, dword [esp + 8]
test eax, eax
je 0x402829
push eax
push 4
call fcn.00462e16
mov esi, eax
test esi, esi
je 0x402829
lea edx, [esp + 0xc]
push edx
push esi
mov dword [esp + 0x14], 0x1c
call fcn.00462e28
test eax, eax
je 0x402822
lea ecx, [ecx]
mov ebx, dword [esp + 8]
cmp dword [esp + 0x18], ebx
jne 0x402813
mov ecx, dword [esp + 0x14]
call fcn.00402680
lea eax, [esp + 0xc]
push eax
push esi
call fcn.00462e2e
test eax, eax
jne 0x402800
push esi
call dword [0x468074]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402830
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x61c
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x618], eax
mov eax, dword [esp + 0x620]
push ebx
mov ebx, dword [0x46839c]
push esi
mov esi, ecx
test eax, eax
je 0x4028b1
cmp word [eax], 0
je 0x4028b1
push esi
push eax
lea eax, [esp + 0x218]
push eax
call ebx
test eax, eax
je 0x4028b1
lea ecx, [esp + 0x210]
push ecx
call dword [0x468398]
test eax, eax
je 0x4028b1
lea edx, [esp + 0x210]
push edx
call dword [0x4681ec]
lea eax, [esp + 0x210]
push 0x470988
push eax
call fcn.0044b46b
add esp, 8
test eax, eax
je 0x4028b1
push eax
call fcn.0044ad6f
add esp, 4
push esi
push edi
lea ecx, [esp + 0x10]
push ecx
call ebx
test eax, eax
je 0x402907
lea edx, [esp + 8]
push edx
push str._s.tmp
lea edx, [esp + 0x420]
call fcn.00402ed0
mov esi, dword [0x468128]
add esp, 8
push 1
lea eax, [esp + 0x41c]
push eax
lea ecx, [esp + 0x10]
push ecx
call esi
push 4
push 0
lea edx, [esp + 0x10]
push edx
call esi
push 4
push 0
lea eax, [esp + 0x420]
push eax
call esi
mov ecx, dword [esp + 0x620]
pop esi
pop ebx
xor ecx, esp
call fcn.0044951c
add esp, 0x61c
ret 4

Function at 0x4029e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x82c
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x828], eax
mov ecx, dword [0x4709d0]
mov edx, dword [0x4709d4]
mov eax, dword [str.qQ]
push ebx
push esi
mov dword [esp + 0x820], ecx
movzx ecx, word [0x4709dc]
push edi
mov dword [esp + 0x828], edx
mov edx, dword [0x47022c]
mov dword [esp + 0x820], eax
mov eax, dword [0x4709d8]
mov word [esp + 0x830], cx
movzx ecx, word [0x470234]
push 0x800
mov dword [esp + 0x818], edx
mov dword [esp + 0x830], eax
mov eax, dword [0x470230]
lea edx, [esp + 0x14]
push 0
push edx
mov dword [esp + 0x824], eax
mov word [esp + 0x828], cx
call fcn.00449530
mov esi, dword [0x468334]
add esp, 0xc
push 1
push 0x10
lea eax, [esp + 0x18]
push eax
push 0
call esi
mov edi, dword [0x46839c]
lea ecx, [esp + 0x820]
push ecx
lea edx, [esp + 0x14]
push edx
mov eax, edx
push eax
call edi
mov ebx, dword [0x4681ec]
lea ecx, [esp + 0x10]
push ecx
call ebx
push 1
push 0x19
lea edx, [esp + 0x18]
push edx
push 0
call esi
lea eax, [esp + 0x820]
push eax
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
push edx
call edi
lea eax, [esp + 0x10]
push eax
call ebx
push 1
push 0x1a
lea ecx, [esp + 0x18]
push ecx
push 0
call esi
push str.MicrosoftInternet_ExplorerQuick_Launch_
lea edx, [esp + 0x14]
push edx
mov eax, edx
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
call ebx
push 1
push 0xb
lea edx, [esp + 0x18]
push edx
push 0
call esi
lea eax, [esp + 0x814]
push eax
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
push edx
call edi
lea eax, [esp + 0x10]
push eax
call fcn.00401dd0
add esp, 4
push 1
push 0x16
lea ecx, [esp + 0x18]
push ecx
push 0
call esi
lea edx, [esp + 0x814]
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, eax
push ecx
call edi
lea edx, [esp + 0x10]
push edx
call fcn.00401dd0
mov ecx, dword [esp + 0x838]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044951c
mov esp, ebp
pop ebp
ret
Function at 0x4033a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x110c
call fcn.00449f20
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x1108], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x800
lea ecx, [esp + 0x914]
push 0
push ecx
mov dword [esp + 0x18], eax
call fcn.00449530
add esp, 0xc
push 0x800
lea edx, [esp + 0x114]
push 0
push edx
call fcn.00449530
add esp, 0xc
lea eax, [esp + 0x910]
push eax
push 0x400
call dword [0x46814c]
push 0x100
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.00449530
mov ebx, dword [0x46839c]
mov edi, dword [0x468398]
add esp, 0xc
xor esi, esi
jmp 0x403430
lea edx, [esp + 0x10]
push 0x80
push edx
call fcn.004032b0
add esp, 8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x914]
push ecx
lea edx, [esp + 0x118]
push edx
call ebx
lea eax, [esp + 0x110]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x403463
mov ecx, dword [str..tmp]
mov edx, dword [0x470aec]
mov dword [eax], ecx
mov cx, word [0x470af0]
mov dword [eax + 4], edx
lea edx, [esp + 0x110]
push edx
mov word [eax + 8], cx
call edi
test eax, eax
je 0x4034b6
inc esi
cmp esi, 0xa
jl 0x403430
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1108]
xor ecx, esp
call fcn.0044951c
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x110]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4034c0
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x110]
mov ebx, eax
mov eax, dword [esp + 0xc]
push ecx
call fcn.00402c50
mov ecx, dword [esp + 0x1114]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044951c
mov esp, ebp
pop ebp
ret

Function at 0x403500
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 0x10], 0
mov edx, dword [esp + 8]
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x14]
mov dword [esi + 0xc], edi
mov edi, dword [esp + 0x1c]
mov dword [esi + 0x10], edi
mov edi, dword [esp + 0x20]
lea eax, [esi + 8]
mov dword [esi], vtable.CSimpleThread.0
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
mov dword [esi + 4], 0
mov dword [eax], 0xffffffff
mov dword [esi + 0x14], edi
je 0x40355c
test ecx, ecx
je 0x40355c
push eax
push 0
push edx
push ecx
push 0
push 0
call fcn.0044b92e
add esp, 0x18
mov dword [esi + 4], eax
pop edi
mov eax, esi
pop esi
ret 0x18
Function at 0x403a60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
push edi
push 0x1418
call fcn.004375b0
mov esi, eax
add esp, 4
test esi, esi
je 0x403ace
mov eax, dword [ebp + 8]
push 0x1000
lea edi, [esi + 4]
push 0
push edi
mov dword [esi], eax
mov dword [esi + 0x1414], 1
call fcn.00449530
mov eax, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
je 0x403ab6
push 0x800
push eax
push edi
call fcn.00449f8b
add esp, 0xc
push 0x410
lea ecx, [esi + 0x1004]
push 0
push ecx
call fcn.00449530
add esp, 0xc
jmp 0x403ad0
xor esi, esi
xor eax, eax
mov edx, 0x403b40
mov edi, vtable.CSimpleThread.0
mov dword [esp + 8], edi
mov dword [esp + 0x20], 0x403b40
mov dword [esp + 0x24], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
test edx, edx
je 0x403b25
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x403b40
push 0
push 0
call fcn.0044b92e
add esp, 0x18
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
test eax, eax
je 0x403b34
push eax
call dword [0x468074]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x403bb0
Capabilities:
Download url
Receive data

Disassembly:
sub esp, 0x414
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x410], eax
cmp word [esi], 0
mov eax, dword [esp + 0x418]
je 0x403c66
test eax, eax
je 0x403c0c
cmp word [eax], 0
je 0x403c0c
push 0
push 0
push eax
push esi
push 0
call fcn.00462de0
test eax, eax
jl 0x403c66
mov eax, 1
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.0044951c
add esp, 0x414
ret 4
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.00449530
add esp, 0xc
push 0
push 0
push 0x104
lea edx, [esp + 0xc]
push edx
push esi
push 0
call fcn.00462de6
test eax, eax
jl 0x403c66
lea eax, [esp]
push eax
call dword [0x4681ec]
mov eax, 1
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.0044951c
add esp, 0x414
ret 4
mov ecx, dword [esp + 0x410]
xor ecx, esp
xor eax, eax
call fcn.0044951c
add esp, 0x414
ret 4

Function at 0x4045b0
Capabilities:
Check if file exists

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4045e1
push esi
call dword [0x468398]
test eax, eax
je 0x4045e6
push esi
call fcn.004044e0
add esp, 4
test eax, eax
jne 0x4045e6
call fcn.004492d0
push eax
push esi
call fcn.004492e0
add esp, 8
xor eax, eax
pop esi
pop ecx
ret
mov eax, 1
pop esi
pop ecx
ret

Function at 0x4045f0
Capabilities:
Check if file exists

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x404621
push esi
call dword [0x468398]
test eax, eax
je 0x404628
push esi
call fcn.004044e0
add esp, 4
test eax, eax
jne 0x404628
call fcn.004492d0
push eax
push esi
call fcn.004492e0
add esp, 8
xor eax, eax
pop esi
pop ecx
ret 4
push esi
call dword [0x4681f4]
pop esi
pop ecx
ret 4
Function at 0x404a40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [esp + 0x218]
cmp dword [eax + 8], 5
jne 0x404af3
cmp dword [eax + 0xc], 1
jb 0x404af3
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00449530
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push str.CSDVersion
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x208
call dword [0x46836c]
test eax, eax
jne 0x404af3
lea edx, [esp + 8]
push str.Service_Pack_2
push edx
call fcn.0044a636
add esp, 8
test eax, eax
jl 0x404af3
mov eax, 1
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0044951c
add esp, 0x214
ret 4
mov ecx, dword [esp + 0x210]
xor ecx, esp
xor eax, eax
call fcn.0044951c
add esp, 0x214
ret 4

Function at 0x404b10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push esi
lea ecx, [esp + 0xc]
push ecx
push str.ProgramFilesDir
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push 0x80000002
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0x208
call dword [0x46836c]
test eax, eax
je 0x404b5a
mov edx, dword [esp]
push edx
push esi
push str.ProgramFiles
call dword [0x4682a4]
test eax, eax
je 0x404b96
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404b60
sub eax, edx
sar eax, 1
mov dword [esp], eax
cmp word [esi + eax*2 - 2], 0x5c
je 0x404b8d
mov ecx, 0x5c
mov word [esi + eax*2], cx
mov eax, dword [esp]
xor edx, edx
mov word [esi + eax*2 + 2], dx
mov eax, 1
add esp, 8
ret
xor eax, eax
add esp, 8
ret

Function at 0x404ba0
Capabilities:
Get file version info

Disassembly:
mov eax, 0x2010
call fcn.00449f20
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x200c], eax
push 0x1fff
lea eax, [esp + 0x11]
push 0
push eax
mov byte [esp + 0x18], 0
call fcn.00449530
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push esi
call fcn.00462df8
test eax, eax
je 0x404c39
cmp eax, 0x1fff
ja 0x404c39
lea edx, [esp + 0xc]
push edx
push eax
push 0
push esi
call fcn.00462dfe
test eax, eax
je 0x404c39
lea eax, [esp + 8]
push eax
lea ecx, [esp + 4]
push ecx
push 0x470d48
lea edx, [esp + 0x18]
push edx
call fcn.00462e04
test eax, eax
je 0x404c39
mov eax, dword [esp]
movzx ecx, word [eax + 0xa]
mov dword [edi], ecx
mov eax, 1
mov ecx, dword [esp + 0x200c]
xor ecx, esp
call fcn.0044951c
add esp, 0x2010
ret
mov ecx, dword [esp + 0x200c]
xor ecx, esp
xor eax, eax
call fcn.0044951c
add esp, 0x2010
ret