joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100026b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x100026e2
jl 0x100026d5
test ecx, ecx
jne 0x100026e2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x100027a2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.10003be0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1000274e
jg 0x1000270d
test esi, esi
je 0x1000274e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x10002725
mov eax, dword [esp + 0x10]
jl 0x1000271f
cmp eax, esi
jae 0x10002725
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.100a1570
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x1000276f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x1000278b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x100026f4
jl 0x1000278b
test ecx, ecx
jne 0x100026f4
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x100027e6
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x100027e6
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.100a1570
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x10002857
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1000280c
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x10002842
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.100a5cc7
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x10002857
cmp edi, eax
ja 0x10002820
test edi, edi
je 0x10002857
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.100a5cc7
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10003f90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10145f20
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1022d400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.1009f71d
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1009e69e
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.10003f30
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100098b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10146465
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1022d400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x10286d64]
xor edi, edi
movss xmm0, dword [0x10286d54]
addss xmm0, dword [0x10220484]
mov eax, dword [esi + 0x3e78]
movss dword [0x10286d54], xmm0
movss xmm1, dword [eax + 0x1c]
mulss xmm1, dword [0x102204b0]
movss xmm2, dword [eax + 0x20]
mulss xmm2, dword [0x102204b0]
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x20], xmm0
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x28], xmm0
nop word [eax + eax]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x102204b4]
movss dword [ebp - 0x18], xmm0
cvtps2pd xmm0, xmm0
call fcn.10143230
mulsd xmm0, qword [0x10220528]
movss xmm1, dword [ebp - 0x18]
addsd xmm0, qword [ebp - 0x20]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x14], xmm0
cvtps2pd xmm0, xmm1
call fcn.10143f40
mulsd xmm0, qword [0x10220528]
movss xmm1, dword [ebp - 0x14]
movss dword [ebp - 0x38], xmm1
addsd xmm0, qword [ebp - 0x28]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 0x18]
addss xmm0, dword [0x10286d54]
movss dword [ebp - 0x18], xmm0
cvtps2pd xmm0, xmm0
call fcn.10143230
mulsd xmm0, qword [0x10220528]
movss xmm1, dword [ebp - 0x18]
addsd xmm0, qword [ebp - 0x20]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x14], xmm0
cvtps2pd xmm0, xmm1
call fcn.10143f40
mulsd xmm0, qword [0x10220528]
mov eax, dword [esi + 0x3e78]
movss xmm1, dword [ebp - 0x14]
push ecx
mov dword [esp], 0x40000000
lea ecx, [ebp - 0x30]
addsd xmm0, qword [ebp - 0x28]
mov byte [eax + 0xac], 1
mov eax, dword [esi + 0x3e78]
push 0xffffffffffffffff
push ecx
cvtsd2ss xmm0, xmm0
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [eax + 0x264]
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x2c], xmm0
call fcn.10031b60
inc edi
cmp edi, 0xc
jge 0x10009a2d
mov esi, dword [0x10286d64]
jmp 0x10009930
cmp byte [0x10286d98], 0
jne 0x10009a92
push 4
mov byte [0x10286d98], 1
call fcn.1009f71d
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], 0x10007dc0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10008f00
push 0
push 0
call fcn.100ab350
add esp, 0x18
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10009ac7
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10009ac0
push ecx
push eax
call fcn.1009ee60
add esp, 8
test eax, eax
jne 0x10009ac0
cmp byte [0x10286d50], 0
je 0x10009aa5
mov dword [0x10286d94], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009f33b
mov esp, ebp
pop ebp
ret
push 1
call fcn.1009ed7b
push 6
mov dword [ebp - 0x1c], 0
call fcn.1009ed7b
int3
Function at 0x1000c640
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x1000c677
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0
push 0x1000bfc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10286d60], eax
mov eax, 1
pop ebp
ret 0xc
test eax, eax
jne 0x1000c688
push eax
push dword [0x10286d60]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x10012110
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x10012171
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10012154
cmp edi, 2
jb 0x10012154
cmp byte [esi], cl
jne 0x10012154
cmp byte [esi + 1], cl
jne 0x10012154
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1021a9b8]
jmp 0x10012125
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1021a9b8]
test edi, edi
jne 0x10012125
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x100121a0
cmp cl, 0x23
jne 0x10012187
cmp byte [esi], cl
jne 0x10012187
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x1021a9b8]
test cl, cl
jne 0x10012178
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x100122b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x100122c3
mov dword [ebx], 0
mov edx, 0x1021ffe4
call fcn.100121b0
mov esi, eax
test esi, esi
je 0x100123a0
push esi
call fcn.100abb12
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x10012397
push 2
push 0
push esi
call fcn.100a6125
add esp, 0xc
test eax, eax
jne 0x10012397
push esi
call fcn.100abb12
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x10012397
push 0
push dword [ebp + 8]
push esi
call fcn.100a6125
add esp, 0xc
test eax, eax
jne 0x10012397
mov eax, dword [0x10286d64]
test eax, eax
je 0x10012336
inc dword [eax + 0xac]
push edi
call fcn.100ab41d
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x10012397
push esi
push edi
push 1
push eax
call fcn.100a5cc7
add esp, 0x10
push esi
cmp eax, edi
je 0x10012381
call fcn.100a50b7
mov eax, dword [0x10286d64]
add esp, 4
test eax, eax
je 0x1001236f
dec dword [eax + 0xac]
push dword [ebp + 8]
call fcn.100a5931
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.100a50b7
add esp, 4
test ebx, ebx
je 0x1001238f
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.100a50b7
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x10014b90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1022d400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov esi, 4
mov eax, dword [edi + 0xe4]
mov ebx, dword [edi + 0xec]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1021a9b8]
sub esi, 1
jne 0x10014bd0
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3eac], ebx
jne 0x10014c07
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.10026210
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009f33b
mov esp, ebp
pop ebp
ret 4

Function at 0x10017ea0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x10017edd
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x10017ec3
cmp byte [esi], bl
jne 0x10017ec3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x1021a9b8]
test bl, bl
jne 0x10017eb4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.10017e40
Function at 0x100250e0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x10286d64]
test bl, bl
je 0x10025126
or edi, 0xffffffff
cmp bl, 0x23
jne 0x10025107
cmp byte [esi], bl
jne 0x10025107
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x1021a9b8]
test bl, bl
jne 0x100250f8
mov edi, dword [0x10286d64]
mov esi, dword [edi + 0x5a94]
xor ecx, ecx
not eax
test esi, esi
jle 0x1002514c
mov edi, dword [edi + 0x5a9c]
lea edx, [edi + 4]
nop dword [eax]
cmp dword [edx], eax
je 0x10025152
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x10025140
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea eax, [ecx + ecx*8]
lea eax, [edi + eax*4]
pop edi
pop esi
pop ebx
ret
Function at 0x1002f740
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1002f776
mov eax, dword [0x10286d64]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1002f766
dec dword [eax + 0xac]
push ecx
call fcn.100a5931
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1002f7aa
mov eax, dword [0x10286d64]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1002f79a
dec dword [eax + 0xac]
push ecx
call fcn.100a5931
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1002f7de
mov eax, dword [0x10286d64]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1002f7ce
dec dword [eax + 0xac]
push ecx
call fcn.100a5931
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x1002f82e
mov eax, dword [0x10286d64]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1002f81e
dec dword [eax + 0xac]
push ecx
call fcn.100a5931
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x1002f862
mov eax, dword [0x10286d64]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1002f852
dec dword [eax + 0xac]
push ecx
call fcn.100a5931
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x1002f896
mov eax, dword [0x10286d64]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x1002f886
dec dword [eax + 0xac]
push ecx
call fcn.100a5931
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.100331f0
Function at 0x100489c0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x10048a6f
push esi
call fcn.1005d7b0
add esp, 4
test al, al
jne 0x10048a6f
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x100489e7
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.100685c0
add esp, 0xc
test eax, eax
je 0x10048a1b
sub eax, esi
push eax
push 0x2e
push esi
call fcn.100685c0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x10048a1d
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 0x10048a4e
nop dword [eax]
mov al, byte [esi]
push eax
call fcn.10058a00
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 0x10048a30
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 0x10056bc0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push str.kernel32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
jne 0x10056bda
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push 0x1014ba00
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x1014ba10
push esi
call fcn.100b2591
add esp, 8
test eax, eax
je 0x10056c22
test ebp, ebp
je 0x10056c13
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x10056c48
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10056c48
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x10056d22
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10056c65
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + edx]
lea eax, [eax*2 + 2]
push eax
call dword [0x1022d008]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10056d18
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10056d18
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10056ca6
sub ecx, edx
sar ecx, 1
mov dword [ebx + ecx*2], 0x5c
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10056cc1
sub ecx, edx
sar ecx, 1
add ecx, ecx
sub ecx, esi
add ecx, ebx
nop word [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x10056ce0
test ebp, ebp
je 0x10056d0f
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x1022d00c]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push ebx
call dword [0x1022d00c]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x1005d7b0
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x18
mov eax, dword [0x1022d400]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
lea eax, [esp + 4]
push eax
push esi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x1005d7f8
lea eax, [esp + 8]
push eax
push esi
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
pop esi
setg al
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.1009f33b
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
mov al, 1
pop esi
xor ecx, esp
call fcn.1009f33b
add esp, 0x18
ret

Function at 0x1005d960
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x1005d99e
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x104], 0
jne 0x1005d98f
push 0
call fcn.1005d960
add esp, 4
test al, al
mov eax, dword [esi + 0x7c]
setne cl
inc cl
mov byte [eax + 0x104], cl
mov eax, dword [esi + 0x7c]
pop esi
cmp byte [eax + 0x104], 2
sete al
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x1005d9b3
xor al, al
pop esi
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
pop esi
ret
Function at 0x1005e700
Capabilities:
Convert ip address from string
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
mov eax, dword [0x1022d400]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x78]
push edi
xor edi, edi
mov dword [esp + 8], eax
cmp byte [eax + 0x6c3], 0
je 0x1005e8d9
cmp byte [ebp + 0x18], 0
push ebx
lea ebx, [ebp + 0x18]
je 0x1005e8d8
push esi
mov esi, dword [sym.imp.WS2_32.dll_inet_pton]
lea eax, [esp + 0x34]
push eax
push ebx
push 2
call esi
test eax, eax
jg 0x1005e8d7
lea eax, [esp + 0x38]
push eax
push ebx
push 0x17
call esi
test eax, eax
jg 0x1005e8d7
push dword [ebp + 0x14]
cmp byte [ebx], 0
mov eax, str._none_
mov esi, dword [ebp]
mov ebp, dword [esp + 0x14]
cmovne eax, ebx
push eax
push str.Host__s:_d_was_resolved.
push ebp
call fcn.10054530
lea eax, [esp + 0x24]
push 0x400
push eax
call fcn.10049000
lea eax, [esp + 0x3c]
push 0x400
push eax
call fcn.10049000
add esp, 0x20
test esi, esi
je 0x1005e84b
lea edx, [edi + 0x10]
mov ecx, dword [esi + 4]
cmp ecx, 0x17
je 0x1005e7c2
cmp ecx, 2
jne 0x1005e840
xor eax, eax
mov byte [esp + 0x48], 0
cmp ecx, 2
lea ebx, [esp + 0x14]
cmovne eax, edx
add ebx, eax
sub ecx, 2
je 0x1005e7f1
sub ecx, 0x15
jne 0x1005e806
push 0x2e
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x18]
add eax, 8
push eax
push 0x17
jmp 0x1005e801
push 0x2e
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x18]
add eax, 4
push eax
push 2
call sub.WS2_32.dll_inet_ntop
push ebx
call fcn.10049020
add esp, 4
test eax, eax
je 0x1005e825
push 2
push 0x10220068
push ebx
call fcn.10048fc0
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x1005e86b
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.10048f60
mov edi, eax
add esp, 8
test edi, edi
jne 0x1005e86b
lea edx, [eax + 0x10]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x1005e7b1
lea eax, [esp + 0x24]
push eax
call fcn.10049020
add esp, 4
test eax, eax
je 0x1005e87b
lea eax, [esp + 0x24]
push eax
call fcn.10049030
add esp, 4
jmp 0x1005e880
push str.too_many_IP__cant_show
push ebp
call fcn.10054530
add esp, 8
jmp 0x1005e8c0
mov eax, str._none_
push eax
push str.IPv6:__s
push ebp
call fcn.10054530
lea eax, [esp + 0x20]
push eax
call fcn.10049020
add esp, 0x10
test eax, eax
je 0x1005e8ac
lea eax, [esp + 0x14]
push eax
call fcn.10049030
add esp, 4
jmp 0x1005e8b1
mov eax, str._none_
push eax
push str.IPv4:__s
push ebp
call fcn.10054530
add esp, 0xc
lea eax, [esp + 0x14]
push eax
call fcn.10048fd0
lea eax, [esp + 0x28]
push eax
call fcn.10048fd0
add esp, 8
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
pop edi
pop ebp
xor ecx, esp
call fcn.1009f33b
add esp, 0x6c
ret
Function at 0x10068d20
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.10048d20
push dword [esp + 0x38]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call fcn.10066ee0
push dword [esp + 0x40]
mov edi, eax
call fcn.10066ee0
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebx
test eax, eax
jne 0x10068db5
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.10048d20
movups xmm0, xmmword [esp + 0x14]
sub esp, 0xc
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.10048dd0
add esp, 0x20
test edx, edx
ja 0x10068dd9
jb 0x10068da7
cmp eax, 0x3e8
ja 0x10068dd9
push 1
call ebp
push 1
push esi
push edi
call ebx
test eax, eax
je 0x10068d70
test edi, edi
je 0x10068dc2
push edi
call fcn.100a5931
add esp, 4
test esi, esi
je 0x10068dcf
push esi
call fcn.100a5931
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test edi, edi
je 0x10068de6
push edi
call fcn.100a5931
add esp, 4
test esi, esi
je 0x10068df3
push esi
call fcn.100a5931
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret