joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41304a
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x414c30
push 1
xor ebx, ebx
push ebx
push 0x414ce0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41311b
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x414cd0
push eax
call dword [ecx]
test eax, eax
jl 0x413112
cmp byte [ebp + 8], bl
je 0x41309d
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x4130ba
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x4130cc
push 0x41437c
jmp 0x4130cf
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x4130e4
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x4130f5
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x413109
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
leave
ret 0x1c

Function at 0x413135
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x56cd7c36
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x420a6054
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x10010670
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10010834
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x1001069a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100106a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10010690
mov eax, 1
add ebx, ebx
jne 0x100106b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100106a8
jne 0x100106c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100106a8
xor ecx, ecx
sub eax, 3
jb 0x100106d8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1001074a
mov ebp, eax
add ebx, ebx
jne 0x100106e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x100106f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10010714
inc ecx
add ebx, ebx
jne 0x10010700
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100106f5
jne 0x10010711
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100106f5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10010734
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10010725
jmp 0x10010696
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10010734
add edi, ecx
jmp 0x10010696
pop esi
mov edi, esi
mov ecx, 0x156
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10010752
cmp byte [edi], 2
jne 0x10010752
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x10010757
lea edi, [esi + 0xe000]
mov eax, dword [edi]
or eax, eax
je 0x100107c6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x101dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10290]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10010784
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x10294]
or eax, eax
je 0x100107c0
mov dword [ebx], eax
add ebx, 4
jmp 0x100107a1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x100107f7
cmp al, 0xef
ja 0x100107ea
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x100107cc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x100107d9
mov ebp, dword [esi + 0x10298]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1001082b
sub esp, 0xffffff80
jmp 0x10003344
Function at 0x405610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
test esi, esi
jbe 0x40563d
test cl, 7
je 0x40563d
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4315a0]
dec esi
inc ecx
jmp 0x40561e
cmp esi, 8
jb 0x4056e0
mov edx, esi
shr edx, 3
mov dword [ebp + 8], edx
push ebx
mov edx, dword [ecx + 4]
xor eax, dword [ecx]
mov ebx, edx
shr ebx, 0x10
movzx edi, bl
mov edi, dword [edi*4 + 0x4319a0]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4315a0]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x431da0]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x4325a0]
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
xor edi, dword [ebx*4 + 0x4329a0]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x432da0]
movzx edx, dl
xor edi, dword [edx*4 + 0x4321a0]
movzx eax, al
xor edi, dword [eax*4 + 0x4331a0]
sub esi, 8
add ecx, 8
dec dword [ebp + 8]
mov eax, edi
jne 0x40564f
pop ebx
jmp 0x4056e0
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4315a0]
dec esi
inc ecx
test esi, esi
ja 0x4056cc
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4059a1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push 0x40
pop ebx
cmp esi, ebx
jbe 0x4059eb
lea eax, [ebp - 0x1d0]
push eax
call fcn.004106ae
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x1d0]
push eax
call fcn.004109b0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x1d0]
push eax
call fcn.00410a29
lea eax, [ebp - 0x80]
push 0x20
mov dword [ebp + 8], eax
pop esi
xor ecx, ecx
push edi
test esi, esi
jbe 0x405a0b
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x40]
sub edi, eax
lea eax, [ebp + ecx - 0x40]
mov dl, byte [edi + eax]
xor dl, 0x36
inc ecx
mov byte [eax], dl
cmp ecx, esi
jb 0x4059fa
cmp esi, ebx
jae 0x405a23
mov ecx, ebx
sub ecx, esi
push ecx
lea eax, [ebp + esi - 0x40]
push 0x36
push eax
call fcn.0041a820
add esp, 0xc
lea eax, [ebp - 0xf0]
push eax
call fcn.004106ae
push ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.004109b0
push dword [ebp + 0x14]
lea eax, [ebp - 0xf0]
push dword [ebp + 0x10]
push eax
call fcn.004109b0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.00410a29
lea eax, [ebp - 0x160]
push eax
call fcn.004106ae
xor ecx, ecx
test esi, esi
jbe 0x405a8d
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x40]
sub edi, eax
lea eax, [ebp + ecx - 0x40]
mov dl, byte [edi + eax]
xor dl, 0x5c
inc ecx
mov byte [eax], dl
cmp ecx, esi
jb 0x405a7c
pop edi
cmp esi, ebx
jae 0x405aa6
mov ecx, ebx
sub ecx, esi
push ecx
lea eax, [ebp + esi - 0x40]
push 0x5c
push eax
call fcn.0041a820
add esp, 0xc
push ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.004109b0
push 0x20
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.004109b0
push dword [ebp + 0x18]
lea eax, [ebp - 0x160]
push eax
call fcn.00410a29
pop esi
pop ebx
leave
ret 0x14
Function at 0x40cef5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
cmp dword [0x438808], ebx
jne 0x40cf0e
mov ecx, 0x438800
call fcn.0040ceb6
mov esi, dword [ebp + 0xc]
mov ecx, esi
and ecx, 0xf
mov eax, esi
xor edx, edx
sub eax, ecx
cmp byte [ebp + 0x14], bl
setne dl
cmp byte [ebp + 0x10], bl
je 0x40cf60
mov ecx, dword [0x438808]
cmp ecx, ebx
je 0x40cf7c
push edx
push eax
push dword [ebp + 8]
call ecx
test eax, eax
jne 0x40cf9d
push 0x42a7cc
mov esi, 0x4335ac
push esi
call fcn.00406423
pop ecx
pop ecx
mov ecx, esi
call fcn.00401000
push 2
mov ecx, esi
call fcn.00406371
jmp 0x40cf9d
mov ecx, dword [0x43880c]
cmp ecx, ebx
je 0x40cf7c
push edx
push eax
push dword [ebp + 8]
call ecx
test eax, eax
jne 0x40cf9d
push 0x42a794
jmp 0x40cf41
call dword [0x42a09c]
xor ecx, ecx
cmp esi, ebx
jbe 0x40cf9d
mov dl, al
add dl, 0x4b
mov eax, dword [ebp + 8]
add eax, ecx
mov bl, dl
add bl, cl
xor byte [eax], bl
inc ecx
cmp ecx, esi
jb 0x40cf8d
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x4106ae
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret 4
Function at 0x4129eb
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
ret 0x8ce
push ebp
int3
mov esp, 0x7cd993e9
fldenv [edi + 0x5a528ec8]
pop eax
jle 0x412936
inc esi
dec ebx
fisubr word [esi - 0x500ca5c5]
add ebp, ecx
cmp edx, dword [edx]
insd dword es:[edi], dx
into
les edx, [ebx - 0x4af4856a]
mov dl, 0xb
add dword [0xb8a9a19], 0x61de6400
jecxz 0x412977
or esi, dword [ebp + 0x5810bb2]
sbb dword [edx + 0x64000b8a], ebx
fisub word [ecx - 0x1d]
invalid
out dx, eax
rcr byte [edx - 0x43], 6
mov bh, 0x70
insd dword es:[edi], dx
jle 0x41291a
sub byte [ebx], dh
dec esi
inc edi
scasd eax, dword es:[edi]
pop es
in eax, dx
sub edx, 0x4b9f62af
push ebp
and ecx, dword [esi]
push cs
not dword [ebx + 0x36]
je 0x412957
xchg dword [eax], ecx
sbb ah, ch
inc ecx
sahf
aad 5
xor al, 0x15
mov dword cs:[0x800b95bf], eax
add ebx, dword [eax]
pop ds
dec eax
cwde
sbb cl, byte [0x70d79629]
pop edi
cli
pop ds
mov ebp, ecx
mov ecx, 0x464eae0f
invalid
jnp 0xe95d28eb
sub bl, 0xe8
aam 0x64
xlatb
lahf
jno 0x412a72
loope 0x412997
mov byte [ecx + ebp*8], al
hlt
dec ebp
add esi, ebp
mov bh, 0xbd
dec esp
mov ah, 0x88
dec dword [edi - 0x50]
xor dword [ebx], edx
jl 0x412a59
outsb dx, byte [esi]
test eax, 0x8e2f6a00
jmp 0x412a90
jmp edi
adc eax, 0x7fde0f9a
out dx, al
inc edi
cmc
push ebx
mov bh, 0x9b
xchg ecx, eax
out 0x36, al
xchg byte [ecx + edi*4 + 0x7cfd2483], cl
push 0x8b0f225f
stosb byte es:[edi], al
xchg esp, eax
mov cl, byte [esi]
push cs
insd dword es:[edi], dx
loopne 0x412a1e
lds esp, [ecx + 0x60]
arpl word [edx], dx
adc eax, 0xa4c8f306
mov cl, 0x23
ja 0x412b05
mov ds, word [eax]
sub dl, byte [edx - 0x3a]
and al, 0xf6
or eax, 0x49b5be70
adc al, 0x3f
sbb dl, byte [ecx + ebx*8 - 0x51]
out dx, eax
stosb byte es:[edi], al
das
or edx, dword [esi + eax - 0x431bd983]
inc edi
cmp byte [edx - 1], cl
push ecx
sbb dword [edi], edi
jne 0x412af2
sub al, 0x5c
lds edx, [ecx + ebx*8]
cmp al, 0x33
xor bl, bl
ror dword [eax + 0x3341d9cc], 1
jne 0x412afd
jo 0x412b0d
or bh, dh
sbb esi, edx
fnstsw word [ebp + 0x51e01ad9]
invalid
pop esi
xor al, cl
push cs
fist dword [ebp + 0x6c57c3dc]
push edi
insb byte es:[edi], dx
xchg edi, eax
lodsd eax, dword [esi]
iretd
cmp dl, al
invalid
das
inc ebp
add byte [ebp - 0x505c0581], dl
rcr dword [edi + 0x281f4991], cl
int 0x6a
lodsd eax, dword [esi]
xchg ebp, eax
jg 0x412b0a
mov dword [0x919fd3af], eax
dec ecx
pop ds
sub ch, cl
push 0xffffffffffffffad
jno 0x412afa
insd dword es:[edi], dx
invalid
Function at 0x10005fe0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
mov eax, dword [0x100942f8]
mov dword [esp + 4], 0x4020
mov dword [esp], 0
mov dword [esp + 8], 4
test eax, eax
jne 0x10006031
push 3
push 2
push eax
push eax
push 6
call fcn.1004dc00
add esp, 0x14
test al, al
je 0x10006025
mov dword [0x100942f8], 2
add esp, 0xc
ret
mov dword [0x100942f8], 1
jmp 0x10006036
cmp eax, 2
je 0x1000607c
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
push eax
push 0x1001
push 0xffff
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x10006061
mov eax, dword [esp]
cmp eax, dword [esp + 4]
jg 0x1000607c
push 4
lea eax, [esp + 8]
push eax
push 0x1001
push 0xffff
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_setsockopt]
add esp, 0xc
ret
Function at 0x10006b80
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x104
mov eax, dword [0x10093800]
xor eax, esp
mov dword [esp + 0x100], eax
mov ecx, dword [esp + 0x10c]
push ebx
mov ebx, dword [esp + 0x10c]
push esi
push edi
mov edi, dword [esp + 0x120]
mov eax, dword [ebx]
push 0
push dword [esp + 0x120]
mov eax, dword [eax + 8]
push ecx
mov dword [edi], 0
push dword [eax + 0x98]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10006c1f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x10006bec
mov dword [edi], 0x51
jmp 0x10006c1c
push 0x100
lea eax, [esp + 0x10]
push eax
push esi
call fcn.10040350
push eax
push str.Recv_failure:__s
push dword [ebx + 4]
call fcn.1000e9b0
mov eax, dword [ebx + 4]
add esp, 0x18
mov dword [eax + 0x934], esi
mov dword [edi], 0x38
or esi, 0xffffffff
push dword [edi]
push esi
push dword [esp + 0x124]
push str.nw_in_read_len_zu______d__err_d
push dword [ebx]
push dword [ebx + 4]
call fcn.1000eb10
mov ecx, dword [esp + 0x124]
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10059807
add esp, 0x104
ret

Function at 0x10006c60
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x188
mov eax, dword [0x10093800]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x18c]
push ebx
mov ebx, dword [esp + 0x194]
push esi
mov esi, dword [eax + 8]
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x1e8]
test dword [eax + 0x44], 0x800
jne 0x10006d8d
push 0x80
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0x80
push 0
push eax
call fcn.1005aec0
add esp, 0xc
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x98]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x10006d1a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x8c]
push 0x100
push eax
push esi
call fcn.10040350
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.1000e9b0
add esp, 0x1c
mov eax, 2
pop esi
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.10059807
add esp, 0x188
ret
lea eax, [esi + 0x120]
push eax
lea eax, [esi + 0xf0]
push eax
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
call fcn.10008ea0
add esp, 0x10
test al, al
jne 0x10006d8d
push edi
call fcn.100631c8
mov esi, dword [eax]
call fcn.100631c8
mov edi, eax
lea eax, [esp + 0x90]
push 0x100
push eax
push esi
call fcn.10040350
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.1000e9b0
add esp, 0x1c
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.10059807
add esp, 0x188
ret
mov ecx, dword [esp + 0x18c]
xor eax, eax
pop esi
pop ebx
xor ecx, esp
call fcn.10059807
add esp, 0x188
ret
Function at 0x1000bf60
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x1000c00f
push esi
call fcn.1001ae00
add esp, 4
test al, al
jne 0x1000c00f
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1000bf87
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.1000d2e0
add esp, 0xc
test eax, eax
je 0x1000bfbb
sub eax, esi
push eax
push 0x2e
push esi
call fcn.1000d2e0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x1000bfbd
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
lea ebx, [esi + edi]
mov edi, 0x1505
cmp esi, ebx
jae 0x1000bfee
nop dword [eax]
mov al, byte [esi]
push eax
call fcn.1003fa50
movsx ecx, al
inc esi
mov eax, edi
add esp, 4
shl eax, 5
add eax, edi
xor ecx, eax
mov edi, ecx
cmp esi, ebx
jb 0x1000bfd0
mov eax, 0x4104105
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov ecx, esi
shl ecx, 6
sub ecx, esi
sub edi, ecx
mov eax, edi
pop edi
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x1000c300
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x20]
push edi
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [eax], edi
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 4], eax
test eax, eax
jne 0x1000c48f
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x1000c47a
push ebx
push ebp
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1000c35c
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000c350
sub eax, edx
inc eax
jmp 0x1000c35e
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], eax
cmp ecx, 2
jne 0x1000c36f
lea ebp, [ecx + 0xe]
jmp 0x1000c37b
cmp ecx, 0x17
jne 0x1000c41c
lea ebp, [ecx + 5]
cmp dword [esi + 0x18], 0
je 0x1000c41c
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1000c41c
cmp ecx, ebp
jb 0x1000c41c
add eax, 0x20
add eax, ebp
push eax
call dword [0x1009225c]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1000c46b
mov ecx, dword [esi]
mov dword [ebx], ecx
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x20]
push ebp
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], eax
push dword [esi + 0x18]
push eax
call fcn.1005a940
mov ecx, dword [esp + 0x20]
add esp, 0xc
test ecx, ecx
je 0x1000c408
mov eax, dword [ebx + 0x18]
add eax, ebp
push ecx
mov dword [ebx + 0x14], eax
push dword [esi + 0x14]
push eax
call fcn.1005a940
add esp, 0xc
mov eax, dword [esp + 0x18]
test edi, edi
cmove edi, ebx
test eax, eax
je 0x1000c418
mov dword [eax + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x1000c342
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
pop ebp
pop ebx
test eax, eax
je 0x1000c43c
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
je 0x1000c476
test edi, edi
je 0x1000c45b
mov esi, dword [edi + 0x1c]
push edi
call dword [0x10092260]
add esp, 4
mov edi, esi
test esi, esi
jne 0x1000c444
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret
mov esi, 8
mov dword [esp + 0x10], esi
jmp 0x1000c42b
test edi, edi
jne 0x1000c486
mov esi, 0x2af9
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret

Function at 0x1000c7f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
test edi, edi
je 0x1000c83b
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x1000c801
pop edi
pop esi
pop ebx
ret
Function at 0x1000e8a0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call fcn.10065390
mov ecx, eax
add esp, 0x18
xor eax, eax
test ecx, ecx
je 0x1000e8c6
cmp ecx, 0xffffffff
cmovne eax, ecx
ret
Function at 0x10013ff0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x8c
mov eax, dword [0x10093800]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x9c]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
mov ebx, dword [edi + 0x18]
mov esi, dword [ebx + 0x12c]
push esi
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1001405b
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x80
push eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.WS2_32.dll_accept]
mov dword [esp + 0xc], eax
jmp 0x1001405f
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
jne 0x1001408f
push str.Error_accept__ing_server_connect
push edi
call fcn.1000e9b0
add esp, 8
mov eax, 0x1e
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.10059807
add esp, 0x8c
ret
push str.Connection_accepted_from_server
push edi
call fcn.1000ea80
mov byte [ebx + 0x1d5], 0
push 1
push dword [esp + 0x18]
call fcn.10030e10
lea eax, [esp + 0x1c]
push eax
push 1
push ebx
push edi
call fcn.10005cb0
add esp, 0x20
test eax, eax
jne 0x10014129
cmp dword [edi + 0x1ac], eax
je 0x10014127
push 1
push edi
call fcn.1002d0e0
mov eax, dword [edi + 0x1ac]
push 1
push dword [esp + 0x18]
push dword [edi + 0x1b0]
call eax
push 0
push edi
mov esi, eax
call fcn.1002d0e0
add esp, 0x1c
test esi, esi
je 0x10014127
push 1
push edi
call fcn.10007440
push 1
push ebx
push edi
call fcn.10007220
add esp, 0x14
mov eax, 0x2a
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.10059807
add esp, 0x8c
ret
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10059807
add esp, 0x8c
ret