joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cf20
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x437390
call fcn.0040d450
push 1
call fcn.0040cae2
pop ecx
test al, al
je 0x40cf08
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0040cab0
mov byte [ebp - 0x24], al
mov eax, dword [0x439cc4]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x40cf08
test eax, eax
jne 0x40ce2c
mov dword [0x439cc4], ecx
push 0x421364
push 0x421340
call fcn.00410c36
pop ecx
pop ecx
test eax, eax
je 0x40ce0f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40cef8
push 0x42133c
push 0x4212f0
call fcn.00410bf1
pop ecx
pop ecx
mov dword [0x439cc4], 2
jmp 0x40ce31
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040cc36
pop ecx
call fcn.0040d58e
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x40ce62
push esi
call fcn.0040cba2
pop ecx
test al, al
je 0x40ce62
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x4212e8]
call esi
call fcn.0040d594
mov esi, eax
cmp dword [esi], edi
je 0x40ce80
push esi
call fcn.0040cba2
pop ecx
test al, al
je 0x40ce80
push dword [esi]
call fcn.004100d5
pop ecx
call fcn.0040d169
movzx esi, ax
call fcn.00410ba7
push esi
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.0040d1a3
test al, al
je 0x40cf0f
test bl, bl
jne 0x40ceae
call fcn.004100b0
push edi
push 1
call fcn.0040cc53
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x40cef8
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.0040d04e
push esi
call fcn.004100fb
push dword [ebp - 0x20]
call fcn.004100bf
int3
call fcn.0040d4e7
jmp 0x40cda2

Function at 0x40d1a3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40d1e2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40d1e2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d1e2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40d1e2
cmp dword [ecx + 0x74], 0xe
jbe 0x40d1e2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41d1b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41d1dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41d1dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x41339a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x4133a9
pop dword [ebp - 0x14]
mov eax, 0x4133a9
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x51aee
push 0
mov eax, 0xe9d7cf74
sub eax, 0xe9931cc4
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x8a88398d
sub ecx, 0x8a87ebab
xor edx, edx
add edx, eax
mov esi, 0x7bfb5fd2
sub esi, 0x7bb2d1d2
add esi, dword [ebp - 0x14]
mov ebx, 0x1fc6fc5c
sub ebx, 0x25fb08a
xor dword [ebp - 0xc], 0xaf1ac3a5
mov edi, dword [esi]
sub dword [ebp - 4], edi
xor edi, ebx
sub dword [ebp - 8], eax
mov dword [edx], edi
sub dword [ebp - 0x10], eax
add edx, 0xb6f2b9ec
add edx, 0x490d4618
add esi, 0x4b783527
sub esi, 0x4b783523
loop 0x413405
add eax, 0x9522f076
sub eax, 0x9521c61b
mov ebx, eax
add eax, 0xc960143b
add eax, 0x369febca
mov ecx, 0x3567ce8c
sub ecx, 0x3527ce8c
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x10007b91
Capabilities:
Get number of processors

Disassembly:
add byte [eax], al
push eax
add byte [eax], al
add byte [eax - 0x48000000], bl
pop edx
or dl, ch
inc ebx

Function at 0x10007ba0
Capabilities:
Get number of processors

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add bh, bl
les eax, [ebx]
add byte [edi], dh
xor al, 0x64
arpl word [ecx + 0x38], sp
xor byte [edx], dh
xor al, 0x36
cmp byte [esi], dh
xor esp, dword [ebp + 0x33]
arpl word cs:[ebp + 0x73], si
je 0x10007bdc
insd dword es:[edi], dx
inc esp
jae 0x10007be6
imul ebp, dword [esi + 0x61], 0x6e6f6974
jae 0x10007ba8
insd dword es:[edi], dx
jae 0x10007b7e
add byte [eax], al
add byte [eax], al
add byte [eax], cl
add byte [esi], cl
add byte [ebx], al
add byte [eax], al
add byte [eax], al
add dl, bh
add dword [ebx], eax
add byte [eax], al
add ah, dh
fdiv qword [eax + 4]
dec eax
clc
adc ecx, dword [eax]
lcall 0x6d99, 0xaf77116c
jae 0x10007b4c
add byte [eax], al
add byte [ecx + eax + 0x57], bh
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + 0x10094], bh
Function at 0x414d3a
Capabilities:
Packed with generic packer

Disassembly:
pushal
pushfd
push esp
push dword [esp + 0x2c]
call fcn.00428550
add esp, 8
or eax, eax
je 0x414d52
jmp 0x4016d4
popfd
popal
ret 4

Function at 0x415d4f
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x69ffa0], 0
push ebx
push esi
mov esi, 0x69ffa8
jne 0x415d7b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x69ffc0], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x69ffa0], 1
push dword [0x69ffc0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x415e18
push 0x14
push 8
push dword [0x69f73c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x415e42
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x69ffa4]
test eax, eax
je 0x415dbd
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x69ffa4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x415e47
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x69ffc0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x69f73c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x415e42
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8
Function at 0x417408
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
xor edi, edi
call dword [sym.imp.USER32.dll_GetFocus]
mov ebp, dword [esp + 0x3c]
mov ebx, eax
and dword [esp + 0x10], edi
push str.PB_WindowID
push ebp
call dword [sym.imp.USER32.dll_GetPropW]
mov esi, eax
push 9
pop eax
test esi, esi
je 0x4174a0
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x41749d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x14], eax
jne 0x41749d
lea eax, [esi - 1]
push eax
push dword [0x6a4360]
call fcn.004272cf
mov edi, eax
mov dword [esp + 0x10], 1
xor eax, eax
push 9
cmp dword [edi + 0x10], eax
jle 0x41749f
mov edx, dword [edi + 4]
xor ecx, ecx
pop esi
cmp word [ecx + edx + 2], si
jne 0x417494
mov esi, 0xfa01
push 9
cmp word [ecx + edx + 4], si
je 0x417587
pop esi
inc eax
add ecx, 6
cmp eax, dword [edi + 0x10]
jl 0x41747a
push 9
pop eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test ebx, ebx
je 0x417546
push eax
call esi
test al, al
jns 0x417546
push 0x11
call esi
test al, al
js 0x417546
push 0x10
call esi
test al, al
js 0x417546
push 0x12
call esi
test al, al
js 0x417546
push 0x10
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [esp + 0x10], 0
jne 0x417546
push 5
lea eax, [esp + 0x1c]
push str.RichE
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
je 0x41751a
push 4
lea eax, [esp + 0x1c]
push str.RICHE
push eax
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x417531
push 0
push 0
push 0x44e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, 0x800
je 0x417591
lea eax, [esp + 0x18]
push str.Scintilla
push eax
call sub.MSVCRT.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x417591
test ebp, ebp
je 0x41756a
push 0x11
call esi
test al, al
js 0x417562
push 0x10
call esi
test al, al
js 0x417562
push 0x12
call esi
test al, al
jns 0x41756a
push 1
push ebp
call fcn.0041759d
test ebx, ebx
je 0x41757e
push str.PB_Hotkey
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x417591
test edi, edi
je 0x417591
mov eax, dword [edi + 8]
jmp 0x417593
and dword [esp + 0x14], 0
jmp 0x41749f
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x418d29
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
je 0x418dc1
push edi
push 0x6a43a4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x6a0110]
test edi, edi
je 0x418d95
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x418d8e
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0x6a0110
call fcn.004279d0
pop ecx
pop ecx
jmp 0x418d90
mov edi, dword [edi]
test edi, edi
jne 0x418d65
pop ebx
mov eax, dword [0x69913c]
mov esi, eax
inc eax
push 0x10
push 0x6a0110
mov dword [0x69913c], eax
call fcn.00427a10
pop ecx
pop ecx
push 0x6a43a4
mov dword [eax], ebp
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8
Function at 0x419b37
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x419b9b
cmp dword [ebp + 0x10], 0x18
push esi
jne 0x419b58
call fcn.00547890
mov esi, eax
push esi
call sub.MSVCRT.dll_strlen
jmp 0x419b6c
cmp dword [ebp + 0x10], 2
jne 0x419b65
call fcn.00547930
jmp 0x419b4e
call sub.MSVCRT.dll_wcslen
add eax, eax
pop ecx
push 0
lea ecx, [ebp + 0xc]
push ecx
push eax
mov eax, dword [ebp + 8]
push esi
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp + 0x10], 0x18
jne 0x419b8f
push esi
call fcn.00547880
jmp 0x419b9b
cmp dword [ebp + 0x10], 2
jne 0x419b9b
push esi
call fcn.00547920
pop esi
pop ebp
ret 0xc

Function at 0x419df6
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x38]
push ebp
xor ebp, ebp
push edi
cmp dword [eax + 8], 1
mov edi, ebp
mov dword [esp + 0x10], edi
mov dword [esp + 8], ebp
jne 0x419f95
push esi
mov esi, dword [esp + 0x48]
test esi, esi
je 0x419f94
push ebx
push ebp
push pe_nt_image_headers32
push 3
push ebp
push 7
push closesocket
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x419f93
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x200000
push ebp
push dword [0x69f73c]
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
je 0x419f8c
call fcn.00456100
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x419f79
lea eax, [esp + 0x20]
push eax
push esi
call sub.MSVCRT.dll__wstat
push 0x1a4
push edi
call fcn.004565d0
lea eax, [esp + 0x30]
push eax
push edi
call fcn.00456750
mov esi, dword [esp + 0x60]
add esp, 0x18
mov eax, dword [esi + 0x20]
cmp dword [eax + 8], 1
je 0x419ec5
cmp dword [eax + 8], 3
je 0x419ec5
push dword [esp + 0x50]
push edi
call fcn.00455ea0
pop ecx
pop ecx
jmp 0x419ee3
push dword [esp + 0x50]
call fcn.00547930
mov esi, eax
push esi
push edi
call fcn.004565c0
pop ecx
pop ecx
push esi
call fcn.00547920
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
cdq
push edx
push eax
push edi
call fcn.00456620
push 0x8000
push edi
call fcn.00456470
push edi
push dword [esi]
call fcn.004568c0
add esp, 0x1c
lea eax, [esp + 0x4c]
push 0
push eax
push 0x200000
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x4c]
test eax, eax
jle 0x419f60
mov edi, dword [esp + 0x10]
push eax
push ebp
push dword [esi]
call fcn.00456880
add esp, 0xc
cmp eax, dword [esp + 0x4c]
jne 0x419f58
add edi, dword [esp + 0x4c]
lea eax, [esp + 0x4c]
push 0
push eax
push 0x200000
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x4c]
test eax, eax
jg 0x419f26
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x10], eax
jne 0x419f72
mov dword [esp + 0x18], 1
push edi
call fcn.00456030
pop ecx
push ebp
push 0
push dword [0x69f73c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
mov eax, edi
pop edi
pop ebp
add esp, 0x34
ret 0xc
Function at 0x41a04f
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
xor edi, edi
test esi, esi
je 0x41a0b1
cmp word [esi], di
je 0x41a0b1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004572d0
push dword [esp + 0x1c]
mov ebx, eax
push ebx
call dword [esp + 0x20]
push esi
push ebx
call fcn.004574e0
add esp, 0x10
test eax, eax
jne 0x41a0b0
push 0x24
push 8
push dword [0x69f73c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x14], edi
mov edi, ecx
mov dword [ecx], ebx
mov dword [ecx + 8], 1
mov dword [ecx + 0x20], eax
mov dword [eax + 4], ecx
pop ebx
mov eax, edi
pop edi
pop esi
ret 0x10

Function at 0x41a85c
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push 0x41a7ab
push 0x10
push 0x2c
call fcn.004273a2
push 0
push 0
push 8
mov dword [0x6a0330], eax
call fcn.004270fd
cmp word [0x6a0328], 0
mov dword [0x6a4430], eax
jne 0x41a941
push edi
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor edi, edi
inc edi
test eax, eax
jne 0x41a8b4
mov word [0x6a0328], di
jmp 0x41a8bc
xor eax, eax
mov word [0x6a0328], ax
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x6a0344], eax
test eax, eax
je 0x41a940
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.getaddrinfo
push eax
call esi
push str.freeaddrinfo
push dword [0x6a0344]
mov dword [0x6a0334], eax
call esi
push str.getnameinfo
push dword [0x6a0344]
mov dword [0x6a0338], eax
call esi
push str.WSAStringToAddressA
push dword [0x6a0344]
mov dword [0x6a033c], eax
call esi
cmp dword [0x6a0334], 0
mov dword [0x6a0340], eax
pop esi
je 0x41a940
cmp dword [0x6a0338], 0
je 0x41a940
cmp dword [0x6a033c], 0
je 0x41a940
test eax, eax
je 0x41a940
mov dword [0x6a032c], edi
pop edi
add esp, 0x190
ret
Function at 0x41b11f
Capabilities:
Get socket status
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x920
xor eax, eax
inc eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
cmp dword [edi], eax
jne 0x41b1a2
mov esi, dword [edi + 8]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
lea eax, [ebp - 0x120]
mov dword [ebp - 0x11c], esi
push eax
lea eax, [esi + 1]
mov dword [ebp - 0xc], ebx
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x41b199
je 0x41b19e
lea eax, [ebp - 0x120]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x41b19e
lea eax, [ebp + 8]
push eax
push 0x4004667f
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x41b199
cmp dword [ebp + 8], ebx
je 0x41b199
push 2
jmp 0x41b19b
push 4
pop esi
jmp 0x41b1fc
mov esi, ebx
jmp 0x41b1fc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x800
lea eax, [ebp - 0x920]
push eax
push dword [edi + 0x28]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebp + 8], eax
test eax, eax
jle 0x41b1fc
push 2
pop esi
push eax
push ebx
push dword [0x69f73c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
push ecx
mov dword [edi + 0x30], ecx
lea ecx, [ebp - 0x920]
push ecx
push eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x34], eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ebx
cmp dword [esi], 1
jne 0x41b27b
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
jmp 0x41b2b8
cmp dword [esi + 0x2c], ebx
je 0x41b2b8
mov edi, dword [ebp + 0x10]
cmp edi, dword [esi + 0x30]
jle 0x41b28b
mov edi, dword [esi + 0x30]
push edi
push dword [esi + 0x34]
push dword [ebp + 0xc]
call sub.MSVCRT.dll_memcpy
sub dword [esi + 0x30], edi
add esp, 0xc
add dword [esi + 0x34], edi
cmp dword [esi + 0x30], ebx
jne 0x41b2b8
push dword [esi + 0x2c]
push ebx
push dword [0x69f73c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi + 0x2c], ebx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x41b367
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
lea eax, [ebp - 0x40]
push 0x40
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp dword [ebp + 8], 6
jne 0x41b398
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x60]
jmp 0x41b41a
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x41b3f4
mov eax, dword [ebp + 8]
sub eax, 0
je 0x41b3ec
dec eax
je 0x41b3e4
dec eax
je 0x41b3dc
dec eax
je 0x41b3d4
dec eax
je 0x41b3cc
dec eax
jne 0x41b3f4
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x41b41c
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
jmp 0x41b41c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
jmp 0x41b41c
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
jmp 0x41b41c
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
jmp 0x41b41c
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
jmp 0x41b41c
cmp dword [ebp + 8], 7
jne 0x41b418
push 0x2c
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetProcessMemoryInfo
test eax, eax
je 0x41b418
mov eax, dword [ebp - 0x68]
jmp 0x41b41a
xor eax, eax
xor edx, edx
mov esp, ebp
pop ebp
ret 4
Function at 0x41b469
Capabilities:
Check os version

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x114
xor ebx, ebx
mov esi, 0xc8
and dword [esp + 0x10], ebx
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41b5df
mov eax, dword [esp + 0x24]
dec eax
je 0x41b5c2
dec eax
jne 0x41b5df
lea eax, [esp + 0x128]
xor ebp, ebp
push eax
call fcn.0041b422
pop ecx
test eax, eax
je 0x41b520
mov ebx, dword [esp + 0x12c]
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 0x134]
cmp byte [esp + 0x242], 1
jne 0x41b4e3
xor ebp, ebp
inc ebp
sub ebx, 3
je 0x41b5be
dec ebx
je 0x41b5ba
dec ebx
je 0x41b599
dec ebx
je 0x41b553
sub ebx, 4
jne 0x41b5df
test edi, edi
jne 0x41b5df
cmp eax, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x41b5df
lea eax, [esp + 0x244]
mov dword [esp + 0x244], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, dword [esp + 0x10]
je 0x41b4e3
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x35e], 1
jmp 0x41b4de
sub edi, 0
je 0x41b58b
dec edi
je 0x41b57d
dec edi
je 0x41b56f
dec edi
jne 0x41b5df
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x41b5df
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x41b5df
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x41b5df
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x41b5df
sub edi, 0
je 0x41b5b6
dec edi
je 0x41b5b2
dec edi
jne 0x41b5df
mov esi, ebp
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x41b5df
push 0x3c
jmp 0x41b5de
push 0x32
jmp 0x41b5de
push 0x14
jmp 0x41b5de
push 5
jmp 0x41b5de
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41b5dc
cmp eax, 0xa
je 0x41b5d8
cmp eax, 0x5a
jne 0x41b5df
push 0x28
jmp 0x41b5de
push 0x1e
jmp 0x41b5de
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret

Function at 0x41c0e0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [esi + 0x14], 0
jne 0x41c11c
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
xor eax, eax
pop esi
pop ecx
ret 4
Function at 0x41c980
Capabilities:
Write file on windows

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
mov dword [esp], 0
test edx, edx
je 0x41ca88
cmp word [edx], 0
je 0x41ca88
mov ecx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
test ecx, ecx
jne 0x41c9ae
mov ecx, dword [esi + 0x18]
push edi
cmp ecx, 0x19
jne 0x41ca0d
cmp dword [esi + 4], 0
mov ecx, edx
lea edi, [ecx + 2]
je 0x41c9e0
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c9c0
sub ecx, edi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push esi
call fcn.0041cd10
pop edi
pop esi
pop ecx
ret 0xc
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c9e0
sub ecx, edi
lea eax, [esp + 8]
push 0
sar ecx, 1
push eax
lea eax, [ecx + ecx]
push eax
push edx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
xor eax, eax
cmp ecx, 2
lea ecx, [esp + 0x14]
setne al
push ecx
dec eax
and eax, 0xfde9
push edx
push eax
call fcn.0041d2d0
mov edi, eax
test edi, edi
je 0x41ca03
cmp dword [esi + 4], 0
je 0x41ca5b
push dword [esp + 0x14]
push edi
push esi
call fcn.0041cd10
push edi
push 0
push dword [0x69f73c]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
push 0
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x1c]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
push 0
push dword [0x69f73c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
xor eax, eax
pop ecx
ret 0xc