joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, ecx
xorps xmm0, xmm0
lea eax, [esi + 0xf]
lea ecx, [edx + 0xf]
movups xmmword [edx], xmm0
mov byte [edx + 0x10], 0
cmp edx, eax
ja 0x41596c
cmp ecx, esi
jb 0x41596c
push edi
mov ecx, edx
sub esi, edx
mov edi, 0x10
nop dword [eax + eax]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, 0x5a
mov byte [ecx - 1], al
sub edi, 1
jne 0x415950
pop edi
mov eax, edx
mov byte [edx + 0x10], 0
pop esi
pop ebp
ret 4
movups xmm0, xmmword [esi]
mov eax, edx
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
xorps xmm1, xmm0
movups xmmword [edx], xmm1
mov byte [edx + 0x10], 0
pop esi
pop ebp
ret 4

Function at 0x4159b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edi
mov edi, ecx
xor ecx, ecx
lea eax, [esi + 0x10]
lea edx, [edi + 0x10]
movups xmmword [edi], xmm0
mov word [edi + 0x10], 0
cmp edi, eax
ja 0x4159d6
cmp edx, esi
jae 0x4159eb
movups xmm0, xmmword [esi]
mov ecx, 0x10
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
xorps xmm1, xmm0
movups xmmword [edi], xmm1
mov edx, 0x11
lea eax, [ecx + edi]
sub esi, edi
sub edx, ecx
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor cl, 0x5a
mov byte [eax - 1], cl
sub edx, 1
jne 0x4159f7
mov byte [edi + 0x11], dl
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x415a20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
push edi
mov edi, ecx
lea eax, [edx + 0x26]
xor ebx, ebx
lea ecx, [edi + 0x26]
movups xmmword [edi], xmm0
movups xmmword [edi + 0x10], xmm0
movq qword [edi + 0x20], xmm0
cmp edi, eax
ja 0x415a4e
cmp ecx, edx
jb 0x415a4e
sub edx, edi
jmp 0x415a75
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
mov ecx, 2
mov eax, edi
sub edx, edi
lea ebx, [ecx + 0x1e]
lea eax, [eax + 0x10]
movups xmm0, xmmword [edx + eax - 0x10]
xorps xmm0, xmm1
movups xmmword [eax - 0x10], xmm0
sub ecx, 1
jne 0x415a61
mov esi, 0x27
lea eax, [ebx + edi]
sub esi, ebx
nop
mov cl, byte [edx + eax]
lea eax, [eax + 1]
xor cl, 0x5a
mov byte [eax - 1], cl
sub esi, 1
jne 0x415a80
mov byte [edi + 0x27], 0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x415fc0
Capabilities:
Encode data using xor

Disassembly:
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
xorps xmm1, xmm0
movups xmmword [ecx], xmm1
xor byte [ecx + eax], 0x5a
inc eax
cmp eax, 0x17
jb 0x415fd5
ret
Function at 0x415fe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edi
mov edi, ecx
xor ecx, ecx
lea eax, [esi + 0x16]
lea edx, [edi + 0x16]
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
cmp edi, eax
ja 0x416005
cmp edx, esi
jae 0x41601a
movups xmm0, xmmword [esi]
mov ecx, 0x10
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
xorps xmm1, xmm0
movups xmmword [edi], xmm1
mov edx, 0x17
lea eax, [ecx + edi]
sub esi, edi
sub edx, ecx
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor cl, 0x5a
mov byte [eax - 1], cl
sub edx, 1
jne 0x416026
mov byte [edi + 0x17], dl
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x416050
Capabilities:
Encode data using xor

Disassembly:
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
xor eax, eax
nop dword [eax]
movups xmm0, xmmword [eax + ecx]
xorps xmm0, xmm1
movups xmmword [eax + ecx], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x416060
ret

Function at 0x416080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, ecx
lea eax, [edx + 0x1f]
lea ecx, [esi + 0x1f]
movups xmmword [esi], xmm0
movups xmmword [esi + 0x10], xmm0
mov byte [esi + 0x20], 0
cmp esi, eax
ja 0x4160cc
cmp ecx, edx
jb 0x4160cc
push edi
mov ecx, esi
sub edx, esi
mov edi, 0x20
nop
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor al, 0x5a
mov byte [ecx - 1], al
sub edi, 1
jne 0x4160b0
pop edi
mov eax, esi
mov byte [esi + 0x20], 0
pop esi
pop ebp
ret 4
movaps xmm1, xmmword [str.ZZZZZZZZZZZZZZZZ]
mov eax, esi
sub edx, esi
mov ecx, 2
nop dword [eax]
lea eax, [eax + 0x10]
movups xmm0, xmmword [edx + eax - 0x10]
xorps xmm0, xmm1
movups xmmword [eax - 0x10], xmm0
sub ecx, 1
jne 0x4160e0
mov eax, esi
mov byte [esi + 0x20], cl
pop esi
pop ebp
ret 4
Function at 0x41a7b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca70d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4f2480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.00402f00
mov eax, dword [ebp + 8]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x3c], 0
mov ebx, dword [eax + 4]
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push eax
call fcn.0041bc10
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov byte [ebp + 0xb], al
mov byte [ebp - 4], 0
test ebx, ebx
je 0x41a86d
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
test eax, eax
je 0x41a86a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov al, byte [ebp + 0xb]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x41a886
mov eax, dword [esi + 0xc]
mov ecx, esi
push 0
or eax, 4
push eax
call fcn.00402db0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41ad70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9190
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4f2480]
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_wchar_t__struct_std::char_traits_wchar_t__.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.0049d9d0
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004850aa
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.0041ace0
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 0x41b520
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9190
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4f2480]
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.0049d9d0
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.004850aa
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.0041ace0
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 0x41f3b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4caccc
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4f2480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
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
lea ebx, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x41f464
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 5
push 9
mov byte [edi + 0x60], al
call fcn.0041a570
mov byte [ebp - 4], 6
xor ebx, ebx
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x10]
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], edx
test ecx, ecx
jns 0x41f4ab
mov eax, ecx
neg eax
cmp ebx, eax
jae 0x41f4ab
add ecx, ebx
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x41f4b5
add ecx, ebx
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
and ecx, 0x1f
lea eax, [ebp - 0xd]
push ecx
push edx
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x10]
call fcn.00421860
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x41f4e3
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x4261f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x42624d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x426210
mov eax, dword [esi]
jmp 0x42632b
cmp eax, 0x4e0
jb 0x42632b
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x426266
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x4262b1
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4343b0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x43445f
push esi
call fcn.004486e0
add esp, 4
test al, al
jne 0x43445f
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4343d7
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.00451f00
add esp, 0xc
test eax, eax
je 0x43440b
sub eax, esi
push eax
push 0x2e
push esi
call fcn.00451f00
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x43440d
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 0x43443e
nop dword [eax]
mov al, byte [esi]
push eax
call fcn.004440b0
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 0x434420
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 0x4422c0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x4d0e14
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x4422da
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x4e741c
push esi
call fcn.004afcd0
add esp, 8
test eax, eax
je 0x442322
test ebp, ebp
je 0x442313
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_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x442348
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x442348
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_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x4423ff
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442365
sub ecx, ebx
lea eax, [ecx + 1]
add eax, edx
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4423f5
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x4423f5
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442397
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4423b0
sub ecx, edx
sub ecx, esi
add ecx, ebx
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x4423c0
test ebp, ebp
je 0x4423ec
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x4f2004]
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_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x4f2004]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x448890
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x4488ce
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x104], 0
jne 0x4488bf
push 0
call fcn.00448890
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 0x4488e3
xor al, al
pop esi
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
pop esi
ret

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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x4f2480]
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 + 0x6cb], 0
je 0x449832
cmp byte [ebp + 0x18], 0
push ebx
lea ebx, [ebp + 0x18]
je 0x449831
lea eax, [esp + 0x30]
push eax
push ebx
push 2
call fcn.004567a0
add esp, 0xc
test eax, eax
jg 0x449831
lea eax, [esp + 0x34]
push eax
push ebx
push 0x17
call fcn.004567a0
add esp, 0xc
test eax, eax
jg 0x449831
cmp byte [ebx], 0
mov eax, str._none_
push esi
push dword [ebp + 0x14]
mov esi, dword [ebp]
cmovne eax, ebx
mov ebp, dword [esp + 0x14]
push eax
push str.Host__s:_d_was_resolved.
push ebp
call fcn.0043fbb0
lea eax, [esp + 0x24]
push 0x400
push eax
call fcn.00435250
lea eax, [esp + 0x3c]
push 0x400
push eax
call fcn.00435250
add esp, 0x20
test esi, esi
je 0x4497a4
lea edx, [edi + 0x10]
mov ecx, dword [esi + 4]
cmp ecx, 0x17
je 0x449718
cmp ecx, 2
jne 0x449799
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 0x449747
sub ecx, 0x15
jne 0x44975f
push 0x2e
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x18]
add eax, 8
push eax
push 0x17
jmp 0x449757
push 0x2e
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x18]
add eax, 4
push eax
push 2
call fcn.00471b30
add esp, 0x10
push ebx
call fcn.00435270
add esp, 4
test eax, eax
je 0x44977e
push 2
push 0x4d0a04
push ebx
call fcn.00435210
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x4497c4
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.004351c0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4497c4
lea edx, [eax + 0x10]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x449707
lea eax, [esp + 0x24]
push eax
call fcn.00435270
add esp, 4
test eax, eax
je 0x4497d4
lea eax, [esp + 0x24]
push eax
call fcn.00435280
add esp, 4
jmp 0x4497d9
push str.too_many_IP__cant_show
push ebp
call fcn.0043fbb0
add esp, 8
jmp 0x449819
mov eax, str._none_
push eax
push str.IPv6:__s
push ebp
call fcn.0043fbb0
lea eax, [esp + 0x20]
push eax
call fcn.00435270
add esp, 0x10
test eax, eax
je 0x449805
lea eax, [esp + 0x14]
push eax
call fcn.00435280
add esp, 4
jmp 0x44980a
mov eax, str._none_
push eax
push str.IPv4:__s
push ebp
call fcn.0043fbb0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
call fcn.00435220
lea eax, [esp + 0x28]
push eax
call fcn.00435220
add esp, 8
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
pop edi
pop ebp
xor ecx, esp
call fcn.0049d991
add esp, 0x6c
ret
Function at 0x452660
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.00434710
push dword [esp + 0x38]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call fcn.004b9481
push dword [esp + 0x40]
mov edi, eax
call fcn.004b9481
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebx
test eax, eax
jne 0x4526f5
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.00434710
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.004347c0
add esp, 0x20
test edx, edx
ja 0x452719
jb 0x4526e7
cmp eax, 0x3e8
ja 0x452719
push 1
call ebp
push 1
push esi
push edi
call ebx
test eax, eax
je 0x4526b0
test edi, edi
je 0x452702
push edi
call fcn.004a2c03
add esp, 4
test esi, esi
je 0x45270f
push esi
call fcn.004a2c03
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test edi, edi
je 0x452726
push edi
call fcn.004a2c03
add esp, 4
test esi, esi
je 0x452733
push esi
call fcn.004a2c03
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x452c10
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 0x452d9f
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x452d8a
push ebx
push ebp
mov eax, dword [esi + 0x14]
test eax, eax
je 0x452c6c
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x452c60
sub eax, edx
inc eax
jmp 0x452c6e
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], eax
cmp ecx, 2
jne 0x452c7f
lea ebp, [ecx + 0xe]
jmp 0x452c8b
cmp ecx, 0x17
jne 0x452d2c
lea ebp, [ecx + 5]
cmp dword [esi + 0x18], 0
je 0x452d2c
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x452d2c
cmp ecx, ebp
jb 0x452d2c
add eax, 0x20
add eax, ebp
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x452d7b
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.0049f5a0
mov ecx, dword [esp + 0x20]
add esp, 0xc
test ecx, ecx
je 0x452d18
mov eax, dword [ebx + 0x18]
add eax, ebp
push ecx
mov dword [ebx + 0x14], eax
push dword [esi + 0x14]
push eax
call fcn.0049f5a0
add esp, 0xc
mov eax, dword [esp + 0x18]
test edi, edi
cmove edi, ebx
test eax, eax
je 0x452d28
mov dword [eax + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x452c52
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
pop ebp
pop ebx
test eax, eax
je 0x452d4c
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
je 0x452d86
test edi, edi
je 0x452d6b
mov esi, dword [edi + 0x1c]
push edi
call dword [0x4f2004]
add esp, 4
mov edi, esi
test esi, esi
jne 0x452d54
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 0x452d3b
test edi, edi
jne 0x452d96
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 0x4531a0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call fcn.004ae7d9
mov ecx, eax
add esp, 0x18
xor eax, eax
test ecx, ecx
je 0x4531c6
cmp ecx, 0xffffffff
cmovne eax, ecx
ret