joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f70
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435fc9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x64]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
add eax, 0xe0
mov esi, esp
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_492
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
jmp 0x401fde
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x1c]
cmp dword [eax + ecx*4], 0
je 0x402016
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + ecx*4]
mov esi, esp
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_736
jmp 0x401fd5
push str.127.0.0.1
lea ecx, [ebp - 0x18]
push ecx
call sub.MFC42D.DLL_Ordinal_824
and eax, 0xff
test eax, eax
je 0x402048
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_684
mov eax, dword [ebp - 0x20]
jmp 0x402061
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_684
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x64
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret
Function at 0x4041f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x5c]
mov ecx, 0x17
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x10]
mov cl, byte [eax + 0x100]
mov byte [ebp - 0xc], cl
mov edx, dword [ebp + 0x10]
mov al, byte [edx + 0x101]
mov byte [ebp - 0x10], al
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], 0
jmp 0x40423d
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0xc]
jae 0x40432f
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
add ecx, 1
and ecx, 0x800000ff
jns 0x404265
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 0xc], cl
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov cl, byte [eax + edx]
mov edx, dword [ebp - 0x10]
and edx, 0xff
add ecx, edx
and ecx, 0x800000ff
jns 0x404294
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 0x10], cl
mov eax, dword [ebp - 0xc]
and eax, 0xff
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + eax]
mov byte [ebp - 8], dl
mov eax, dword [ebp - 0x10]
and eax, 0xff
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov al, byte [esi + eax]
mov byte [edx + ecx], al
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp - 0x14]
mov al, byte [ebp - 8]
mov byte [edx + ecx], al
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
mov edx, dword [ebp - 0x14]
xor eax, eax
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp - 0x14]
xor ebx, ebx
mov bl, byte [edx + ecx]
add eax, ebx
and eax, 0x800000ff
jns 0x404309
dec eax
or eax, 0xffffff00
inc eax
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x18]
and eax, 0xff
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov cl, byte [ecx]
xor cl, byte [edx + eax]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x1c]
mov byte [edx], cl
jmp 0x404234
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 0xc]
mov byte [eax + 0x100], cl
mov edx, dword [ebp + 0x10]
mov al, byte [ebp - 0x10]
mov byte [edx + 0x101], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4049c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4363f2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x64]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_492
mov dword [ebp - 4], 0
mov esi, esp
push 0x104
push 0x104
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2295
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push 0x2e
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_4403
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2295
push str..INI
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
call sub.MFC42D.DLL_Ordinal_901
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_684
push 0x104
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2295
mov esi, esp
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_684
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x64
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret 8
Function at 0x404c20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436462
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x6c]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_492
mov dword [ebp - 4], 1
mov esi, esp
push 0x104
push 0x104
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2295
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push 0x2e
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_4403
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2295
push str..INI
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
push ecx
call sub.MFC42D.DLL_Ordinal_901
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call sub.MFC42D.DLL_Ordinal_684
mov dword [ebp - 0x18], 0x190
lea ecx, [ebp - 0x1c]
call sub.MFC42D.DLL_Ordinal_492
mov byte [ebp - 4], 3
push 0x104
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2295
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x1c]
call sub.MFC42D.DLL_Ordinal_2295
push eax
push str.Error
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42D.DLL_Ordinal_4302
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call sub.MFC42D.DLL_Ordinal_485
mov eax, dword [ebp - 0x24]
or al, 1
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call sub.MFC42D.DLL_Ordinal_684
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_684
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x6c
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret 0xc

Function at 0x405b70
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4074d0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436679
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x6c]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov esi, esp
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
lea edx, [ebp - 0x14]
push edx
call sub.MFC42D.DLL_Ordinal_1087
mov ecx, dword [eax + 0xc8]
call fcn.00403a70
mov dword [ebp - 4], 0
mov esi, esp
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x2c], 0xffffffff
jne 0x407565
push 0
push 0
push str.socket___failed
call sub.MFC42D.DLL_Ordinal_1136
mov word [ebp - 0x24], 2
mov esi, esp
push 0xea60
call dword [sym.imp.WS2_32.dll_htons]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov word [ebp - 0x22], ax
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_880
mov esi, esp
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov dword [ebp - 0x20], eax
mov esi, esp
push 0x10
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.WS2_32.dll_bind]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
cmp eax, 0xffffffff
jne 0x4075da
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_684
mov eax, dword [ebp - 0x28]
jmp 0x407644
mov esi, esp
push 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.WS2_32.dll_listen]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
cmp eax, 0xffffffff
jne 0x407605
push 0
push 0
push str.listen___failed
call sub.MFC42D.DLL_Ordinal_1136
mov esi, esp
push 8
push 0x465
call sub.MFC42D.DLL_Ordinal_1098
mov edx, dword [eax + 0x20]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_684
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x6c
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret
Function at 0x40a6e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4369cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x5c]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call sub.MFC42D.DLL_Ordinal_2640
sub eax, 1
push eax
lea ecx, [ebp + 8]
call sub.MFC42D.DLL_Ordinal_2255
movsx eax, al
cmp eax, 0x5c
je 0x40a742
push 0x43d378
lea ecx, [ebp + 8]
call sub.MFC42D.DLL_Ordinal_945
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_485
mov byte [ebp - 4], 1
mov edx, 1
test edx, edx
je 0x40a7c4
push 0x43d378
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2129
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x40a7c0
mov eax, dword [ebp - 0x18]
add eax, 1
push eax
push 0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp + 8]
call sub.MFC42D.DLL_Ordinal_3555
mov byte [ebp - 4], 2
mov esi, esp
push 0
lea ecx, [ebp - 0x1c]
call sub.MFC42D.DLL_Ordinal_880
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push 0x7c
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_4525
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call sub.MFC42D.DLL_Ordinal_684
jmp 0x40a7c2
jmp 0x40a7c4
jmp 0x40a752
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_684
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42D.DLL_Ordinal_684
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x5c
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret 4
Function at 0x40aa20
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x4c]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x40aa9a
mov esi, esp
push 0
push 4
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x40aa9a
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
cmp eax, 0x2733
jne 0x40aa96
mov esi, esp
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
jmp 0x40aa3d
xor eax, eax
jmp 0x40aa9d
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0x4c
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret 4

Function at 0x40aab0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x50]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
cmp dword [ebp - 8], 0
jbe 0x40ab4d
mov esi, esp
push 0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x34]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40ab39
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
cmp eax, 0x2733
jne 0x40ab35
mov esi, esp
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
jmp 0x40aada
xor eax, eax
jmp 0x40ab68
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x40aada
cmp dword [ebp + 0x14], 0
je 0x40ab63
push 0x14d
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x28]
call sub.MFC42D.DLL_Ordinal_3597
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x50
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40ab80
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4369e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x60]
mov ecx, 0x15
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_492
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push str.HTTP_1.1_200_OK_r_nServer:_Microsoft_IIS_5.0_r_nContent_Length:__d_r_nContent_Type:_text_html_r_n_r_n
lea ecx, [ebp - 0x14]
push ecx
call sub.MFC42D.DLL_Ordinal_2168
add esp, 0xc
mov edx, 1
test edx, edx
je 0x40ac63
mov esi, esp
push 0
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2640
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2640
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2291
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x34]
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x40ac63
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
cmp eax, 0x2733
jne 0x40ac48
mov esi, esp
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
jmp 0x40abd6
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_684
mov eax, dword [ebp - 0x1c]
jmp 0x40ac7c
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_684
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x60
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret 4
Function at 0x40d710
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436dc2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x64]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_492
mov dword [ebp - 4], 0
mov esi, esp
push 0x104
push 0x104
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2295
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push 0x2e
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_4403
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2295
push str..INI
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
call sub.MFC42D.DLL_Ordinal_901
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_684
push 0x104
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2295
mov esi, esp
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_684
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x64
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret 8
Function at 0x419590
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438319
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x70]
mov ecx, 0x19
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov esi, esp
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp + 8]
call sub.MFC42D.DLL_Ordinal_880
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
cmp dword [ebp + 0xc], 0
je 0x419614
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42D.DLL_Ordinal_684
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
jmp 0x419635
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42D.DLL_Ordinal_684
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x70
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret 8
Function at 0x4211e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439242
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x64]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_492
mov dword [ebp - 4], 0
mov esi, esp
push 0x104
push 0x104
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2295
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push 0x2e
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_4403
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2295
push str..INI
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
call sub.MFC42D.DLL_Ordinal_901
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42D.DLL_Ordinal_684
push 0x104
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2295
mov esi, esp
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_684
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x64
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret 8
Function at 0x421440
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4392b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x6c]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_492
mov dword [ebp - 4], 1
mov esi, esp
push 0x104
push 0x104
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2295
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push 0x2e
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_4403
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2295
push str..INI
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
push ecx
call sub.MFC42D.DLL_Ordinal_901
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_734
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call sub.MFC42D.DLL_Ordinal_684
mov dword [ebp - 0x18], 0x190
lea ecx, [ebp - 0x1c]
call sub.MFC42D.DLL_Ordinal_492
mov byte [ebp - 4], 3
push 0x104
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_2295
mov esi, esp
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x1c]
call sub.MFC42D.DLL_Ordinal_2295
push eax
push 0x43d0e0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42D.DLL_Ordinal_4302
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call sub.MFC42D.DLL_Ordinal_485
mov eax, dword [ebp - 0x24]
or al, 1
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call sub.MFC42D.DLL_Ordinal_684
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42D.DLL_Ordinal_684
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x6c
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret 0xc