joyce8/EMBER2024-capa huggingface dataset:
Function at 0x581440
Capabilities:
Check for software breakpoints

Disassembly:
push 0x7b
lahf
jl 0x58148f
inc ebx
cmp ah, 0xcc
jae 0x581447
cld
int3
aaa
movsd dword es:[edi], dword [esi]
dec esp
or eax, 0x667837ab
mov dh, 0x1c
out dx, eax
and byte [edi], al
outsd dx, dword [esi]
inc edx
mov edx, 0x5a1b4f8d
xchg ebx, eax
mov al, 0xcb
cmpsd dword [esi], dword es:[edi]
popfd
add dl, byte [edi - 0x160d6f1d]
push edx
push ebx
invalid
fcomp qword [ebx + 0x7e27b200]
mov edi, 0xd6af849c
jno 0x5814a5
pop edx
xlatb
adc eax, 0x822b9419
xchg esp, eax
sub eax, dword [edx + 0x7fb529a1]
bnd jae 0x5814d0
mov ch, 0x7f
bnd jae 0x5814d0
les eax, [ebx + eax*8 - 0x70]
inc ebx
das
dec ebx
imul eax, dword [edx - 0x7b], 0x4f56e131
jge 0x581448
xchg edx, eax
sahf
mov ch, 0x1b
and byte [0x2092e120], 0xa2
push ds
sal bl, cl
invalid
sbb eax, dword [eax - 0x6d1edfdb]
and byte [edx - 0x380c2de2], ah
ljmp 0xb611
aam 0x26
xlatb
invalid
invalid
mov dh, 0xba
inc edx
cmp dword [ecx], ebx
in eax, 0xeb
xor edi, dword [edi + 0x73]
jbe 0x581512
push ebx
jmp 0x5814be
pop edi

Function at 0x582d46
Capabilities:
Encode data using xor

Disassembly:
inc eax
push ebp
mov byte [0x8863ac64], al
dec byte [ecx - 0x15bf0c72]
invalid
cmp edx, edi
push ecx
aaa
out dx, al
outsd dx, dword [esi]
inc ebx
scasb al, byte es:[edi]
push esp
xor ecx, dword [esi - 0x7d]
jnp 0x582cdc
stosb byte es:[edi], al
insb byte es:[edi], dx
fiadd word [edi - 0x77d55d82]
sub cl, byte [eax - 0x7094dc14]
sub cl, byte [eax - 0x7094dc14]
jae 0x582d32
sbb eax, 0x12116e06
insb byte es:[edi], dx
xchg ecx, eax
ret

Function at 0x5a90a0
Capabilities:
Encode data using xor

Disassembly:
popal
sti
xchg ebp, eax
ror dword [esi], cl
push ebx
adc dword [edx + 0x74507462], edi
mul ecx
or eax, dword [ecx + 0x2e]
adc al, 0xb7
mov ah, 0x55
aam 0xb3
or eax, dword [esi]
xor dh, byte [esi - 0x4c]
invalid

Function at 0x5cc086
Capabilities:
Encode data using xor

Disassembly:
pop ecx
std
inc ecx
dec edi
mov al, 0xf7
pushal
jb 0x5cc0ba
sub al, 0x61
jb 0x5cc10d
cwde
fmul dword [esi - 0x6908d24f]
and eax, dword [edi]
les ecx, [edx - 2]
out 0x32, eax
and eax, 0x87753757
xor ah, dh
and dh, ah
xchg ecx, eax
clc
aaa
xor dword [edi - 0x62], 0x11
cwde
in al, 0x36
xor al, 0xb4
push eax
in eax, 0x76
mov ebp, 0x6bdb09a1
adc al, 0x94
clc
push ecx
invalid
fld qword [ebx + 0x61]
inc edx
shr dword [esi + edx*4 - 0x48], 0xf9
mov cl, 0xf2
invalid
Function at 0x5e2050
Capabilities:
Encode data using xor

Disassembly:
mov dl, 0x1e
push ebx
mov eax, dword [0x747dd73c]
mov cs, word [edi]
invalid

Function at 0x5f0dc0
Capabilities:
Encode data using xor

Disassembly:
xchg dword [ebp + esi - 0x59b07d19], ecx
fldenv [ecx + 0x45c68613]
and al, 0x42
popal
or byte [ebp + 0xbf7da47], 0xd2
xchg edi, eax
out 0x92, eax
out dx, al
out dx, al
mov esp, 0xac174865
test byte [ebp - 8], al
inc ebx
and byte [edx - 0x2f], bl
mov byte [0xaed0e706], al
frstor dword [eax]
sub dword [edi - 0x40], esi
mov cl, 0x17
call 0x51f35ae7
je 0x5f0e65
xor al, 0x6b
mov al, byte [0x76a3813a]
bound esi, qword ss:[eax + 0x63]
push es
pushal
dec edx
xchg edx, eax
add eax, 0xca5ff1df
arpl word [ecx - 3], sp
mov byte [0xbdfb53bb], al
push esp
aaa
sbb esp, dword [ebp + 0xe]
ljmp 0x6652
jo 0x5f0e8a
loopne 0x5f0e4b
or byte [ecx + esi*8 + 0x1e], 0xb6
push ds
into
lds ebx, [ebx]
pop edi
push ecx
rcr dword [ebp + 0x1f], 0xc7
jbe 0x5f0e08
pop ebp
pop ds
invalid
adc cl, ch
jp 0x5f0e7d
pop ss
mov dword [ecx + 0x28ce0c97], eax
stc
mov edx, 0x9b583b0e
insb byte es:[edi], dx
movsb byte es:[edi], byte [esi]
mov al, 0x8b
leave
popal
push eax
push ecx
mov eax, dword [0x3149c579]
push esi
fnstenv [edx + 0x7b]
cmpsb byte [si], byte es:[di]
xchg edi, eax
mov al, 0x32
dec esi
xchg dword [edx + 0x19], edi
xchg edi, eax
sbb eax, 0x195bdf4a
inc edi
daa
bound esi, qword [edx - 0x76]
stc
adc dword [ebx], 0xa81c7ead
test dword [eax - 0x29], ecx
lodsd eax, dword [esi]
jle 0x5f0ea9
test al, 0x85
dec eax
xlatb
jle 0x5f0e97
aaa
shr dh, cl
dec esi
push eax
test dword [ebp - 0x8bf6b1d], ebx
outsd dx, dword [esi]
mov byte [0xe119a6a1], al
pop edi
xchg edi, eax
adc dword [esi], 0xfffffff0
daa
xor ah, al
lodsb al, byte [esi]
xchg ebp, eax
sbb esp, dword [ebx]
stosd dword es:[edi], eax
js 0x5f0e3a
lodsb al, byte [esi]
invalid

Function at 0x602f48
Capabilities:
Encode data using xor

Disassembly:
jns 0x602f45
cmpsb byte [esi], byte es:[edi]
enter 0x595e, 0xfffffffffffffffa
mov byte [esi], ch
je 0x602f50
invalid
clc
push 0x41137b34
and cl, byte [esi]
xor al, 0x7b
adc eax, dword [ecx + 0x22]
push cs
les esp, [edx]
mov bh, 0xd4
test dword [ebx - 0x2c], 0x1f970df6
mov bl, 1
add esi, dword [edx + 0x55421544]
add ch, ah
pushal
xchg edi, eax
mov cl, 0x37
cwde
adc esi, dword [eax + 0x1324c1c7]
leave
inc esp
idiv bh
cmp byte [edi], dh
ja 0x602f4b
jns 0x602f3c
lcall 0x56d0, 0x96a662b0
and ah, ah
shr byte [ebx + ebp*8 - 0x5b], cl
xchg ecx, eax
mov ah, 0xed
push ecx
sub al, 0x66
cmp byte [ebp + 0x30], dl
xlatb
add bl, 0x84
out dx, al
or dl, dl
daa
pop es
arpl word [edi], ax
ja 0x602f3f
ret

Function at 0x603904
Capabilities:
Encode data using xor

Disassembly:
push edx
mov bl, 0x60
out dx, al
inc edi
xor byte [ebp + 0x37], al
dec ecx
push ss
aaa
invalid
Function at 0x40693c
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x406964
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x406956
pop edi
pop esi
pop ebp

Function at 0x409ebb
Capabilities:
Encode data using xor

Disassembly:
shr bl, 0xf8
push ebp
mov edi, dword [eax + 4]
mov eax, dword [edi + ecx*4 - 4]
add byte [esi + 0x3b], ah
inc ebp
in al, 0xf
test byte [eax + 0x7c], al
adc esp, esp
je 0x334c1df0
invalid
rcr byte [edi + 0x5e], cl
dec byte [edi]
inc ebp
in al, dx
xor ecx, dword [ecx]
mov eax, dword [eax + 4]
jge 0x409ebe
push 0x64
dec byte [edi]
inc ebp
out dx, al
call 0x6040628c
pop esi
dec ebp
adc al, ch
and dword [edx - 0x3174fb90], 0xc
cmp word [ebx], di
inc dword [ebp - 0x10]
lea ecx, [ebp - 0x48]
test byte [ecx + 2], ch
add byte [eax], al
cmp edx, 0xf
mov bh, 4
jnp 0x409e75
adc al, 5
add al, 0x84
sub al, 0
add byte [ebp + 0xf09248c], cl
test byte [ebx], ah
add dword [ebx + 0x4b70ffa], eax
jnp 0x409f0b
cli
movzx eax, word [ebx + edi*2]
add al, 0x7d
clc
jge 0x409f01
cmp al, 0x6a
or dword [ecx + 0x66], ebx
add byte [eax + eax], al
jnp 0x7dca0607
out dx, al
mov dword [ebp - 0x10], eax
cmp esi, 0x30
jae 0x409f8a
cmp esi, 0x2e
je 0x409f8f
cmp esi, 0x41
jae 0xb4882b
add byte [eax], al
popal
jae 0xe84ce4c0
cmp edi, 0xffffffff
push ebp
test byte [ecx - 0x7417f3bb], cl
mov byte [ebx + 0xf0124f8], 0x8f
inc esp
pop ecx
add al, 0x83
clc
cmp eax, 0xc386
add byte [ebx - 0x7ce51708], al
clc
inc esp
ja 0x73c5aee0
pop eax
mov dh, 0x80
pop esp
movsb byte es:[edi], byte [esi]
mov bh, 0xf
cmp cx, ax
adc byte [edi + esi*4 + 0x4f6a0f], ah
mov dword [esi + 0x30], eax
lahf
push es
mov edx, dword [ebp - 0x94]
inc ebp
in al, 0x50
call fcn.0040a4bd
inc edi
add al, 0x7d
clc
jmp 0x409fe3
cmp esi, 0x39
ja 0x409f20
mov eax, dword [ebp + 0x10]
mov edi, 0x3e532
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [0x89041940]
dec ebx
add al, 0x44
mov ah, bh
mov edi, dword [ebp - 8]
xorps xmm1, xmmword [ebp - 0x34742bbb]
push eax
inc dword [ebp - 0x1c]
push eax
lea edx, [ebp - 8]
call 0x8d41458f
dec esp
and al, 0x28
cmp al, 1
jne 0x7467a387
inc eax
dec word [edx + 0xf]
test byte [eax - 0x31], bl
inc eax
add al, 0
jge 0x409fcf
insb byte es:[edi], dx
invalid
inc eax
cmp al, 0x7b
mov eax, dword [ebp - 0x38]
test eax, edi
invalid
Function at 0x418e89
Capabilities:
Encode data using xor

Disassembly:
call 0x8b97d354
jne 0x418e98
cmp esi, dword [0x4d1944]
je 0xdb58f35
cdq
add byte [ebp + ecx - 0x75], dh
adc eax, 0x4d1924
mov edx, dword [0x4d1924]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x418eb7
push ecx
call 0xdb58f48
mov edx, dword [0x4d1924]
mov eax, dword [edx + esi*4]
and dword [eax], 0
dec dword [0xd4d1930]
mov edx, dword [0x4d1924]
cmp esi, dword [0x4d1934]
jne 0x418ee7
cmp esi, 3
jl 0x418ee1
mov eax, dword [edx + esi*4]
or esp, 0xffffffcc
int3
mov dword [0x4d1934], esi
mov ecx, dword [0x4d1928]
pop esi
cmp ecx, 3
jbe 0x418efc
mov eax, dword [edx + ecx*4 - 4]
int3
xor eax, 0x490d04dc
mov dword [0x4d1928], ecx
push 4
push dword [edx + ecx*4]
call 0xc129fde9
mov eax, dword [0x4d1924]
pop ecx
pop ecx
mov ecx, dword [0x4d1928]
and dword [eax + ecx*4], 0
mov ecx, dword [0x4d1928]
cmp ecx, 3
jbe 0x418efc
mov edx, dword [0x4d1924]
jmp 0x418ef3
Function at 0x471f87
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub dword [0x4d06e0], 1
jne 0x471f95
call fcn.00472071
mov eax, dword [0x4d2ff4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4d2ff4], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x471fcd
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
sub dword [0x4d06e0], 1
jne 0x471fe0
call fcn.00472071
mov eax, dword [0x4d2ff4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4d2ff4], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x472023
fadd qword [0x4c81c0]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4c8190]
leave
ret

Function at 0x472031
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
mov dword [0x4d2630], ecx
inc esi
mov edx, esi
mov eax, dword [edx*4 + 0x4d262c]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [edx*4 + 0x4d2630], eax
inc edx
cmp edx, 0x458b0270
jl 0x47203d
mov dword [0x4d06e0], esi
mov dword [0x4d2ff0], esi
pop esi
ret

Function at 0x472071
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4d2ff0], 0
push esi
push edi
mov esi, 0x4d2630
jne 0x472094
push 0
call fcn.0042e513
pop ecx
mov ecx, eax
call 0x51472031
mov dword [0x4d06e0], 0x458b0270
mov edx, 0xe3
mov dword [0x4d2ff4], esi
mov eax, dword [esi + 4]
mov ecx, dword [esi]
xor ecx, eax
and al, 1
and ecx, 0x7f458bfe
movzx eax, al
xor ecx, dword [esi]
shr ecx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi + 0x458b0634]
mov dword [esi], ecx
add esi, 4
sub edx, 1
jne 0x4720a9
mov eax, dword [esi]
mov dword [ebp - 4], 0x8f0f018c
mov edi, dword [esi + 4]
mov ecx, eax
xor ecx, edi
and ecx, 0x7f458bfe
xor ecx, eax
mov eax, edi
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edi
xor ecx, dword [esi - 0x38c]
sub dword [ebp - 4], 1
mov dword [esi], ecx
lea esi, [esi + 4]
jne 0x4720e3
mov eax, dword [0x4d2630]
mov ecx, edi
xor ecx, eax
and al, 1
and ecx, 0x7f458bfe
movzx eax, al
xor ecx, edi
shr ecx, 1
neg eax
pop edi
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
leave
ret
Function at 0x472929
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
lea ecx, [ebp - 0xdc]
call 0x6472779
std
jne 0x47294f
lea ecx, [ebp - 0xdc]
call fcn.004727bd
xor esi, esi
test ebx, ebx
je 0x47296d
invalid
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call 0x45d328fd
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jb 0x472958
pop edi
pop esi
pop ebx
leave
ret

Function at 0x479137
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp - 0x74fbff80]
call fcn.0040a98c
mov ecx, dword [ebp + 0xc]
xor eax, eax
push 0x49cc08
mov dword [ebx + 0x32e82044], ecx
or edi, ecx
dec dword [ebx + 0x43bf085d]
add al, 0x8b
xor byte [ebx - 0x1c3a1732], cl
clc
dec dword [ebx + 0x18b084e]
mov dword [esp + 0x30], eax
mov dword [ebx + 0x418b7024], ecx
add al, 0x89
inc esp
and al, 0x74
mov eax, dword [ecx + 8]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x7c], eax
inc dword [eax]
mov eax, dword [ebx + 4]
mov esi, dword [eax + 4]
mov ecx, esi
call fcn.0040753b
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov dword [esp + 0x34], eax
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0xc]
invalid
Function at 0x403570
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov ebx, dword [ebp + 0x10]
mov esi, eax
push edi
mov edi, dword [ebp + 8]
lea ecx, [edi*8]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
lea edx, [ecx + ecx]
lea ecx, [edi*8]
sub ecx, edx
sub ecx, 2
je 0x4035b4
sub ecx, 2
jne 0x4035b7
add eax, 2
jmp 0x4035b7
add eax, 3
inc eax
cmp dword [ebx], eax
jae 0x4035cc
pop edi
mov dword [ebx], eax
pop esi
mov eax, 0xfffffff0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
xor edx, edx
test eax, eax
jle 0x403664
lea edx, [eax - 1]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
inc edx
lea eax, [edx + edx*2]
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
lea esp, [esp]
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
movzx edi, byte [esi + 2]
mov ebx, eax
sar ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + 0x435390]
mov byte [ecx], bl
mov ebx, edx
shl eax, 4
sar ebx, 4
add ebx, eax
and ebx, 0x3f
movzx eax, byte [ebx + 0x435390]
mov byte [ecx + 1], al
mov eax, edi
sar eax, 6
lea edx, [eax + edx*4]
and edx, 0x3f
movzx eax, byte [edx + 0x435390]
mov byte [ecx + 2], al
and edi, 0x3f
mov dl, byte [edi + 0x435390]
mov byte [ecx + 3], dl
add esi, 3
add ecx, 4
dec dword [ebp - 4]
jne 0x403600
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 8]
cmp edx, edi
jge 0x4036bc
movzx eax, byte [esi]
inc edx
cmp edx, edi
jge 0x403676
movzx esi, byte [esi + 1]
jmp 0x403678
xor esi, esi
mov ebx, eax
sar ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + 0x435390]
mov byte [ecx], bl
mov ebx, esi
sar ebx, 4
shl eax, 4
add ebx, eax
and ebx, 0x3f
mov al, byte [ebx + 0x435390]
mov byte [ecx + 1], al
cmp edx, edi
jge 0x4036b1
and esi, 0xf
mov dl, byte [esi*4 + 0x435390]
mov byte [ecx + 2], dl
jmp 0x4036b5
mov byte [ecx + 2], 0x3d
add ecx, 3
mov byte [ecx], 0x3d
inc ecx
mov edx, dword [ebp + 0x10]
mov eax, ecx
sub eax, dword [ebp + 0xc]
pop edi
mov dword [edx], eax
pop esi
mov byte [ecx], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4037f0
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push esi
mov esi, ecx
test esi, esi
je 0x40398e
test eax, eax
je 0x40398e
mov dword [eax + 0xf0], 0xa
mov ecx, dword [esi]
push edi
mov edx, ecx
ror edx, 8
and edx, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or edx, ecx
mov dword [eax], edx
mov edx, dword [esi + 4]
mov edi, edx
ror edi, 8
and edi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or edi, edx
mov dword [eax + 4], edi
mov edx, dword [esi + 8]
mov edi, edx
ror edi, 8
and edi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or edi, edx
mov dword [eax + 8], edi
mov edx, dword [esi + 0xc]
lea ecx, [eax + 4]
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov dword [eax + 0xc], esi
mov edx, esi
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x433a68]
xor edx, 0x1000000
mov edi, esi
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x433e68]
and edi, 0xff0000
and edx, 0xff000000
xor edx, edi
mov edi, esi
shr edi, 0x18
movzx edi, byte [edi*4 + 0x433668]
xor edx, edi
mov edi, esi
and edi, 0xff
mov edi, dword [edi*4 + 0x433268]
and edi, 0xff00
xor edx, edi
xor edx, dword [eax]
mov edi, dword [ecx]
xor edi, edx
mov dword [eax + 0x10], edx
mov edx, dword [eax + 8]
xor edx, edi
mov dword [eax + 0x18], edx
xor edx, esi
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], edx
mov esi, 0x43536c
jmp 0x403900
mov edx, dword [ecx + 0x18]
add ecx, 0x10
mov eax, edx
shr eax, 8
mov edi, edx
and eax, 0xff
mov eax, dword [eax*4 + 0x433e68]
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x433a68]
and eax, 0xff0000
and edi, 0xff000000
xor eax, edi
mov edi, edx
and edx, 0xff
mov edx, dword [edx*4 + 0x433268]
shr edi, 0x18
movzx edi, byte [edi*4 + 0x433668]
xor eax, edi
and edx, 0xff00
xor eax, edx
xor eax, dword [ecx - 4]
add esi, 4
xor eax, dword [esi - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ecx]
xor edx, eax
mov dword [ecx + 0x10], edx
mov eax, dword [ecx + 4]
xor eax, edx
mov dword [ecx + 0x14], eax
mov edx, dword [ecx + 8]
xor edx, eax
mov dword [ecx + 0x18], edx
cmp esi, 0x435390
jne 0x403900
pop edi
xor eax, eax
pop esi
ret
or eax, 0xffffffff
pop esi
ret
Function at 0x403fa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x43a660]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], esi
mov edx, eax
mov dword [ecx], 0
test edi, edi
je 0x404155
test ebx, ebx
je 0x404155
mov ecx, esi
test ecx, ecx
je 0x404155
cmp dword [ebp - 0x10], 0
je 0x404155
test eax, eax
je 0x404155
cmp ecx, 0x10
jb 0x4040b2
lea ecx, [ecx]
lea ecx, [ebx + 1]
mov ebx, edx
sub ebx, edi
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
sub ebx, edi
lea esi, [edx + 3]
sub edx, dword [ebp - 0xc]
mov eax, edi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], 4
mov edx, ebx
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
xor bl, byte [eax]
add eax, 4
mov byte [edx + eax - 4], bl
mov ebx, dword [ebp - 0x28]
movzx ebx, byte [ebx + ecx]
xor bl, byte [eax - 3]
add ecx, 4
mov byte [ecx - 4], bl
movzx ebx, byte [eax - 2]
xor bl, byte [esi - 1]
add esi, 4
mov byte [ecx - 3], bl
movzx ebx, byte [eax - 1]
xor bl, byte [esi - 4]
dec dword [ebp - 0x1c]
mov byte [ecx - 2], bl
jne 0x404036
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
push ecx
push ebx
mov eax, ebx
call fcn.004039a0
add esp, 8
test eax, eax
jne 0x40413f
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
add dword [eax], 0x10
sub esi, 0x10
mov edx, ebx
add ebx, 0x10
add edi, 0x10
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ebx
cmp esi, 0x10
jae 0x404010
mov eax, dword [ebp - 0x20]
test esi, esi
je 0x40410e
mov eax, edx
sub eax, edi
mov dword [ebp - 0x18], eax
mov eax, ebx
sub eax, edi
mov dword [ebp - 8], esi
mov ecx, dword [ebp - 0x18]
mov cl, byte [edi + ecx]
xor cl, byte [edi]
inc edi
dec dword [ebp - 8]
mov byte [edi + eax - 1], cl
jne 0x4040c4
cmp esi, 0x10
jae 0x4040f0
mov edi, 0x10
sub edx, ebx
lea eax, [ebx + esi]
sub edi, esi
mov cl, byte [edx + eax]
mov byte [eax], cl
inc eax
dec edi
jne 0x4040e7
mov edx, dword [ebp - 0x10]
push edx
push ebx
mov eax, ebx
call fcn.004039a0
add esp, 8
test eax, eax
jne 0x40413f
mov eax, dword [ebp - 0x14]
add dword [eax], 0x10
mov eax, dword [ebp - 0x20]
mov edx, ebx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword [eax], ecx
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041891c
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041891c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
or eax, 0xffffffff
pop ebx
call fcn.0041891c
mov esp, ebp
pop ebp
ret
Function at 0x405180
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x43a660]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov eax, 1
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x22c]
push eax
push 0
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [esi + 1]
push eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x22c], 3
mov dword [ebp - 0x228], 0x1f4
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x220], eax
test eax, eax
jle 0x4052c4
mov edi, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
lea ecx, [ebp - 0x110]
push ecx
push esi
call edi
lea edx, [ebp - 0x218]
push edx
push esi
mov ebx, eax
call edi
test ebx, ebx
je 0x4052af
test eax, eax
jne 0x4052af
mov byte [ebp - 0x21c], al
mov word [ebp - 0x21b], ax
mov byte [ebp - 0x219], al
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push 0x1007
push 0xffff
push esi
mov dword [ebp - 0x224], 4
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x4052af
mov edx, 0x433179
lea ecx, [ebp - 0x21c]
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x405290
test al, al
je 0x40528c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x405290
add ecx, 2
add edx, 2
test al, al
jne 0x405270
xor eax, eax
jmp 0x405295
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4052af
mov eax, dword [ebp - 0x220]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041891c
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffe
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041891c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.0041891c
mov esp, ebp
pop ebp
ret
Function at 0x4052e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e5e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x43a660]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [esi + 0x38]
xor edi, edi
cmp eax, edi
je 0x40531f
push eax
call fcn.00419007
add esp, 4
mov dword [esi + 0x38], edi
push 0x19000
call fcn.00417e90
add esp, 4
mov ebx, eax
mov byte [ebp - 0x2d], 1
mov byte [ebp - 0x2e], 0
cmp edi, 0x2800
jge 0x4053ba
cmp dword [esi + 0x3c], 0
je 0x405376
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 4]
test eax, eax
je 0x405357
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx eax, byte [esi + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [ebp - 0x34], 0
setne al
test al, al
je 0x4053ba
mov eax, dword [esi + 0x2c]
push 0
push 1
lea edx, [ebp - 0x2e]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x4053b6
mov cl, byte [ebp - 0x2e]
mov byte [edi + ebx], cl
inc edi
cmp edi, 4
jl 0x405336
cmp byte [edi + ebx - 4], 0xd
jne 0x405336
cmp byte [edi + ebx - 3], 0xa
jne 0x405336
cmp byte [edi + ebx - 2], 0xd
jne 0x405336
cmp byte [edi + ebx - 1], 0xa
jne 0x405336
jmp 0x4053ba
mov byte [ebp - 0x2d], 0
mov byte [edi + ebx], 0
mov eax, ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4053d5
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00401700
lea eax, [edi + 1]
push eax
mov dword [ebp - 4], 0
call fcn.00417e90
lea ecx, [edi + 1]
push ecx
push 0
push eax
mov dword [esi + 0x38], eax
call fcn.0041b5c0
mov edx, dword [esi + 0x38]
push edi
push ebx
push edx
call fcn.0041ad40
mov eax, dword [esi + 0x38]
add esp, 0x1c
push eax
call fcn.00405ba0
mov dword [esi + 0x10], eax
test ebx, ebx
je 0x40542e
push ebx
call fcn.00419007
add esp, 4
cmp dword [ebp - 0x18], 0x10
jb 0x405440
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00419012
add esp, 4
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041891c
mov esp, ebp
pop ebp
ret