joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c0e2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417f10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408890
mov dword [ebp - 0x14], eax
cmp dword [0x43b898], esi
jne 0x40c1d5
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c162
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c2b5
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c2b5
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c2b5
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43b898], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43b89c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43b8a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43b8a8], eax
test eax, eax
je 0x40c1d2
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43b8a4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c1fa
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c1ed
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c20f
push 4
pop eax
jmp 0x40c2b7
cmp dword [ebp - 0x14], esi
je 0x40c20f
push dword [0x43b898]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c1f4
mov eax, dword [0x43b8a4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c26d
cmp dword [0x43b8a8], edi
je 0x40c26d
push eax
call ebx
push dword [0x43b8a8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c26d
test eax, eax
je 0x40c26d
call ecx
test eax, eax
je 0x40c262
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c262
test byte [ebp - 8], 1
jne 0x40c26d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c29d
mov eax, dword [0x43b89c]
cmp eax, edi
je 0x40c29a
push eax
call ebx
test eax, eax
je 0x40c29a
call eax
mov esi, eax
test esi, esi
je 0x40c29a
mov eax, dword [0x43b8a0]
cmp eax, edi
je 0x40c29a
push eax
call ebx
test eax, eax
je 0x40c29a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43b898]
call ebx
test eax, eax
je 0x40c2b5
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c2b7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403da7
mov esp, ebp
pop ebp
ret
Function at 0x4b9320
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x77000]
push edi
jmp 0x4b933a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b9341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b9330
mov eax, 1
add ebx, ebx
jne 0x4b9353
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b9364
jne 0x4b9383
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b9383
dec eax
add ebx, ebx
jne 0x4b9370
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b9348
add ebx, ebx
jne 0x4b937f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b93d5
xor ecx, ecx
sub eax, 3
jb 0x4b939b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b940a
sar eax, 1
mov ebp, eax
jmp 0x4b93a6
add ebx, ebx
jne 0x4b93a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b9374
inc ecx
add ebx, ebx
jne 0x4b93b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b9374
add ebx, ebx
jne 0x4b93c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b93b6
jne 0x4b93d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b93b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b93f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b93e6
jmp 0x4b9336
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b93f4
add edi, ecx
jmp 0x4b9336
pop esi
mov edi, esi
mov ecx, 0x3726
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b9412
cmp byte [edi], 0x22
jne 0x4b9412
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 0x4b9417
lea edi, [esi + 0xb5000]
mov eax, dword [edi]
or eax, eax
je 0x4b948f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc20d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc2224]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b9444
mov ecx, edi
jns 0x4b9473
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc2228]
or eax, eax
je 0x4b9489
mov dword [ebx], eax
add ebx, 4
jmp 0x4b9461
call dword [esi + 0xc2238]
mov ebp, dword [esi + 0xc222c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x4b94c3
sub esp, 0xffffff80
jmp 0x416781
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x305e05bd
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x66de64b9
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x41ac5c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add edi, dword [edx + 0x1c]
add esi, dword [edx + 0x24]
lea esi, [esi + ecx*2]
push ebx
jmp 0x41ab44
push 0
pop eax
imul eax, eax, 0xf
push eax
jmp 0x41ac72
movzx eax, word [esi]
pop esi
add esi, dword [edi + eax*4]
ret 4
ret
lodsd eax, dword [esi]
lea edi, [eax + ebx]
cmp ecx, dword [edx + 0x18]
je 0x41abab
jmp 0x41ab38
add esi, dword [edx + 0x20]
pop ecx
inc ecx
jmp 0x41ac06
mov edx, ebx
jmp 0x41accb
movzx eax, byte [edi]
lea edi, [edi + 1]
sub dword [esp], eax
cmp byte [edi], 1
pop eax
jmp 0x41acdc
mov esi, ebx
mov eax, ebx
add eax, dword [ebx + 0x3c]
add edx, dword [eax + 0x78]
push 0xffffffffffffffff
jmp 0x41ac40
ja 0x41ab3b
xor eax, 0x120db64b
sbb eax, dword [esp + 4]
jmp 0x41ad5c
jne 0x41ac44
lea edi, [ebx]
lea esi, [ebx]
jmp 0x41604e

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000bba0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
mov ebx, dword [eax]
push edi
push 0x800
push 0x40
mov dword [esp + 0x1c], ebx
call dword [ebx + 0x2c]
mov edi, eax
test edi, edi
jne 0x1000bbcc
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push 0
push 0
push ecx
push edx
call dword [ebx + 0x24]
mov eax, dword [esp + 0x2c]
mov ebp, 0xfce1305e
test eax, eax
je 0x1000bc90
jmp 0x1000bbf4
mov eax, dword [esp + 0x2c]
cmp eax, 0x800
jb 0x1000bc00
mov eax, 0x800
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push 0
push ecx
push eax
push edi
push edx
call dword [ebx + 0x14]
test eax, eax
je 0x1000bca0
mov edx, dword [esp + 0x10]
test edx, edx
je 0x1000bce2
xor esi, esi
test edx, edx
jle 0x1000bc67
mov ecx, ebp
xor ecx, 0x28215090
mov eax, ecx
mov ebx, ecx
shr eax, 0x18
shr ebx, 0x10
xor al, bl
mov ebx, ecx
shr ebx, 8
xor al, bl
mov bl, byte [esi + edi]
xor al, bl
xor al, cl
mov byte [esi + edi], al
and eax, 0xff
shl ebp, 8
add ebp, eax
inc esi
cmp esi, edx
jl 0x1000bc2b
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push 0
push eax
push edx
push edi
push ecx
call dword [ebx + 0x18]
test eax, eax
je 0x1000bcc2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
sub eax, edx
mov dword [esp + 0x2c], eax
jne 0x1000bbf0
push edi
call dword [ebx + 0x30]
pop edi
pop esi
pop ebp
mov ax, 1
pop ebx
add esp, 0xc
ret
push 0
call dword [ebx + 0x78]
push eax
mov eax, dword [esp + 0x38]
push eax
call fcn.1000c910
add esp, 0xc
push edi
call dword [ebx + 0x30]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc
ret
call dword [ebx + 0x78]
mov ecx, dword [esp + 0x30]
push eax
push ecx
call fcn.1000c980
add esp, 8
push edi
call dword [ebx + 0x30]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc
ret
push 0
call dword [ebx + 0x78]
mov edx, dword [esp + 0x34]
push eax
push edx
call fcn.1000c910
add esp, 0xc
push edi
call dword [ebx + 0x30]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc
ret

Function at 0x1000c780
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
mov al, byte [ecx]
xor edi, edi
mov byte [esi], al
mov al, byte [ecx]
test al, al
je 0x1000c7ba
mov edx, esi
push ebx
sub edx, ecx
mov al, byte [ecx + 1]
mov bl, byte [edx + ecx]
inc edi
inc ecx
dec al
xor al, bl
mov byte [edx + ecx], al
mov al, byte [ecx]
test al, al
jne 0x1000c79b
mov byte [edi + esi], 0
pop ebx
mov eax, esi
pop edi
pop esi
ret
mov byte [edi + esi], 0
mov eax, esi
pop edi
pop esi
ret
Function at 0x401600
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x24], eax
call fcn.00401170
lea eax, [esp + 4]
push eax
push 0x40
push 0x80
push fcn.00401170
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x4031dc
lea ecx, [esp + 0x10]
call fcn.00401720
call fcn.004014b0
call fcn.004014e0
call fcn.00401510
call fcn.00401540
call fcn.00401570
call fcn.004015a0
call fcn.004015d0
lea eax, [esp + 8]
push eax
push dword [esp + 8]
push 0x80
push fcn.00401170
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [esp + 0x20]
cmp ecx, 0xf
jbe 0x4016b2
mov edx, dword [esp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4016a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4016a8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00401b78
add esp, 8
mov ecx, dword [esp + 0x24]
xor eax, eax
xor ecx, esp
call fcn.00401b3a
mov esp, ebp
pop ebp
ret

Function at 0x4023da
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402419
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402419
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402419
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402419
cmp dword [ecx + 0x74], 0xe
jbe 0x402419
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40b4e0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x40b58f
push esi
call fcn.0041fa40
add esp, 4
test al, al
jne 0x40b58f
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x40b507
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.00429400
add esp, 0xc
test eax, eax
je 0x40b53b
sub eax, esi
push eax
push 0x2e
push esi
call fcn.00429400
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x40b53d
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 0x40b56e
nop dword [eax]
mov al, byte [esi]
push eax
call fcn.0041ccd0
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 0x40b550
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 0x4197b0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x47fde0
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x4197ca
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 0x47fdfc
push esi
call fcn.00467eb0
add esp, 8
test eax, eax
je 0x419812
test ebp, ebp
je 0x419803
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 0x419838
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x419838
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 0x4198ef
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419855
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 0x4198e5
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x4198e5
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419887
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 0x4198a0
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 0x4198b0
test ebp, ebp
je 0x4198dc
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x493004]
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 [0x493004]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x419900
Capabilities:
Get common file path
Initialize winsock library
Link many functions at runtime

Disassembly:
sub esp, 0x198
mov eax, dword [0x4933c0]
xor eax, esp
mov dword [esp + 0x194], eax
test byte [esp + 0x19c], 2
je 0x419961
lea eax, [esp + 4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x419947
mov eax, dword [esp + 4]
cmp al, 2
jne 0x419941
shr eax, 8
cmp al, 2
je 0x419961
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004572a2
add esp, 0x198
ret
call fcn.0044a870
test eax, eax
jne 0x419b34
push ebp
push esi
push edi
push 0x47fde0
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x419995
mov dword [0x493fac], esi
jmp 0x419ab9
push ebx
push str.LoadLibraryExA
push edi
call ebp
push 0x47fdfc
push str.iphlpapi.dll
mov ebx, eax
call fcn.00467eb0
add esp, 8
test eax, eax
je 0x4199de
test ebx, ebx
je 0x4199cc
push 8
push 0
push str.iphlpapi.dll
call ebx
mov esi, eax
jmp 0x419a9d
push str.iphlpapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
jmp 0x419a9d
test ebx, ebx
je 0x419a03
push str.AddDllDirectory
push edi
call ebp
test eax, eax
je 0x419a03
push 0x800
push 0
push str.iphlpapi.dll
call ebx
mov esi, eax
jmp 0x419a9d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [esp + 0x10], eax
test eax, eax
je 0x419a9d
lea ecx, [eax + 0xd]
push ecx
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
je 0x419a93
push dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x419a93
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419a40
sub ecx, edx
mov eax, 0x5c
mov edx, edi
mov word [ecx + edi], ax
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x419a57
sub edx, ecx
mov ecx, str.iphlpapi.dll
sub edx, ecx
add edx, edi
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x419a70
test ebx, ebx
je 0x419a8a
push 8
push 0
push edi
call ebx
jmp 0x419a91
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push edi
call dword [0x493004]
add esp, 4
mov dword [0x493fac], esi
pop ebx
test esi, esi
je 0x419ab9
push str.if_nametoindex
push esi
call ebp
test eax, eax
je 0x419ab9
mov dword [0x493f9c], eax
push str.ws2_32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
je 0x419af1
push str.FreeAddrInfoExW
push esi
call ebp
push str.GetAddrInfoExCancel
push esi
mov dword [0x493fa0], eax
call ebp
push str.GetAddrInfoExW
push esi
mov dword [0x493fa4], eax
call ebp
mov dword [0x493fa8], eax
push 3
push 2
push 0
push 0
push 6
call fcn.0044a490
push 3
push 2
push 0
test al, al
push 2
push 6
setne byte [0x494ad1]
call fcn.0044a490
add esp, 0x28
test al, al
setne byte [0x494ad0]
push 0x494ad8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004572a2
add esp, 0x198
ret
Function at 0x41fbf0
Capabilities:
Create udp socket

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

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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x4933c0]
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 0x420b82
cmp byte [ebp + 0x18], 0
push ebx
lea ebx, [ebp + 0x18]
je 0x420b81
lea eax, [esp + 0x30]
push eax
push ebx
push 2
call fcn.0042dc00
add esp, 0xc
test eax, eax
jg 0x420b81
lea eax, [esp + 0x34]
push eax
push ebx
push 0x17
call fcn.0042dc00
add esp, 0xc
test eax, eax
jg 0x420b81
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.00417120
lea eax, [esp + 0x24]
push 0x400
push eax
call fcn.0040bb20
lea eax, [esp + 0x3c]
push 0x400
push eax
call fcn.0040bb20
add esp, 0x20
test esi, esi
je 0x420af4
lea edx, [edi + 0x10]
mov ecx, dword [esi + 4]
cmp ecx, 0x17
je 0x420a68
cmp ecx, 2
jne 0x420ae9
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 0x420a97
sub ecx, 0x15
jne 0x420aaf
push 0x2e
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x18]
add eax, 8
push eax
push 0x17
jmp 0x420aa7
push 0x2e
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x18]
add eax, 4
push eax
push 2
call fcn.004493f0
add esp, 0x10
push ebx
call fcn.0040bb40
add esp, 4
test eax, eax
je 0x420ace
push 2
push 0x47f994
push ebx
call fcn.0040bae0
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x420b14
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.0040ba80
mov edi, eax
add esp, 8
test edi, edi
jne 0x420b14
lea edx, [eax + 0x10]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x420a57
lea eax, [esp + 0x24]
push eax
call fcn.0040bb40
add esp, 4
test eax, eax
je 0x420b24
lea eax, [esp + 0x24]
push eax
call fcn.0040bb50
add esp, 4
jmp 0x420b29
push str.too_many_IP__cant_show
push ebp
call fcn.00417120
add esp, 8
jmp 0x420b69
mov eax, str._none_
push eax
push str.IPv6:__s
push ebp
call fcn.00417120
lea eax, [esp + 0x20]
push eax
call fcn.0040bb40
add esp, 0x10
test eax, eax
je 0x420b55
lea eax, [esp + 0x14]
push eax
call fcn.0040bb50
add esp, 4
jmp 0x420b5a
mov eax, str._none_
push eax
push str.IPv4:__s
push ebp
call fcn.00417120
add esp, 0xc
lea eax, [esp + 0x14]
push eax
call fcn.0040baf0
lea eax, [esp + 0x28]
push eax
call fcn.0040baf0
add esp, 8
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
pop edi
pop ebp
xor ecx, esp
call fcn.004572a2
add esp, 0x6c
ret
Function at 0x429b60
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.0040b840
push dword [esp + 0x38]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call fcn.0046c2a4
push dword [esp + 0x40]
mov edi, eax
call fcn.0046c2a4
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 0x429bf5
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.0040b840
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.0040b8f0
add esp, 0x20
test edx, edx
ja 0x429c19
jb 0x429be7
cmp eax, 0x3e8
ja 0x429c19
push 1
call ebp
push 1
push esi
push edi
call ebx
test eax, eax
je 0x429bb0
test edi, edi
je 0x429c02
push edi
call fcn.0046561d
add esp, 4
test esi, esi
je 0x429c0f
push esi
call fcn.0046561d
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test edi, edi
je 0x429c26
push edi
call fcn.0046561d
add esp, 4
test esi, esi
je 0x429c33
push esi
call fcn.0046561d
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret