joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4620f0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00462240
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x462110
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x4620f1
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00462240
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x462110
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x462140
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x462197
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x4621ad
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.004621d0
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x4621d0
Capabilities:
Connect socket

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

Function at 0x462260
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4622a9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x462720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x485840
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.004622d0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00462350
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00462350
lea ecx, [esi + 0xc]
call fcn.00476cc3
lea ecx, [esi + 0x10]
call fcn.00476cc3
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00464b80
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00464b80
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00464b80
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00476d38
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00476d38
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4633c8
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x485a68
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 0x4633d8
call fcn.004638f0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x4634bb
cmp byte [edi], 0
je 0x4634bb
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x4633fd
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.004620f0
test eax, eax
jne 0x46341d
push 0x4e77c4
lea ecx, [esi + 0x38]
call fcn.00476e75
jmp 0x4634bb
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.00462140
test eax, eax
jne 0x46344c
mov ecx, esi
call fcn.00462240
push edi
add esi, 0x38
push 0x4e77a0
push esi
call fcn.00474c97
add esp, 0xc
jmp 0x4634bb
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.00464170
test eax, eax
je 0x4634b4
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.00463590
test eax, eax
jne 0x4634d0
push edi
lea eax, [esi + 0x38]
push 0x4e777c
push eax
call fcn.00474c97
add esp, 0xc
mov ecx, esi
call fcn.004638f0
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 0x463578
mov ecx, dword [0x4e7a34]
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.00474c97
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.004621f0
test eax, eax
jne 0x46353a
push 0x4e7760
lea ecx, [esi + 0x38]
call fcn.00476e75
jmp 0x46354a
push 0xfa
mov ecx, esi
call fcn.00464170
test eax, eax
jne 0x463567
mov ecx, esi
call fcn.004638f0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00476d38
jmp 0x4634bb
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00476d38
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x4790dc
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x479114
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.00477193
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047716b
jmp 0x479120
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47a7ca
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 0x47a80c
call fcn.0048038e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47a80c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47a803
xor eax, eax
jmp 0x47a814
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047a81a
pop edi
pop esi
pop ebx
ret 4

Function at 0x4808be
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 0x4808ec
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48090a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00480824
jmp 0x48090a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48090a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00480824
test edi, edi
mov eax, edi
jne 0x4808f4
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403ab0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x18
push esi
mov esi, ecx
push str.211.99.78.134
mov byte [esp + 8], 5
mov byte [esp + 9], 1
mov byte [esp + 0xa], 0
mov byte [esp + 0xb], 1
call sub.WSOCK32.dll_inet_addr
push 0x7d9
mov dword [esp + 0xc], eax
call sub.WSOCK32.dll_htons
mov ecx, dword [esi + 0x60]
mov word [esp + 0xc], ax
push 0
lea edx, [esp + 8]
mov eax, dword [ecx]
push 0xa
push edx
call dword [eax + 0x18]
mov ecx, dword [esi + 0x60]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov word [esp + 0x18], ax
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x14]
push 0xa
push eax
call dword [edx + 0x14]
movsx eax, byte [esp + 0x11]
sub eax, 0
pop esi
je 0x403b49
dec eax
push 0
push 0
je 0x403b39
push str.other_SOCKS_server_error
call fcn.00420911
xor eax, eax
add esp, 0x18
ret
push str.general_SOCKS_server_failure
call fcn.00420911
xor eax, eax
add esp, 0x18
ret
mov eax, 1
add esp, 0x18
ret

Function at 0x403c43
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esi + 0x5c]
lea ecx, [esp + 8]
push eax
push 0x64
push ecx
push str.NOFIND
push str.m_IPAddress1
push str.PROXYSVR
call edi
lea edx, [esp + 8]
lea ecx, [esi + 0x6c]
push edx
call fcn.0041d08d
mov eax, dword [esi + 0x5c]
lea ecx, [esp + 8]
push eax
push 0x64
push ecx
push str.NOFIND
push str.ProxyPort
push str.PROXYSVR
call edi
lea edx, [esp + 8]
push edx
call fcn.0040be79
add esp, 4
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x5c]
lea ecx, [esp + 8]
push eax
push 0x64
push ecx
push str.NOFIND
push str.ProxyPW
push str.PROXYSVR
call edi
lea edx, [esp + 8]
lea ecx, [esi + 0x78]
push edx
call fcn.0041d08d
mov eax, dword [esi + 0x5c]
lea ecx, [esp + 8]
push eax
push 0x64
push ecx
push str.NOFIND
push str.ProxyUser
push str.PROXYSVR
call edi
lea edx, [esp + 8]
lea ecx, [esi + 0x7c]
push edx
call fcn.0041d08d
pop edi
pop esi
add esp, 0x64
ret
Function at 0x410e41
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x435b48
cmp edx, dword [eax]
je 0x410e63
add eax, 8
inc ecx
cmp eax, 0x435bd8
jl 0x410e54
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x435b48]
jne 0x410f91
mov eax, dword [0x43870c]
cmp eax, 1
je 0x410f6b
test eax, eax
jne 0x410e94
cmp dword [0x435440], 1
je 0x410f6b
cmp edx, 0xfc
je 0x410f91
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x410ecb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00411980
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004114d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x410f0e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004114d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42c9e4
push edi
call fcn.004135b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00411980
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00411990
lea eax, [ebp - 0xa0]
push 0x42c9c4
push eax
call fcn.00411990
push dword [esi + 0x435b4c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00411990
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041351c
add esp, 0x2c
pop edi
jmp 0x410f91
lea eax, [ebp + 8]
lea esi, [esi + 0x435b4c]
push 0
push eax
push dword [esi]
call fcn.004114d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x417dc0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040c950
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x417e8b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x417e8b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x417e3e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x417e49
or bh, 8
and edi, 0x8000000
je 0x417e64
mov eax, dword [0x439ebc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x417e8b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41828b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4182af
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4182ca
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x41bdab
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 0x41bded
call fcn.00422ec5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41bded
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41bde4
xor eax, eax
jmp 0x41bdf5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041bdfb
pop edi
pop esi
pop ebx
ret 4

Function at 0x421641
Capabilities:
Create http request

Disassembly:
mov eax, 0x427438
call fcn.0040c158
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
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 0x421679
call fcn.00422ec5
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 0x42169e
push eax
push dword [esi + 4]
call fcn.0042232a
jmp 0x4216aa
push esi
push eax
mov ecx, 0x438090
call fcn.004216bb
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x42181b
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x427473
call fcn.0040c158
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0041ee4b
mov eax, dword [0x43462c]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.CInternetFile.0
mov ecx, 0x438090
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.004216bb
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.0041d08d
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.0040408c
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0041d03d
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.0041cf04
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x4260a9
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 sub.WSOCK32.dll_recv
ret 0xc

Function at 0x4260c0
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 sub.WSOCK32.dll_send
ret 0xc
Function at 0x401250
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [0x427364]
mov esi, ecx
push 0
push dword [esi + 4]
lea eax, [esi + 0xc]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x421898
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x401295
pop esi
pop ebp
ret 4
push 0
push dword [0x427364]
push 0
push eax
push 0x14
push 0x1f7
push 0x3a
push 0
push 0x50000010
push 0x421898
push str.Static
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, esi
call fcn.00401190
mov ecx, esi
call fcn.00401120
mov ecx, esi
call fcn.00401550
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
pop ebp
ret 4

Function at 0x401690
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x4017f2
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4017f2
mov eax, dword [ebp + 0x10]
cmp eax, 1
jb 0x4017f2
push esi
xor esi, esi
test eax, eax
je 0x4017e7
dec eax
push ebx
mov bl, byte [ebp + 0xa]
shr eax, 2
inc eax
push edi
lea edi, [ecx + 2]
mov dword [ebp + 0xc], eax
mov dl, byte [edi - 2]
cmp dl, 0x2b
jne 0x4016dc
mov dl, 0x3e
jmp 0x40170a
cmp dl, 0x2f
jne 0x4016e5
mov dl, 0x3f
jmp 0x40170a
cmp dl, 0x39
jg 0x4016ef
add dl, 4
jmp 0x40170a
cmp dl, 0x3d
je 0x401708
cmp dl, 0x5a
jg 0x4016fe
sub dl, 0x41
jmp 0x40170a
cmp dl, 0x7a
jg 0x401708
sub dl, 0x47
jmp 0x40170a
mov dl, 0x40
mov cl, byte [edi - 1]
cmp cl, 0x2b
jne 0x401716
mov cl, 0x3e
jmp 0x401744
cmp cl, 0x2f
jne 0x40171f
mov cl, 0x3f
jmp 0x401744
cmp cl, 0x39
jg 0x401729
add cl, 4
jmp 0x401744
cmp cl, 0x3d
je 0x401742
cmp cl, 0x5a
jg 0x401738
sub cl, 0x41
jmp 0x401744
cmp cl, 0x7a
jg 0x401742
sub cl, 0x47
jmp 0x401744
mov cl, 0x40
mov al, cl
shl dl, 2
shr al, 4
add al, dl
mov edx, dword [ebp + 8]
mov byte [esi + edx], al
inc esi
mov al, byte [edi]
cmp al, 0x3d
je 0x40179d
mov bl, al
cmp bl, 0x2b
jne 0x401766
mov bl, 0x3e
jmp 0x40178f
cmp bl, 0x2f
jne 0x40176f
mov bl, 0x3f
jmp 0x40178f
cmp bl, 0x39
jg 0x401779
add bl, 4
jmp 0x40178f
cmp bl, 0x5a
jg 0x401783
sub bl, 0x41
jmp 0x40178f
cmp bl, 0x7a
jg 0x40178d
sub bl, 0x47
jmp 0x40178f
mov bl, 0x40
mov al, bl
shl cl, 4
shr al, 2
add al, cl
mov byte [esi + edx], al
inc esi
mov al, byte [edi + 1]
cmp al, 0x3d
je 0x4017d9
cmp al, 0x2b
jne 0x4017ac
mov al, 0x3e
jmp 0x4017ce
cmp al, 0x2f
jne 0x4017b4
mov al, 0x3f
jmp 0x4017ce
cmp al, 0x39
jg 0x4017bc
add al, 4
jmp 0x4017ce
cmp al, 0x5a
jg 0x4017c4
sub al, 0x41
jmp 0x4017ce
cmp al, 0x7a
jg 0x4017cc
sub al, 0x47
jmp 0x4017ce
mov al, 0x40
mov cl, bl
shl cl, 6
add cl, al
mov byte [esi + edx], cl
inc esi
add edi, 4
dec dword [ebp + 0xc]
jne 0x4016d0
pop edi
pop ebx
mov byte [esi + edx], 0
mov eax, esi
pop esi
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x401d40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0xffffffffffffffeb
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x401da1
mov ecx, dword [eax + 0x1b4]
mov esi, dword [eax + 0x1b8]
mov eax, dword [eax + 0x1bc]
mov dword [ebp - 4], eax
test ecx, ecx
je 0x401d7f
push 0
push ecx
call ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x401d88
push 0
push eax
call ebx
test esi, esi
je 0x401da1
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x4219a8
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [edi]
test eax, eax
jne 0x401dbe
mov ecx, edi
call fcn.00401ab0
push 5
mov ecx, edi
call fcn.00401a40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
push eax
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401dd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x425280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x30
lea eax, [ebp - 0x34]
mov edi, ecx
push 0
push eax
call fcn.00413a40
mov eax, dword [0x427364]
add esp, 0xc
mov dword [ebp - 0x34], 0x30
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 0x401c90
push 5
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0x7f00
lea esi, [edi + 0x10]
mov dword [ebp - 0x14], eax
push 0
mov dword [ebp - 0xc], esi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [0x427364]
push 0
push dword [edi + 4]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x421898
push esi
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi], eax
test eax, eax
jne 0x401e83
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fbae
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.00401bc0
mov ecx, edi
call fcn.004018d0
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0040fbae
mov esp, ebp
pop ebp
ret