joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4046b0
Capabilities:
Access peb ldr_data
Create process on windows
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4514a8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x470ee4]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x38
xor esi, esi
lea eax, [esp + 0x18]
push esi
push eax
call fcn.0043bc20
push str.upgrade.exe
lea ecx, [esp + 0x1c]
push 0x4723a8
push ecx
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x2c], 0x40
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.00401e20
add esp, 0x18
mov edx, dword [esp + 0xc]
push 0x457880
lea ecx, [esp + 0xc]
mov dword [esp + 0x58], esi
mov dword [esp + 0x24], edx
call fcn.00403720
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 5
mov dword [esp + 0x34], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x4047b7
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40477e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x54], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4047a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x50
ret
push esi
call fcn.0043bf2c
int3
Function at 0x409280
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x451ac8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x470ee4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
lea esi, [ecx + 0xe0]
push esi
push 0x415
call fcn.0041d8b0
mov ecx, eax
call fcn.0041baa9
call fcn.00414eb4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4092d4
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0xc]
push str.http:__www.baidu.com_baidu_tnhnyj888_pgword
push edx
mov dword [esp + 0x20], 0
call fcn.00401d40
mov esi, dword [esp + 0x14]
add esp, 0xc
push 5
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40933d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x409ba0
Capabilities:
Query or enumerate registry value

Disassembly:
push edi
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x409bb3
push 0x80004005
call fcn.00401000
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test esi, esi
je 0x409c1a
mov ecx, dword [edi]
test ecx, ecx
jbe 0x409c17
mov edx, dword [esp + 0x14]
test edx, edx
jbe 0x409c12
cmp edx, 2
jbe 0x409c0b
cmp edx, 7
jne 0x409c12
cmp ecx, 1
jb 0x409c12
cmp byte [ecx + esi - 1], 0
jne 0x409c12
cmp ecx, 1
jbe 0x409c1a
cmp byte [ecx + esi - 2], 0
jmp 0x409c10
cmp byte [ecx + esi - 1], 0
je 0x409c1a
mov eax, 0xd
mov byte [esi], 0
pop esi
pop edi
ret 0xc
Function at 0x40ac90
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push str.uxtheme.dll
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x14], eax
je 0x40acf6
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsThemeActive
push eax
call edi
mov dword [esi], eax
mov eax, dword [esi + 0x14]
push str.OpenThemeData
push eax
call edi
mov ecx, dword [esi + 0x14]
push str.CloseThemeData
push ecx
mov dword [esi + 4], eax
call edi
mov edx, dword [esi + 0x14]
push str.GetThemeBackgroundContentRect
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
push str.DrawThemeBackground
push eax
call edi
mov dword [esi + 0x10], eax
pop edi
mov eax, esi
pop esi
ret

Function at 0x40d730
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x452340
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x470ee4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40d847
cmp dword [esp + 0x24], eax
mov edi, dword [esp + 0xc]
mov dword [esp + 0x10], edi
je 0x40d818
push str.hjzg.exe_zhj5
lea edx, [esp + 0x28]
push 0x4723a8
push edx
call fcn.00401e20
add esp, 0xc
mov esi, dword [eax]
xor eax, eax
test esi, esi
setne al
mov byte [esp + 0x1c], 1
test eax, eax
jne 0x40d7d5
push 0x80004005
call fcn.00401000
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
push esi
push 1
push 0
push str.Hjzg
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d83c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40d83c
push 0x457880
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
push 0x457880
push 1
push 0
push str.Hjzg
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test edi, edi
je 0x40d847
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4
Function at 0x40e860
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0x20]
push 0x476
push eax
call ebx
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40e8d8
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40e8d8
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
mov ecx, esi
mov dword [esp + 0x14], 0xffffff37
call fcn.0041da18
lea edx, [esp + 0xc]
push edx
push eax
push 0x4e
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0
call ebx
test eax, eax
je 0x40e8cf
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret
Function at 0x412110
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x452980
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x470ee4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x45aad8
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
cmp dword [0x472398], 0
mov edi, eax
jne 0x41216b
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 9
push edi
call esi
push 1
push edi
call esi
push 5
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [esp + 0x38]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
mov ebp, dword [esp + 0x3c]
jle 0x412250
lea ecx, [esp + 0x14]
call fcn.00425cb1
push str.temptemp.dat
lea ecx, [esp + 0x3c]
push 0x4723a8
push ecx
mov dword [esp + 0x3c], 0
call fcn.00401e20
add esp, 0xc
mov eax, dword [eax]
push 0
push 0x1001
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 1
call fcn.00425cc7
test eax, eax
mov eax, dword [esp + 0x38]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x30], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4121e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41222a
cmp ebp, 2
jg 0x412200
push 0
push 0
push 0x45aa60
call fcn.004169ee
cmp ebp, 3
jne 0x412215
push 0
push 0
push 0x45a9f0
call fcn.004169ee
jmp 0x41223f
cmp ebp, 4
jne 0x41223f
push 0
push 0
push 0x45a980
call fcn.004169ee
jmp 0x41223f
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x18]
call fcn.00425e9b
lea ecx, [esp + 0x14]
call fcn.00426071
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.004260ad
push esi
mov ecx, 0x4723bc
call fcn.00401c80
mov ecx, dword [0x4723bc]
push ebp
push ecx
push 0x402
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
call fcn.0043bf2c
int3
Function at 0x412590
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x452ab8
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x470ee4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x24]
xor ebx, ebx
push ebx
push 0x457880
call fcn.00401a30
mov eax, dword [esp + 0x28]
mov dword [eax], ebx
call fcn.00414eb4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4125e7
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
mov dword [esp + 0x20], ebx
call fcn.00412490
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 1
call fcn.00401c80
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
or ebp, 0xffffffff
mov byte [esp + 0x1c], bl
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41263c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
add esi, 0xa4
cmp eax, ebx
jne 0x412650
xor ecx, ecx
jmp 0x412660
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
cmp dl, bl
jne 0x412655
sub ecx, edi
push ecx
push eax
mov ecx, esi
call fcn.00401a30
mov edi, dword [esp + 0x24]
cmp edi, ebx
je 0x412712
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jl 0x412712
push edi
push eax
call fcn.0043c125
add esp, 8
cmp eax, ebx
je 0x412712
sub eax, dword [esi]
cmp eax, ebp
je 0x412712
mov ecx, dword [edi - 0xc]
lea ecx, [ecx + eax + 1]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call fcn.00401ae0
push eax
mov ecx, esi
mov byte [esp + 0x20], 2
call fcn.00401c80
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x1c], bl
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4126dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
call fcn.00411e30
mov ecx, eax
call fcn.00411a80
mov ecx, dword [esi]
cmp dword [ecx - 0xc], ebx
jg 0x412708
lea eax, [edi - 0x10]
mov dword [0x472398], ebx
mov dword [esp + 0x1c], ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
jmp 0x412721
mov dword [0x472398], 1
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
mov dword [esp + 0x1c], ebp
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x41272f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x41baa9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41bae2
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00414de3
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0040f570
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x41d80e
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 0x41d851
call fcn.00414d02
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41d851
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41d86c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041d3c5
test ebx, ebx
mov esi, eax
je 0x41d86a
test edi, edi
je 0x41d86a
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x420e12
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 0x420e28
mov edi, dword [esi + 0xc]
jmp 0x420e68
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x420e41
call fcn.00416c66
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x420e56
call fcn.00416c66
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x420e68
call fcn.00416c66
call fcn.00414d02
cmp dword [eax + 0x3c], 0
je 0x420e7d
push edi
mov ecx, ebx
call fcn.0041fe36
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00420d2c
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x420e9b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x420ea7
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 0x42282f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00414d02
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x422866
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00422451
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x42292a
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_recv]
ret 0xc

Function at 0x422942
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_send]
ret 0xc

Function at 0x4229e7
Capabilities:
Connect socket

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x425de5
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x425dee
xor eax, eax
jmp 0x425e57
cmp dword [esp + 8], 0
jne 0x425dfa
call fcn.00413f76
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00440759
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x425e35
push dword [esi + 0x10]
call fcn.0044049e
test eax, eax
pop ecx
jne 0x425e35
mov esi, dword [esi + 0xc]
call fcn.0043dfd5
push esi
push dword [eax]
push 1
call fcn.0042a53d
push dword [esi + 0x10]
call fcn.004404cd
test eax, eax
pop ecx
je 0x425e54
push dword [esi + 0x10]
call fcn.004403f2
push eax
call fcn.00406ad0
pop ecx
pop ecx
jmp 0x425e23
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x426b46
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x426b6f
call fcn.00414d02
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x426b92
push eax
push dword [esi + 4]
call fcn.00426ad1
push esi
push eax
mov ecx, 0x474dd8
call fcn.00426787
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4273bd
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x454149
call fcn.0043dddb
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0042737f
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00401550
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esi + 4], eax
jne 0x427423
push eax
push dword [esi + 8]
call fcn.00426ad1
push dword [esi + 0xc]
mov ecx, 0x474dd8
push eax
call fcn.00426787
mov eax, esi
call fcn.0043deb3
ret 0x18
Function at 0x436298
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 0x4362de
call fcn.00414d02
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4362de
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x436321
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 0x43630a
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 0x43630a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x43631e
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 0x43bb93
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x470ee4]
jne 0x43bb9d
repz ret
jmp fcn.00445efc

Function at 0x43c2d8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x43c305
call fcn.0043dfd5
mov dword [eax], esi
call fcn.0043dfc2
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00442ffe
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x43c2e1
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43c334
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043dfe8
pop ecx
call fcn.0043dfc2
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x43c35b
test al, 1
je 0x43c35b
test byte [esp + 0xc], 2
je 0x43c35b
call fcn.0043dfd5
mov dword [eax], 5
call fcn.0043dfc2
mov dword [eax], 0xd
jmp 0x43c32b
xor eax, eax
pop esi
ret
Function at 0x44d9e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00442900
xor ebx, ebx
cmp dword [0x475bf4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x44dab5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x44da20
xor eax, eax
jmp 0x44db79
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4619b0
push edi
call esi
cmp eax, ebx
je 0x44da19
push eax
call fcn.0044289d
mov dword [esp], 0x4619a0
push edi
mov dword [0x475bf4], eax
call esi
push eax
call fcn.0044289d
mov dword [esp], 0x46198c
push edi
mov dword [0x475bf8], eax
call esi
push eax
call fcn.0044289d
mov dword [0x475bfc], eax
lea eax, [ebp - 8]
push eax
call fcn.0043bd59
test eax, eax
pop ecx
pop ecx
je 0x44da83
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00442f02
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x44dab5
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0044289d
cmp eax, ebx
pop ecx
mov dword [0x475c04], eax
je 0x44dab5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044289d
pop ecx
mov dword [0x475c00], eax
mov eax, dword [0x475c00]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x44db2e
cmp dword [0x475c04], esi
je 0x44db2e
push eax
call fcn.00442909
pop ecx
call eax
cmp eax, ebx
je 0x44dafb
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x475c04]
call fcn.00442909
pop ecx
call eax
test eax, eax
je 0x44dafb
test byte [ebp - 0x18], 1
jne 0x44db2e
lea eax, [ebp - 0xc]
push eax
call fcn.0043bd90
test eax, eax
pop ecx
je 0x44db16
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00442f02
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x44db25
or dword [ebp + 0x10], 0x200000
jmp 0x44db5f
or dword [ebp + 0x10], 0x40000
jmp 0x44db5f
mov eax, dword [0x475bf8]
cmp eax, esi
je 0x44db5f
push eax
call fcn.00442909
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44db5f
mov eax, dword [0x475bfc]
cmp eax, esi
je 0x44db5f
push dword [ebp - 4]
push eax
call fcn.00442909
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x475bf4]
call fcn.00442909
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x450c84
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x470ee4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00450c19
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.0043bc20
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 0x450cd3
cmp dword [ebp - 0x1c], 5
jb 0x450ceb
jmp 0x450ce7
cmp dword [ebp - 0x10], 1
jne 0x450ceb
cmp dword [ebp - 0x1c], 4
ja 0x450ce7
jne 0x450ceb
cmp dword [ebp - 0x18], 0
jbe 0x450ceb
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x462284
call fcn.00450aed
test eax, eax
jge 0x450d0c
mov byte [0x472540], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043bb93
add ebp, 0x78
leave
ret