joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f8b4
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 0x44f900
mov eax, esi
call fcn.004376c8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44f900
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x44f900
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 0x44fa3f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x44f940
cmp eax, 0x109
ja 0x44f940
mov eax, esi
call fcn.004376c8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44fa36
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x44fa3f
jmp 0x44fa36
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44fa1f
cmp eax, 0x20a
ja 0x44fa1f
test byte [esi + 0x50], 0x80
jne 0x44f972
sub eax, 0x203
je 0x44f96f
sub eax, 3
je 0x44f96f
sub eax, 3
jne 0x44f972
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44f986
dec eax
je 0x44f99b
dec eax
je 0x44f9b8
dec eax
je 0x44f99b
jmp 0x44f9bf
mov ecx, ebx
mov eax, dword [0x468c3c]
mov eax, dword [eax]
mov edx, esi
call fcn.00440e0c
jmp 0x44fa36
cmp byte [esi + 0x5d], 1
jne 0x44f9b1
mov eax, esi
mov si, 0xffed
call fcn.004047e8
jmp 0x44fa3f
or word [esi + 0x54], 1
jmp 0x44fa36
and word [esi + 0x54], 0xfffe
jmp 0x44fa36
mov eax, dword [0x46bd58]
cmp byte [eax + 0x20], 0
je 0x44fa36
mov eax, dword [0x46bd58]
cmp dword [eax + 0x1c], 0
je 0x44fa36
mov eax, dword [ebx]
mov edx, dword [0x46bd58]
cmp eax, dword [edx + 0x1c]
jne 0x44fa36
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.0043760c
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.004047e8
jmp 0x44fa3f
cmp eax, 0xb00b
jne 0x44fa36
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0044e210
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 0x452ed4
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 0x452ef0
cmp dword [esi + 4], 0
je 0x452f1d
test byte [ebx + 0x55], 1
jne 0x452f0f
mov eax, ebx
call fcn.00451ae0
test eax, eax
jne 0x452f0f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x45302d
mov edx, esi
mov eax, ebx
call fcn.004529f8
jmp 0x45302d
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 0x453026
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00454d7c
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.0044f7e8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00452ed4
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.00454d7c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45302d
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 0x459524
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x468dd4]
cmp byte [eax + 0xc], 0
je 0x459691
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45968a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46bdac], 0
jne 0x459578
push 0x459698
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x4596a0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bdac], eax
cmp dword [0x468490], 0
jne 0x459673
push 0x4596b0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x468490], eax
cmp dword [0x468490], 0
je 0x459673
push 0x4596bc
mov eax, dword [0x468490]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bdb0], eax
push 0x4596cc
mov eax, dword [0x468490]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bdb4], eax
push 0x4596e0
mov eax, dword [0x468490]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bdb8], eax
push 0x4596f8
mov eax, dword [0x468490]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bdbc], eax
push 0x459710
mov eax, dword [0x468490]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bdc0], eax
push 0x459724
mov eax, dword [0x468490]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bdc4], eax
push 0x45973c
mov eax, dword [0x468490]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bdc8], eax
push 0x459754
mov eax, dword [0x468490]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bdcc], eax
push 0x459770
mov eax, dword [0x468490]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bdd0], eax
push 0x45977c
mov eax, dword [0x468490]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46bdd4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459691
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x45f9f8
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 [0x46be1c]
call fcn.00406780
mov esi, eax
test esi, esi
jl 0x45fa67
inc esi
xor ebx, ebx
imul eax, ebx, 0x43
mov edx, dword [0x46be1c]
mov eax, dword [edx + eax*4 + 0x108]
lea edx, [ebp - 0x108]
call fcn.004044c0
lea eax, [ebp - 0x108]
push eax
lea edx, [ebp - 0x208]
mov eax, edi
call fcn.004044c0
lea edx, [ebp - 0x208]
pop eax
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403acc
jne 0x45fa63
mov esi, ebx
jmp 0x45fa98
inc ebx
dec esi
jne 0x45fa1d
mov eax, dword [0x46be1c]
call fcn.00406778
inc eax
push eax
mov eax, 0x46be1c
mov ecx, 1
mov edx, dword [0x45f9cc]
call fcn.00406954
add esp, 4
mov eax, dword [0x46be1c]
call fcn.00406778
mov esi, eax
dec esi
imul eax, esi, 0x43
mov edx, dword [0x46be1c]
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 [0x46be1c]
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 0x45fb37
mov eax, 0x224
call fcn.004030c4
mov ebx, eax
mov dword [ebx], 0x224
push ebx
push edi
call sub.kernel32.dll_Module32First
test eax, eax
je 0x45fb2a
jmp 0x45fb1f
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebp - 4]
jae 0x45fb1f
mov eax, dword [ebx + 0x14]
add eax, dword [ebx + 0x18]
cmp eax, dword [ebp - 4]
jbe 0x45fb1f
push 0x103
imul eax, esi, 0x43
mov edx, dword [0x46be1c]
lea eax, [edx + eax*4]
push eax
mov eax, dword [ebx + 0x1c]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
jmp 0x45fb2a
push ebx
push edi
call sub.kernel32.dll_Module32Next
test eax, eax
jne 0x45faef
mov eax, ebx
call fcn.004030e0
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 0x4605c0
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 0x46063c
push 0
mov eax, esi
call fcn.004059bc
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x460633
mov eax, dword [ebp - 4]
call fcn.0045f5e0
mov eax, ebx
call fcn.004057bc
inc eax
push eax
mov eax, ebx
call fcn.004059bc
push eax
push 1
push 0
mov eax, edi
call fcn.004059bc
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 0x460640
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 0x4606c0
push 0
mov eax, edi
call fcn.004059bc
push eax
push esi
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x4606b5
mov eax, dword [ebp - 8]
call fcn.0045f5e0
mov eax, ebx
call fcn.004057bc
inc eax
push eax
mov eax, ebx
call fcn.004059bc
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.004059bc
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 0x4606c4
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 0x460744
push 0
mov eax, esi
call fcn.004059bc
push eax
push ebx
call sub.advapi32.dll_RegCreateKeyExA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x460738
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.004059bc
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 0x460cdc
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 + 0x468664]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x460d18
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 0x460d30
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x460d29
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.00403b74
xor edx, edx
mov eax, 0x468864
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 0x460d9a
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 0x460d4e
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x460fd8
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 0x460ff1
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x460fea
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x461003
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x460ffc
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.00460bcc
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 0x46101d
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.00460cdc
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4610a2
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 0x4610bf
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.00460c5c
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 0x4610e8
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x461100
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 0x461119
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x461112
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 0x46112d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00460ac4
test bl, bl
jne 0x461200
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x46be2c
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 0x461164
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 0x461178
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.00460fd8
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 0x4611aa
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x461159
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 0x4611cd
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4611de
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 0x4611f2
jmp 0x4612bb
cmp bl, 1
jne 0x4612bb
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x46be86
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 0x461220
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 0x461234
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.00460fd8
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 0x461266
sub ebx, 6
inc dword [ebp - 8]
jne 0x461215
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 0x46128d
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x46129e
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 0x4612b2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00460b48
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x4630e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7ec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004059ac
xor eax, eax
push ebp
push 0x463229
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.004059bc
push eax
call sub.kernel32.dll_CreateFileA_1
mov edi, eax
cmp edi, 0xffffffff
je 0x46320b
push 0
lea eax, [ebp - 0xc]
push eax
push 2
lea eax, [ebp - 0x814]
push eax
push edi
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x463205
cmp word [ebp - 0x814], 0xfeff
jne 0x463205
lea eax, [ebp - 0x14]
call fcn.00405c18
jmp 0x4631e5
cmp dword [ebp - 0xc], 0
je 0x463205
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x4631c7
inc esi
mov dword [ebp - 0x10], 0
lea ebx, [ebp - 0x814]
cmp word [ebx], 0xd
jne 0x4631be
push 1
push 0
mov eax, dword [ebp - 0x10]
add eax, eax
mov edx, dword [ebp - 0xc]
sub edx, eax
sub edx, 4
neg edx
push edx
push edi
call sub.kernel32.dll_SetFilePointer_1
mov word [ebx], 0
jmp 0x4631c7
inc dword [ebp - 0x10]
add ebx, 2
dec esi
jne 0x463197
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x814]
mov ecx, 0x400
call fcn.00405d78
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00462e40
push 0
lea eax, [ebp - 0xc]
push eax
push 0x800
lea eax, [ebp - 0x814]
push eax
push edi
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x463177
push edi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463230
lea eax, [ebp - 0x14]
call fcn.00405c18
lea eax, [ebp - 8]
call fcn.004054fc
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov edi, ecx
mov dword [esp + 4], edx
mov dword [esp], eax
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov ebp, eax
jmp 0x46360e
push 0
mov eax, edi
sub eax, ebx
push eax
mov eax, dword [esp + 0xc]
add eax, ebx
push eax
mov eax, dword [esp + 0xc]
push eax
call sub.ws2_32.dll_send
mov esi, eax
test esi, esi
jle 0x4635e5
add ebx, esi
jmp 0x46360e
test esi, esi
je 0x463620
inc esi
je 0x463620
call sub.ws2_32.dll_WSAGetLastError
sub eax, 0x2736
je 0x463620
sub eax, 0xc
je 0x463620
sub eax, 2
je 0x463620
sub eax, 2
je 0x463620
push 0xa
call sub.kernel32.dll_Sleep_2
cmp edi, ebx
jle 0x463620
call sub.kernel32.dll_GetTickCount
sub eax, ebp
cmp eax, 0xbb8
jb 0x4635c3
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x463628
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.0041a338
xor eax, eax
push ebp
push 0x463692
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 0x463699
mov eax, dword [ebp - 4]
call fcn.0041a3a0
ret

Function at 0x4639c8
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.00463b2c
push 6
push 1
push 2
call sub.ws2_32.dll_socket
mov ebp, eax
mov dword [esi + 0x68], ebp
test ebp, ebp
ja 0x4639fc
mov dword [esi + 0x68], 0xffffffff
jmp 0x463add
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 0x463a39
mov eax, esi
call fcn.00463b2c
jmp 0x463add
cmp dword [esi + 0x6c], 0
jne 0x463a69
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 0x463a69
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 0x463ad6
mov dl, 1
mov eax, dword [0x4633f0]
call fcn.00419d88
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], 0x4639b0
mov edx, eax
mov eax, esi
call fcn.00463628
mov byte [esi + 0x70], 1
jmp 0x463add
mov eax, esi
call fcn.00463b2c
mov eax, ebx
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x463b58
Capabilities:
Initialize winsock library

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