joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44db1c
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 0x44db68
mov eax, esi
call fcn.00435af8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44db68
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x44db68
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 0x44dca7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x44dba8
cmp eax, 0x108
ja 0x44dba8
mov eax, esi
call fcn.00435af8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44dc9e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x44dca7
jmp 0x44dc9e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44dc87
cmp eax, 0x20a
ja 0x44dc87
test byte [esi + 0x50], 0x80
jne 0x44dbda
sub eax, 0x203
je 0x44dbd7
sub eax, 3
je 0x44dbd7
sub eax, 3
jne 0x44dbda
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44dbee
dec eax
je 0x44dc03
dec eax
je 0x44dc20
dec eax
je 0x44dc03
jmp 0x44dc27
mov ecx, ebx
mov eax, dword [0x467548]
mov eax, dword [eax]
mov edx, esi
call fcn.0043f120
jmp 0x44dc9e
cmp byte [esi + 0x5d], 1
jne 0x44dc19
mov eax, esi
mov si, 0xffed
call fcn.00403c2c
jmp 0x44dca7
or word [esi + 0x54], 1
jmp 0x44dc9e
and word [esi + 0x54], 0xfffe
jmp 0x44dc9e
mov eax, dword [0x468bc0]
cmp byte [eax + 0x20], 0
je 0x44dc9e
mov eax, dword [0x468bc0]
cmp dword [eax + 0x1c], 0
je 0x44dc9e
mov eax, dword [ebx]
mov edx, dword [0x468bc0]
cmp eax, dword [edx + 0x1c]
jne 0x44dc9e
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.00435a3c
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.00403c2c
jmp 0x44dca7
cmp eax, 0xb00b
jne 0x44dc9e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0044c484
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 0x451128
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 0x451144
cmp dword [esi + 4], 0
je 0x451171
test byte [ebx + 0x55], 1
jne 0x451163
mov eax, ebx
call fcn.0044fd34
test eax, eax
jne 0x451163
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x451281
mov edx, esi
mov eax, ebx
call fcn.00450c4c
jmp 0x451281
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 0x45127a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00452fd0
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.0044da50
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00451128
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.00452fd0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451281
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 0x457728
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4676e4]
cmp byte [eax + 0xc], 0
je 0x457895
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45788e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x468c14], 0
jne 0x45777c
push 0x45789c
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x4578a4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468c14], eax
cmp dword [0x466d9c], 0
jne 0x457877
push 0x4578b4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x466d9c], eax
cmp dword [0x466d9c], 0
je 0x457877
push 0x4578c0
mov eax, dword [0x466d9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468c18], eax
push 0x4578d0
mov eax, dword [0x466d9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468c1c], eax
push 0x4578e4
mov eax, dword [0x466d9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468c20], eax
push 0x4578fc
mov eax, dword [0x466d9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468c24], eax
push 0x457914
mov eax, dword [0x466d9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468c28], eax
push 0x457928
mov eax, dword [0x466d9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468c2c], eax
push 0x457940
mov eax, dword [0x466d9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468c30], eax
push 0x457958
mov eax, dword [0x466d9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468c34], eax
push 0x457974
mov eax, dword [0x466d9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468c38], eax
push 0x457980
mov eax, dword [0x466d9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x468c3c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457895
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x45daf8
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
push esi
push edi
mov edi, eax
mov byte [ebp - 5], 1
mov eax, dword [0x468c84]
call fcn.00405aa0
mov esi, eax
test esi, esi
jl 0x45db67
inc esi
xor ebx, ebx
imul eax, ebx, 0x43
mov edx, dword [0x468c84]
mov eax, dword [edx + eax*4 + 0x108]
lea edx, [ebp - 0x108]
call fcn.00403980
lea eax, [ebp - 0x108]
push eax
lea edx, [ebp - 0x208]
mov eax, edi
call fcn.00403980
lea edx, [ebp - 0x208]
pop eax
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403018
jne 0x45db63
mov esi, ebx
jmp 0x45db98
inc ebx
dec esi
jne 0x45db1d
mov eax, dword [0x468c84]
call fcn.00405a98
inc eax
push eax
mov eax, 0x468c84
mov ecx, 1
mov edx, dword [0x45dacc]
call fcn.00405c54
add esp, 4
mov eax, dword [0x468c84]
call fcn.00405a98
mov esi, eax
dec esi
imul eax, esi, 0x43
mov edx, dword [0x468c84]
mov dword [edx + eax*4 + 0x108], edi
mov eax, dword ss:[ebp + 4]
mov dword [ebp - 4], eax
imul eax, esi, 0x43
mov edx, dword [0x468c84]
mov byte [edx + eax*4], 0
call sub.kernel32.dll_GetCurrentProcessId
push eax
push 8
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x45dc34
mov eax, 0x224
call fcn.0040275c
mov ebx, eax
mov dword [ebx], 0x224
push ebx
push edi
call sub.kernel32.dll_Module32First
test eax, eax
je 0x45dc27
jmp 0x45dc1c
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebp - 4]
jae 0x45dc1c
add eax, dword [ebx + 0x18]
cmp eax, dword [ebp - 4]
jbe 0x45dc1c
push 0x103
imul eax, esi, 0x43
mov edx, dword [0x468c84]
lea eax, [edx + eax*4]
push eax
mov eax, dword [ebx + 0x1c]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
jmp 0x45dc27
push ebx
push edi
call sub.kernel32.dll_Module32Next
test eax, eax
jne 0x45dbef
mov eax, ebx
call fcn.0040277c
push edi
call sub.kernel32.dll_CloseHandle_1
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45e6b4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x6001f
push 0
push 0x45e730
push 0
mov eax, esi
call fcn.00404ce8
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x45e727
mov eax, dword [ebp - 4]
call fcn.0045d6fc
mov eax, ebx
call fcn.00404ae8
inc eax
push eax
mov eax, ebx
call fcn.00404ce8
push eax
push 1
push 0
mov eax, edi
call fcn.00404ce8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x45e734
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x6001f
push 0
push 0x45e7b4
push 0
mov eax, edi
call fcn.00404ce8
push eax
push esi
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x45e7a9
mov eax, dword [ebp - 8]
call fcn.0045d6fc
mov eax, ebx
call fcn.00404ae8
inc eax
push eax
mov eax, ebx
call fcn.00404ce8
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00404ce8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45e7b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x45e838
push 0
mov eax, esi
call fcn.00404ce8
push eax
push ebx
call sub.advapi32.dll_RegCreateKeyExA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45e82c
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, edi
call fcn.00404ce8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45edd0
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x466f70]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x45ee0c
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x45ee24
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x45ee1d
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.004030c0
xor edx, edx
mov eax, 0x467170
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x45ee8e
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x45ee42
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x45f0cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x45f0e5
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x45f0de
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x45f0f7
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x45f0f0
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0045ecc0
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x45f111
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.0045edd0
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x45f196
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x45f1b3
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0045ed50
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x45f1dc
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45f1f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x45f20d
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x45f206
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x45f221
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0045ebb8
test bl, bl
jne 0x45f2f4
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x468c94
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x45f258
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x45f26c
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0045f0cc
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x45f29e
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x45f24d
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x45f2c1
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x45f2d2
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x45f2e6
jmp 0x45f3af
cmp bl, 1
jne 0x45f3af
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x468cee
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x45f314
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x45f328
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0045f0cc
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x45f35a
sub ebx, 6
inc dword [ebp - 8]
jne 0x45f309
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x45f381
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x45f392
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x45f3a6
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0045ec3c
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x4611e4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404cd8
xor eax, eax
push ebp
push 0x46131d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
push 0
push 0x80
push 3
push 0
push 2
push 0x80000000
mov eax, dword [ebp - 8]
call fcn.00404ce8
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x4612ff
push 0
lea eax, [ebp - 0xc]
push eax
push 2
lea eax, [ebp - 0x810]
push eax
push esi
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x4612f9
cmp word [ebp - 0x810], 0xfeff
jne 0x4612f9
lea eax, [ebp - 0x10]
call fcn.00404f30
jmp 0x4612dd
cmp dword [ebp - 0xc], 0
je 0x4612f9
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4612bf
inc eax
xor edi, edi
lea ebx, [ebp - 0x810]
cmp word [ebx], 0xd
jne 0x4612b8
push 1
push 0
mov eax, edi
add eax, eax
mov edx, dword [ebp - 0xc]
sub edx, eax
sub edx, 4
neg edx
push edx
push esi
call sub.kernel32.dll_SetFilePointer_1
mov word [ebx], 0
jmp 0x4612bf
inc edi
add ebx, 2
dec eax
jne 0x461292
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x810]
mov ecx, 0x400
call fcn.00405090
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00460f4c
push 0
lea eax, [ebp - 0xc]
push eax
push 0x800
lea eax, [ebp - 0x810]
push eax
push esi
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x46127b
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461324
lea eax, [ebp - 0x10]
call fcn.00404f30
lea eax, [ebp - 8]
call fcn.00404828
ret

Function at 0x46169c
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, ecx
mov dword [esp], edx
mov ebp, eax
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov edi, eax
jmp 0x4616f8
push 0
mov eax, esi
sub eax, ebx
push eax
mov eax, dword [esp + 8]
add eax, ebx
push eax
push ebp
call sub.ws2_32.dll_send
test eax, eax
jle 0x4616cf
add ebx, eax
jmp 0x4616f8
test eax, eax
je 0x46170a
inc eax
je 0x46170a
call sub.ws2_32.dll_WSAGetLastError
sub eax, 0x2736
je 0x46170a
sub eax, 0xc
je 0x46170a
sub eax, 2
je 0x46170a
sub eax, 2
je 0x46170a
push 0xa
call sub.kernel32.dll_Sleep_1
cmp esi, ebx
jle 0x46170a
call sub.kernel32.dll_GetTickCount
sub eax, edi
cmp eax, 0xbb8
jb 0x4616b3
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x461710
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00418f50
xor eax, eax
push ebp
push 0x46177a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx + 0x2c]
push eax
call sub.ws2_32.dll_getsockname
mov ax, word [ebp - 0x16]
push eax
call sub.ws2_32.dll_htons
movzx eax, ax
mov dword [ebx + 0x34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461781
mov eax, dword [ebp - 4]
call fcn.00418fb8
ret

Function at 0x461aa8
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get local ipv4 addresses
Get socket information

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov edi, edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.00461c0c
push 6
push 1
push 2
call sub.ws2_32.dll_socket
mov ebp, eax
mov dword [esi + 0x68], ebp
test ebp, ebp
ja 0x461adc
mov dword [esi + 0x68], 0xffffffff
jmp 0x461bbd
mov word [esp + 4], 2
mov dword [esp + 8], 0x100007f
mov ax, word [esi + 0x6c]
push eax
call sub.ws2_32.dll_htons
mov word [esp + 6], ax
push 0x10
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 0x68]
push eax
call sub.ws2_32.dll_bind
inc eax
jne 0x461b19
mov eax, esi
call fcn.00461c0c
jmp 0x461bbd
cmp dword [esi + 0x6c], 0
jne 0x461b49
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 0x68]
push eax
call sub.ws2_32.dll_getsockname
inc eax
je 0x461b49
mov ax, word [esp + 6]
push eax
call sub.ws2_32.dll_ntohs
movzx eax, ax
mov dword [esi + 0x6c], eax
mov word [esp + 4], 2
push edi
call sub.ws2_32.dll_htons
mov word [esp + 6], ax
mov dword [esp + 8], 0x100007f
push 0x10
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 0x68]
push eax
call sub.ws2_32.dll_connect
test eax, eax
sete bl
test bl, bl
je 0x461bb6
mov dl, 1
mov eax, dword [0x4614e4]
call fcn.004189a0
mov edx, dword [esi + 0x68]
mov dword [eax + 0x2c], edx
mov edx, dword [esi + 0x6c]
mov dword [eax + 0x34], edx
mov dword [eax + 0x30], edi
mov dword [eax + 0x844], esi
mov dword [eax + 0x840], 0x461a90
mov edx, eax
mov eax, esi
call fcn.00461710
mov byte [esi + 0x70], 1
jmp 0x461bbd
mov eax, esi
call fcn.00461c0c
mov eax, ebx
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x461c30
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
push esp
push 2
call sub.ws2_32.dll_WSAStartup
add esp, 0x190
ret