joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c610
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x40c63d
xor ecx, ecx
jmp 0x40c649
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x40c6fd
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x40c670
mov dword [esp + 0xc], esi
jmp 0x40c6d0
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x40c6c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c6bc
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x40c6d0
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x40c6d0
push 0x420d60
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x40c6d0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x40c6f3
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x40c662
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x40c711
mov ecx, dword [ebx]
add ecx, 8
call fcn.0040c850
test eax, eax
je 0x40c711
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x40c720
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x41bddb
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4231d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.0040d9e0
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x40c7b8
push 0x421830
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.00411670
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8

Function at 0x40caaf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4231d0]
jne 0x40cab9
repz ret
jmp fcn.0040e8c3
Function at 0x418227
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.004109db
and dword [ebp - 4], 0
cmp dword [0x425334], 0
mov ebx, eax
jne 0x4182d8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x418389
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x418389
push eax
call fcn.00410969
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x425334], eax
call esi
push eax
call fcn.00410969
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x425338], eax
call esi
push eax
call fcn.00410969
mov dword [esp], 0x41efb4
push edi
mov dword [0x42533c], eax
call esi
push eax
call fcn.00410969
pop ecx
mov dword [0x425344], eax
test eax, eax
je 0x4182d8
push 0x41ef9c
push edi
call esi
push eax
call fcn.00410969
pop ecx
mov dword [0x425340], eax
mov eax, dword [0x425340]
cmp eax, ebx
je 0x418330
cmp dword [0x425344], ebx
je 0x418330
push eax
call fcn.004109e4
push dword [0x425344]
mov esi, eax
call fcn.004109e4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x418330
test edi, edi
je 0x418330
call esi
test eax, eax
je 0x418327
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x418327
test byte [ebp - 0xc], 1
jne 0x418330
or dword [ebp + 0x10], 0x200000
jmp 0x418369
mov eax, dword [0x425338]
cmp eax, ebx
je 0x418369
push eax
call fcn.004109e4
pop ecx
test eax, eax
je 0x418369
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x418369
mov eax, dword [0x42533c]
cmp eax, ebx
je 0x418369
push eax
call fcn.004109e4
pop ecx
test eax, eax
je 0x418369
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x425334]
call fcn.004109e4
pop ecx
test eax, eax
je 0x418389
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41838b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40a97f
Capabilities:
Encode data using xor

Disassembly:
insb byte es:[edi], dx
jg 0x40a9b4
enter 0xffffffffffffc2d8, 0xffffffffffffffc2
and eax, dword [ebx - 0x54]
xor eax, 0x4022f126
add byte [esi], 0x36
adc dword [edx], edx
pushal
xchg esp, eax
jae 0x40a986
pop ds
jle 0x40a9f2
xchg ebx, eax
lds edx, [0x693d44b0]
adc ch, byte [eax + 0x4e]
jo 0x40aa18
hlt
and eax, 0x12227a42
add ah, al
int 0xd0
rol dword [ebx - 0x22], 0xc2
add al, 0x13
stosd dword es:[edi], eax
sti
dec byte [ebp + 0xe6daee8]
loope 0x40aa57
mov esp, 0x5775a851
dec esi
cmc
jp 0x40aa8b
out dx, eax
sbb eax, 0x44239216
pop edi
fisub dword [ebp + 0x2de28255]
and eax, dword [edi + ebx*2 - 0x26]
movsd dword es:[edi], dword [esi]
push ebp
and dl, 0x2d
sbb ebp, dword [ebx + esi*8 + 0x6500dd1]
shr dh, cl
movsb byte es:[edi], byte [esi]
pop esp
dec ebx
mov ebx, 0xac1909fa
out 0xfb, al
jle 0x40aa5d
cmpsd dword [esi], dword es:[edi]
dec esp
cmp eax, 0xb27e4daf
sub byte [ebx + ebp*8 - 0x66a4a060], al
std
salc
push 0xaeef8b2c
mov eax, 0x4e612a31
pop esp
das
xchg ebx, eax
pop ss
inc ecx
fsubp st(0)
stc
out 0x75, eax
mov word [edi - 0x24504fab], cs
fistp word [esi + 0x7e]
xor byte [ebp - 0x74ff8235], bl
call dword [ebp - 0x75]
in al, dx
mov eax, dword [ebp + 0x18]
push ebx
push esi
push edi
test eax, eax
jne 0x40aa7c
call 0x8cb69255
invalid
push ebp
mov al, 0xaf
fcmovnu st(0), st(7)
pop esi
jle 0x40aa95
popfd
retf
xor edi, edi
jmp 0x40aa7f
mov edi, dword [eax + 0x20]
push dword [ebp + 0x20]
mov eax, dword [ebp + 0x14]
push dword [ebp + 0x1c]
mov edx, dword [eax + 4]
mov esi, dword [eax]
mov ebx, dword [ecx]
push edi
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub edi, edx
or byte [ebx], ch
cli
push edi
sub eax, esi
push eax
mov eax, dword [ebp + 0x10]
push edx
push esi
or eax, 0x40000000
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call dword [ebx + 0x5c]
pop edi
pop esi
pop ebx
pop ebp
ret 0x1c
Function at 0x420c42
Capabilities:
Encode data using xor

Disassembly:
xchg ebp, eax
pop edi
invalid
invalid
push ebx
push esp
leave
cdq
loopne 0x420c37
rol dword [ecx - 0x7d], cl
inc ebp
and al, 0x1f
js 0x420bb8
dec ecx
push ebx
or eax, 0x39dc1904
or dword [eax], esp
and eax, 0x91445056
push edi
jo 0x420b8b
cbw
inc ecx
xchg ebp, eax
sub al, bh
mov eax, 0x51f54fd2
out 0xc9, eax
ljmp 0xc556
or dword [ebx + 0x6c], ebp
daa
daa
mov edi, 0xbeb244c5
adc al, 0x4c
xchg esi, eax
ret 0x89b3
mov bl, 0x89
mov bl, 0x89
mov edx, ss
jl 0x420ca7
pushal
sbb al, 0x66
add dword [eax + 0x6b], eax
mov cs, word [ecx - 0x7c]
in eax, 0x62
pop ebx
sbb ch, byte [edx]
scasb al, byte es:[edi]
out dx, al
ja 0x420bf1
cld
rcr byte [ecx + edi*8], 1
test al, 0x8a
push ebp
sbb esp, ebp
jno 0x420be8
sal byte [edx + 0xe583270], 1
mov edi, eax
add byte [ebp + 0x68cb5566], dl
dec dword [edx - 0x2064352c]
movsb byte es:[edi], byte [esi]
out dx, eax
mov dh, 0xd
cmp byte [ecx], bh
jg 0x420cc8
test ah, dh
or byte [ebp + 0x5f], cl
dec edi
fist word [edi + 0x13]
pop edx
outsb dx, byte [esi]
call 0xf3df1cab
and al, 0x28
loope 0x420c33
ror dword [eax - 0x7e6c3e0a], 0xab
cmp dword [edi - 0x7e], 9
imul ecx, dword ds:[ebp + 0xe1853c4], 0x597990e6
out 0x90, al
jns 0x420d04
fld st(4)
bound esi, qword [eax + ebp*4 - 0x46902323]
sub cl, 0x99
inc edx
pop ebx
dec eax
fld qword [ebp + 0xa0cff5f]
mov edx, dword [eax + ecx*2 + 0x3b]
pop ss
mov eax, dword [0x73337c98]
add dword [ecx - 0x28], eax
test dword [ecx + 0x4a], ebp
mov eax, dword [0x7964df49]
pop eax
xor esi, dword [ebx + 1]
inc ecx
fadd dword [ebp + 0x49a14a69]
fbld tbyte [ecx + edi*2 + 0x58]
out dx, eax
salc
leave
sub byte [esp + ebx - 0x50], dh
jnp 0x420cc8
outsd dx, dword [esi]
and word [eax + 0x31], 2
xor dword [edx], eax
inc edi
das
xchg edx, eax
xchg ebp, eax
retf
idiv dh
adc edi, ecx
push ebx
daa
dec eax
out 7, al
mov eax, 0x8fd5419f
or edx, ebp
or dword [eax], ebx
pop ebp
out 0xf7, eax
jl 0x420d2a
inc ebp
ljmp 0xcabc
stc
jno 0x420ce3
idiv edx
invalid

Function at 0x42140f
Capabilities:
Encode data using xor

Disassembly:
push ecx
jge 0x42143c
sal dword [edx], cl
dec ecx
or byte [eax], cl
sahf
xor ah, dh
adc dword [ebp + ecx*8 - 8], 0x3552d64d
jo fcn.00421448
push esp
int 0xf8
dec ebp
salc
push edx
xor eax, 0xfa8b2470
mov edi, edx
add al, 0x88
sahf
popal
xor byte [edx + 0x66], dh
add eax, edx
jno 0x42141b
lcall 0xcd98, 0x7366e173
add eax, 0x4bceb9f8
dec ebx
mov dh, 0x29
test dword [ecx + ecx*8 + 0x428c39b3], esp
mov eax, dword [0x970ef745]
test dword [esi], 0x8805197
add eax, 0x8ba686c0
push cs
or ch, byte [0x57640e3f]
or byte [0x8ba686c0], al
push cs
or ch, byte [0x57640e3f]
jns 0x421476
jno 0x4214e2
jecxz 0x42144d
push ebx
lahf
cmc
or eax, 0x4a8bc412
inc ebp
nop
mov edi, 0xf94ac94
xor al, 0xe5
sub esi, ebp
Function at 0x430304
Capabilities:
Encode data using xor

Disassembly:
mov word [eax + edx + 0x3a7cbfed], fs
imul byte [edx - 0x5fc65f63]
fnstsw word [ecx + 0x74]
stosd dword es:[edi], eax
das
adc dword [edx], 0x87a738c3
pushfd
xor esi, edx
sbb byte [eax + edi*2 + 0x38], 7
mov ebx, 0xf02a4074
je 0x430346
sub dh, al
je 0x430346
sub dh, al
pop ds
push 0x1e
dec edx
xchg edi, eax
dec edx
test eax, 0x3e8dbbbb
adc byte [ecx - 0x54fec87a], bh
sbb eax, 0x5f7be5a5
add al, 0xa4
lds ebx, [edx + 0x3a]
fcomp qword [esi + 0xe047454]
jl 0x4302e3
adc bh, al
in eax, dx
cmp dword [eax - 0x6c2cd73c], 0x9702f479
push edx
or byte [ebx], 0xcd
Function at 0x407547
Capabilities:
Encode data using xor

Disassembly:
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 [0x6dcaa4], cl
jne 0x414812
or dword [0x6dcaa4], ecx
xor eax, eax
jmp 0x407578
lea edx, [eax + 1]
jmp 0x599b72
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 [0x6dcaa0], eax
push 0
push 0
push ebx
push edi
push 0
push 0
push esi
call dword [0x6dcaa0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00555928
mov esp, ebp
pop ebp
ret
imul edx, edx, 0x1d8b
xor dx, word [eax*2 + 0x5cf248]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xa
jl 0x407578
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x4c32
xor dx, word [eax*2 + 0x5cf260]
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 7
jl 0x599b95
lea eax, [ebp - 0x108]
jmp 0x4147f8

Function at 0x45f4b6
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 [0x6dca94], cl
jmp 0x54b1b8
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 [0x6dca90], eax
mov edx, dword [ebp - 0x20c]
mov eax, dword [ebp + 8]
push edx
push eax
push ebx
push edi
push esi
call dword [0x6dca90]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00555928
mov esp, ebp
pop ebp
ret 8
jne 0x4cbd28
or dword [0x6dca94], ecx
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x408d
xor dx, word [eax*2 + 0x5cf57c]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xa
jl 0x54b1c6
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x2a28
xor dx, word [eax*2 + 0x5cf594]
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 5
jl 0x54b1ec
lea eax, [ebp - 0x108]
jmp 0x4cbd0e

Function at 0x4748ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
test edi, edi
jle 0x47491e
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov edx, eax
sub esi, eax
lea ebx, [ecx + 1]
imul ebx, dword [ebp + 8]
xor bx, word [esi + edx]
inc ecx
mov word [edx], bx
add edx, 2
cmp ecx, edi
jl 0x474902
pop esi
pop ebx
pop ebp
ret 8
Function at 0x486385
Capabilities:
Execute shellcode via indirect call
Terminate process

Disassembly:
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x114]
mov dword [eax + 8], ecx
mov cx, word [ebp - 0x110]
mov dword [eax + 0xc], edx
mov dword [0x6d8660], eax
mov word [eax + 0x10], cx
jmp 0x53a28f
mov edx, dword [0x6d8664]
push edx
mov ebx, eax
call fcn.004e350f
mov eax, dword [0x6d8660]
jmp 0x53a28a
push ebp
mov ebp, esp
sub esp, 0x128
jmp 0x4d5ecc
mov dword [ebp - 0x11f], esi
cmp eax, ebx
jne 0x466fcc
push 0x40
push 0x3000
push 0x1000
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x11c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x118]
jmp 0x466fa8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x124], eax
mov eax, dword [0x6d82fc]
xor ebx, ebx
xor esi, esi
push edi
mov edi, edx
mov dword [ebp - 0x128], ecx
mov byte [ebp - 0x120], 0xb8
mov dword [ebp - 0x11b], 0x3e8
mov word [ebp - 0x117], 0xc200
mov dword [ebp - 0x113], 0x340fd48b
mov byte [ebp - 0x10f], 0xc3
cmp eax, 6
jne 0x592e19
push 0x4640fc
ret
xor cx, word [eax*2 + 0x5cf2a8]
inc eax
mov word [ebp + eax*2 - 0x10e], cx
cmp eax, 6
jl 0x52222c
push ebx
push ebx
lea edx, [ebp - 0x10c]
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0x18
mov word [ebp - 0x115], ax
mov eax, dword [0x6d8660]
jmp 0x492ef4
jmp 0x51419c
cmp eax, 0x295a
jne 0x522200
mov esi, 0x1a6
jmp 0x51419c
cmp eax, 0x3839
jne 0x522215
mov esi, 0x1a8
jmp 0x51419c
cmp eax, 0x3ad7
jne 0x52222a
mov esi, 0x1ad
jmp 0x51419c
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x2d67
jmp 0x514164
mov eax, dword [0x6d8664]
mov ebx, dword [0x6d8660]
push eax
call fcn.004e350f
mov ecx, dword [ebp - 8]
add esp, 4
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00555928
mov esp, ebp
pop ebp
ret 4
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp - 0x128]
mov edx, dword [ebp - 0x124]
push 0x40
push 0x3000
push ecx
push ebx
push edx
push edi
call eax
mov esi, eax
cmp dword [0x6d8664], ebx
jne 0x52902c
mov edi, dword [sym.imp.msvcrt.dll_rand]
call edi
mov word [0x6d8664], ax
jmp dword [0x53a2cd]
cmp eax, 0xa
jne 0x51419c
mov eax, dword [0x6d8304]
cmp eax, 0x2800
jne 0x5221eb
mov esi, 0x1a3
jmp 0x5221e6
Function at 0x48ef89
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x10043a
jmp 0x4ec4e2
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
test eax, eax
pop edi
setne dl
pop esi
xor ecx, ebp
mov byte [0x6d8414], dl
pop ebx
call fcn.00555928
mov esp, ebp
pop ebp
ret
jmp 0x4e7205
lea ecx, [eax + 1]
imul ecx, ecx, 0x4f5a
xor cx, word [eax*2 + 0x5cf1a4]
inc eax
mov word [ebp + eax*2 - 0x30a], cx
cmp eax, 5
jl 0x4e7205
lea edx, [ebp - 0x308]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [eax + 0x3c]
mov edx, dword [0x6d82fc]
add esi, eax
movzx eax, word [esi + 0x40]
mov ecx, eax
cmp edx, ecx
je 0x59394c
cmp eax, 0xa
push 0x57ba3e
ret
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x114
push 0
push 0x6d82f8
mov dword [0x6d8410], eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov esi, 0x6d82f8
mov dword [0x6d82f8], 0x114
call fcn.005126ee
mov edi, eax
xor eax, eax
jmp 0x4e7200
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x57be
xor cx, word [eax*2 + 0x5cf1d0]
inc eax
mov word [ebp + eax*2 - 0x20a], cx
cmp eax, 0xe
jl 0x59394e
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x6ad3
xor dx, word [eax*2 + 0x5cf1f0]
inc eax
mov word [ebp + eax*2 - 0x10a], dx
cmp eax, 5
jl 0x593973
jmp 0x4e34d8
Function at 0x4e18c8
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, ecx
and eax, 0x80000001
jns 0x44800a
dec eax
or eax, 0xfffffffe
inc eax
je 0x44801b
mov al, dl
not al
imul cl
jmp 0x448028
mov al, cl
imul dl
mov bl, al
add bl, bl
add al, bl
mov bl, byte [ebp + 0xc]
xor byte [ebp + ecx - 0x52], al
inc ecx
cmp ecx, 0x4a
jl 0x447ff8
test esi, esi
je 0x4e62c5
mov dl, bl
call fcn.00471f1d
mov ecx, dword [ebp - 0x5c]
push 0
push edi
jmp dword [0x448052]
je 0x46b1b5
mov al, bl
not al
imul cl
jmp 0x46b1bf
mov al, cl
imul bl
mov dl, al
add dl, dl
add al, dl
xor byte [ebp + ecx - 0x52], al
inc ecx
cmp ecx, 0x4a
jl 0x590d20
mov ecx, dword [ebp - 0x5c]
push 0
push 0x50
lea eax, [ebp - 0x58]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp byte [ebp - 0x54], 0
je 0x448036
mov dl, byte [ebp - 0x53]
xor ecx, ecx
lea esp, [esp]
jmp 0x447ff8
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 8], 0
mov eax, dword [0x6d853c]
push ebx
mov bl, byte [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x5c], eax
je 0x448036
call dword [sym.imp.msvcrt.dll_rand]
mov ecx, 0xbb8
cdq
idiv ecx
mov dword [ebp - 0x50], 0xc
mov dword [ebp - 0xc], edi
jmp 0x590d04
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00555928
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x54], 1
mov byte [ebp - 0x53], bl
mov word [ebp - 0x58], dx
mov edx, ecx
sub edx, dword [ebp - 0x58]
xor ecx, ecx
mov word [ebp - 0x56], dx
lea ebx, [ebx]
mov eax, ecx
and eax, 0x80000001
jns 0x46b1a4
dec eax
or eax, 0xfffffffe
inc eax
jmp 0x46b1a4

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

Disassembly:
inc eax
mov word [ebp + eax*2 - 0x11a], cx
cmp eax, 9
jl 0x4fbcf7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea edx, [ebp - 0x118]
push edx
push 0x6933c8
call dword [sym.imp.msvcrt.dll_sprintf]
push 0x6933c8
jmp dword [0x4729c4]
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 [0x6d853c], eax
cmp eax, 0xffffffff
jne 0x5ba42e
xor eax, eax
nop
lea ecx, [eax + 1]
imul ecx, ecx, 0x3295
xor cx, word [eax*2 + 0x5cfab0]
jmp 0x47298a
cmp eax, 5
jl 0x5ba437
lea edx, [ebp - 0x118]
push edx
call fcn.00421a4d
xor eax, eax
mov ecx, esi
xor ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, 2
push ecx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
xor esi, dword [ebp + 8]
push 0x10
lea edx, [ebp - 0x14]
mov word [ebp - 0x12], ax
mov eax, dword [0x6d853c]
push edx
push eax
mov dword [ebp - 0x10], esi
jmp dword [0x4ff636]
xor eax, eax
lea esp, [esp]
lea ecx, [eax + 1]
imul ecx, ecx, 0x973
xor cx, word [eax*2 + 0x5cfac4]
inc eax
mov word [ebp + eax*2 - 0x11a], cx
jmp 0x4ff5dc
Function at 0x529055
Capabilities:
Encode data using xor

Disassembly:
mov dword [esi + 4], ebx
call 0x50f1f8
cmp dword [esi + 4], 0
mov ebx, eax
je 0x417af6
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x312e
xor cx, word [eax*2 + 0x5cf2b8]
inc eax
mov word [ebp + eax*2 - 0x10e], cx
cmp eax, 6
jl 0x417ac0
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
test ebx, ebx
je 0x558a38
push 0x558a2e
ret
push ecx
mov ecx, edi
mov edx, esi
mov dword [ebp - 0x110], ebx
call fcn.00486385
test eax, eax
je 0x558a3a
mov dword [ebp - 0x110], ebx
jmp 0x558a3a
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
jmp 0x58d64c
xor ebx, ebx
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.00555928
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x110]
jmp 0x4c560e
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
mov dword [edi], eax
cmp byte [0x6d8414], bl
je 0x558a60
mov eax, esi
cdq
cmp eax, 0xffffffff
jne 0x58d698
cmp edx, ebx
jne 0x58d698
or eax, eax
or edx, 0xffffffff
push edi
lea esi, [edi + 0x10]
push esi
push edx
push eax
mov dword [esi], ebx
jmp 0x417aaa

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

Disassembly:
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [0x6d853c]
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x513489
push edi
mov eax, dword [ebp + 0xc]
sub eax, esi
cmp eax, 0x100000
jle 0x5460b0
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]
mov edi, eax
mov dword [ebp - 4], edi
push 0x425320
ret

Function at 0x55f8a1
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x446e5c
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x446e6a
inc edx
add eax, 0x28
cmp edx, esi
jb 0x446e44
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x446e68
mov edi, dword [ebp + 0xc]
jmp 0x446e44