joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440940
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x440973
push esi
call fcn.00443a30
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44096c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4409f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4409e2
mov eax, dword [esi + 8]
test eax, eax
je 0x440997
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4409de
cmp eax, 2
je 0x4409e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44098a
cmp eax, 3
je 0x4409bd
cmp eax, 1
jne 0x44098a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44098a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44098a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00440a20
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x440a08
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00440a20
add esp, 4
pop esi
ret

Function at 0x44c530
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x44c5d3
test eax, eax
jbe 0x44c5d3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44c5d3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x44c57e
xor esi, esi
jmp 0x44c584
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44c5af
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0044e4d0
add esi, eax
push esi
mov ebx, esi
call fcn.0044e4d0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44c590
pop ebp
test edi, edi
pop edi
jne 0x44c5d3
test ebx, ebx
je 0x44c5d3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00450950
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44c715
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44c82d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44c82d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004610ba
mov esi, eax
test esi, esi
je 0x44c82d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44c82d
mov ecx, esi
call fcn.0044c680
cmp edi, eax
jge 0x44c82d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44c7b3
mov dword [esp + 0x34], 1
jmp 0x44c80e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44c82d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044bc80
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x461a5d
Capabilities:
Get graphical window text

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

Function at 0x463152
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 0x463194
call fcn.00468c07
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x463194
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46318b
xor eax, eax
jmp 0x46319c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004631a2
pop edi
pop esi
pop ebx
ret 4
Function at 0x469137
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 0x469165
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x469183
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046909d
jmp 0x469183
mov eax, dword [esi + 0x14]
test eax, eax
je 0x469183
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046909d
test edi, edi
mov eax, edi
jne 0x46916d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401ec0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x42a044]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x138], 0x114
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x134], 5
jne 0x401f62
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x140], ecx
cmp dword [ebp - 0x140], 0
je 0x401f1c
cmp dword [ebp - 0x140], 1
je 0x401f2c
cmp dword [ebp - 0x140], 2
je 0x401f49
jmp 0x401f59
mov dword [ebp - 0xc], 0xa0
mov dword [ebp - 0x10], 0xa4
jmp 0x401f60
push 0x427ca4
call fcn.00411509
add esp, 4
mov dword [ebp - 0xc], 0x88
mov dword [ebp - 0x10], 0x8c
jmp 0x401f60
mov dword [ebp - 0xc], 0x8a
mov dword [ebp - 0x10], 0x8e
jmp 0x401f60
xor eax, eax
jmp 0x4020aa
jmp 0x401f94
cmp dword [ebp - 0x134], 4
jne 0x401f8d
cmp dword [ebp - 0x130], 0
jne 0x401f8d
cmp dword [ebp - 0x128], 2
jne 0x401f8d
mov dword [ebp - 0xc], 0x98
mov dword [ebp - 0x10], 0x9c
jmp 0x401f94
xor eax, eax
jmp 0x4020aa
mov dword [ebp - 8], 0xffffffff
mov edx, dword [ebp + 8]
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x401fbc
xor eax, eax
jmp 0x4020aa
mov eax, dword [ebp + 8]
push eax
call fcn.00401d00
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x401fd8
xor eax, eax
jmp 0x4020aa
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ecx
push 0x427cac
call fcn.00411509
add esp, 8
mov edx, dword [ebp - 4]
push edx
push 0x427cbc
call fcn.00411509
add esp, 8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
push ecx
call fcn.004112ac
add esp, 4
push 0x427ccc
call fcn.00411509
add esp, 4
push 4
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
push eax
call fcn.00401e30
add esp, 0xc
test eax, eax
je 0x40209e
push 4
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x10]
push edx
call fcn.00401e30
add esp, 0xc
test eax, eax
je 0x40209c
push 4
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
push ecx
call fcn.00401e70
add esp, 0xc
test eax, eax
je 0x40209c
push 4
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00401e70
add esp, 0xc
test eax, eax
je 0x40209c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x4020aa
jmp 0x4020aa
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00410ac5
mov esp, ebp
pop ebp
ret
Function at 0x4020c0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4020f5
push 1
push 0x427ce0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401bb0
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x402105
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4038b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x42a044]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
xor eax, eax
mov word [ebp - 0x2c], ax
xor ecx, ecx
mov dword [ebp - 0x2a], ecx
mov dword [ebp - 0x26], ecx
mov dword [ebp - 0x22], ecx
mov dword [ebp - 0x1e], ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
mov word [ebp - 0xe], cx
push 0x68
push 0
lea edx, [ebp - 0x98]
push edx
call fcn.00417b10
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
push 0x20
lea ecx, [ebp - 0x98]
push ecx
call fcn.00410b00
add esp, 0xc
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x34], edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00401070
add esp, 8
lea edx, [ebp - 0x2c]
push edx
push 0x10
lea eax, [ebp - 0x56]
push eax
call fcn.00410b00
add esp, 0xc
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa0], 0
jmp 0x403969
mov edx, dword [ebp - 0xa0]
add edx, 1
mov dword [ebp - 0xa0], edx
cmp dword [ebp - 0xa0], 0x68
jae 0x403993
mov eax, dword [ebp - 0x9c]
add eax, dword [ebp - 0xa0]
movzx ecx, byte [eax]
not ecx
mov edx, dword [ebp - 0x9c]
add edx, dword [ebp - 0xa0]
mov byte [edx], cl
jmp 0x40395a
push 0x427914
mov eax, dword [ebp + 8]
push eax
call fcn.00410c35
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4039b1
jmp 0x4039cf
mov ecx, dword [ebp - 8]
push ecx
push 0x68
push 1
mov edx, dword [ebp - 0x9c]
push edx
call fcn.00411db8
add esp, 0x10
mov dword [ebp - 4], 1
cmp dword [ebp - 8], 0
je 0x4039e1
mov eax, dword [ebp - 8]
push eax
call fcn.00410d16
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00410ac5
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x403a58
mov edx, dword [ebp + 8]
push edx
call fcn.004018e0
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x10]
jne 0x403a58
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], 1
cmp dword [ebp - 0xc], 0
jne 0x403ac6
push 0x200000
call fcn.00411306
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x200000
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00402130
add esp, 0x10
test eax, eax
je 0x403aba
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00408f60
add esp, 0xc
cmp eax, 1
jne 0x403ab3
mov dword [ebp - 4], 1
jmp 0x403aba
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x30]
push edx
call fcn.0041147b
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x403d30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x42a044]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x620], ax
push 0x206
push 0
lea ecx, [ebp - 0x61e]
push ecx
call fcn.00417b10
add esp, 0xc
xor edx, edx
mov word [ebp - 0x418], dx
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.00417b10
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.00417b10
add esp, 0xc
xor eax, eax
mov word [ebp - 0x640], ax
xor ecx, ecx
mov dword [ebp - 0x63e], ecx
mov dword [ebp - 0x63a], ecx
mov dword [ebp - 0x636], ecx
mov dword [ebp - 0x632], ecx
mov dword [ebp - 0x62e], ecx
mov dword [ebp - 0x62a], ecx
mov dword [ebp - 0x626], ecx
mov word [ebp - 0x622], cx
lea edx, [ebp - 0x418]
push edx
call fcn.00401000
add esp, 4
push 0x4279e4
push 0x104
lea eax, [ebp - 0x418]
push eax
call fcn.004115ce
add esp, 0xc
mov ecx, dword [0x42e0ca]
push ecx
mov edx, dword [0x42e0c6]
push edx
push 0x42e0ce
lea eax, [ebp - 0x418]
push eax
call fcn.004038b0
add esp, 0x10
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0
lea ecx, [ebp - 0x620]
push ecx
call fcn.00401000
add esp, 4
push 0x4279f8
push 0x104
lea edx, [ebp - 0x620]
push edx
call fcn.004115ce
add esp, 0xc
lea eax, [ebp - 0x620]
push eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.00410b00
add esp, 0xc
push 0x4279fc
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.004115ce
add esp, 0xc
push 0x42e10e
push 0x104
lea eax, [ebp - 0x620]
push eax
call fcn.004115ce
add esp, 0xc
push 0x42e10e
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.004115ce
add esp, 0xc
push 0x427a00
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.004115ce
add esp, 0xc
push 0x427a04
push 0x104
lea eax, [ebp - 0x620]
push eax
call fcn.004115ce
add esp, 0xc
push 0x427a10
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.004115ce
add esp, 0xc
lea edx, [ebp - 0x644]
push edx
push 0x427a1c
push 0x83
call fcn.00405990
add esp, 0xc
mov dword [ebp - 0x648], eax
cmp dword [ebp - 0x648], 0
jne 0x403f45
jmp 0x403fdf
mov eax, dword [ebp - 0x644]
push eax
mov ecx, dword [ebp - 0x648]
push ecx
lea edx, [ebp - 0x620]
push edx
call fcn.00403a00
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
push 0x427a34
lea eax, [ebp - 0x620]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x644]
push ecx
mov edx, dword [ebp - 0x648]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.00403a00
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
push 0x427a38
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x648], 0
je 0x404003
mov edx, dword [ebp - 0x648]
mov dword [ebp - 0x64c], edx
mov eax, dword [ebp - 0x64c]
push eax
call fcn.004112ac
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410ac5
mov esp, ebp
pop ebp
ret
Function at 0x404cf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
mov eax, dword [0x42a044]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
movzx eax, byte [0x42dfcb]
cmp eax, 2
jne 0x404d16
jmp 0x404e65
xor ecx, ecx
mov word [ebp - 0x388], cx
push 0x206
push 0
lea edx, [ebp - 0x386]
push edx
call fcn.00417b10
add esp, 0xc
mov dword [ebp - 0x508], 0
mov dword [ebp - 0x50c], 0
mov dword [ebp - 0x504], 0xffffffff
mov dword [ebp - 0x390], 0
mov dword [ebp - 0x38c], 0
mov dword [ebp - 0x17c], 0
push 0x427b14
call fcn.00409080
add esp, 4
push 0x427b30
call fcn.00409080
add esp, 4
push 0x427b5c
call fcn.00409080
add esp, 4
push 0x104
lea eax, [ebp - 0x388]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx ecx, word [ebp - 0x388]
sub ecx, 0x41
mov dword [ebp - 0x508], ecx
lea edx, [ebp - 0x50c]
push edx
mov eax, dword [ebp - 0x508]
push eax
call fcn.00405700
add esp, 8
mov dword [ebp - 0x390], eax
mov ecx, dword [ebp - 0x50c]
push ecx
call fcn.00405590
add esp, 4
mov dword [ebp - 0x504], eax
cmp dword [ebp - 0x504], 0xffffffff
jne 0x404df8
jmp 0x404e65
lea edx, [ebp - 0x178]
push edx
call fcn.00405c20
add esp, 4
test eax, eax
jne 0x404e0f
jmp 0x404e65
mov eax, dword [ebp - 0x504]
push eax
call fcn.00404f20
add esp, 4
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], ecx
mov ecx, 0x5b
lea esi, [ebp - 0x178]
lea edi, [ebp - 0x500]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x500], edx
push 0
push 0x1e
lea eax, [ebp - 0x500]
push eax
mov ecx, dword [ebp - 0x504]
push ecx
call fcn.00405e60
add esp, 0x10
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410ac5
mov esp, ebp
pop ebp
ret

Function at 0x405170
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0xffffffff
jne 0x4051a3
jmp 0x4051f4
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
push 0
push 0x200
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00415df0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
shl eax, 9
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x408260
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x408294
jmp 0x408350
mov dword [ebp - 0x18], 0
jmp 0x4082a6
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp + 0x10]
jge 0x4082c3
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
not ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x18]
mov byte [edx], cl
jmp 0x40829d
mov eax, dword [ebp + 0x10]
add eax, 7
push eax
call fcn.00410ee1
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
movzx edx, word [ebp + 0x10]
add edx, 5
mov eax, dword [ebp - 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov edx, dword [0x42b060]
mov dword [ecx], edx
mov al, byte [0x42b064]
mov byte [ecx + 4], al
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
add eax, 7
push eax
call fcn.004183a0
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add ecx, 7
mov dword [ebp + 0x10], ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x408345
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
je 0x408349
jmp 0x408350
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0xc], 0
je 0x408368
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.004112ac
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x410ac5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a044]
jne 0x410acf
repz ret
jmp fcn.00412994

Function at 0x41c7a3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041565d
and dword [ebp - 4], 0
cmp dword [0x42c704], 0
mov ebx, eax
jne 0x41c854
push 0x4234f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41c905
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4234e4
push edi
call esi
test eax, eax
je 0x41c905
push eax
call fcn.004155eb
mov dword [esp], 0x4234d4
push edi
mov dword [0x42c704], eax
call esi
push eax
call fcn.004155eb
mov dword [esp], 0x4234c0
push edi
mov dword [0x42c708], eax
call esi
push eax
call fcn.004155eb
mov dword [esp], 0x4234a4
push edi
mov dword [0x42c70c], eax
call esi
push eax
call fcn.004155eb
pop ecx
mov dword [0x42c714], eax
test eax, eax
je 0x41c854
push 0x42348c
push edi
call esi
push eax
call fcn.004155eb
pop ecx
mov dword [0x42c710], eax
mov eax, dword [0x42c710]
cmp eax, ebx
je 0x41c8ac
cmp dword [0x42c714], ebx
je 0x41c8ac
push eax
call fcn.00415666
push dword [0x42c714]
mov esi, eax
call fcn.00415666
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41c8ac
test edi, edi
je 0x41c8ac
call esi
test eax, eax
je 0x41c8a3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41c8a3
test byte [ebp - 0xc], 1
jne 0x41c8ac
or dword [ebp + 0x10], 0x200000
jmp 0x41c8e5
mov eax, dword [0x42c708]
cmp eax, ebx
je 0x41c8e5
push eax
call fcn.00415666
pop ecx
test eax, eax
je 0x41c8e5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41c8e5
mov eax, dword [0x42c70c]
cmp eax, ebx
je 0x41c8e5
push eax
call fcn.00415666
pop ecx
test eax, eax
je 0x41c8e5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42c704]
call fcn.00415666
pop ecx
test eax, eax
je 0x41c905
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41c907
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret