joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b900
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x4b8040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edx
mov edx, ecx
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x78]
movlpd qword [ebp - 0x78], xmm0
mov dword [ebp - 0x70], 0x6a09e667
mov dword [ebp - 0x6c], 0xbb67ae85
mov dword [ebp - 0x68], 0x3c6ef372
mov dword [ebp - 0x64], 0xa54ff53a
mov dword [ebp - 0x60], 0x510e527f
mov dword [ebp - 0x5c], 0x9b05688c
mov dword [ebp - 0x58], 0x1f83d9ab
mov dword [ebp - 0x54], 0x5be0cd19
call fcn.0042bba0
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x78]
call fcn.0042bc50
mov eax, dword [ebp + 0xc]
mov ecx, 0x20
cmp eax, ecx
cmova eax, ecx
push eax
lea eax, [ebp - 0x98]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop esi
call fcn.0044317d
mov esp, ebp
pop ebp
ret
Function at 0x42bc50
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
mov ecx, dword [esi + 0x28]
cmp ecx, 0x40
jae 0x42bde4
lea eax, [ecx*8]
add dword [esi], eax
push ebx
adc dword [esi + 4], 0
mov byte [ecx + esi + 0x2c], 0x80
mov eax, dword [esi + 0x28]
inc eax
mov dword [esi + 0x28], eax
cmp eax, 0x38
jbe 0x42bcae
cmp eax, 0x40
jae 0x42bc97
mov byte [eax + esi + 0x2c], 0
mov eax, dword [esi + 0x28]
inc eax
mov dword [esi + 0x28], eax
cmp eax, 0x40
jb 0x42bc86
lea ebx, [esi + 0x2c]
mov ecx, esi
mov edx, ebx
call fcn.0042b9b0
mov dword [esi + 0x28], 0
xor eax, eax
jmp 0x42bcb3
lea ebx, [esi + 0x2c]
jae 0x42bcc4
mov byte [eax + esi + 0x2c], 0
mov eax, dword [esi + 0x28]
inc eax
mov dword [esi + 0x28], eax
cmp eax, 0x38
jb 0x42bcb3
movzx eax, byte [esi + 7]
mov edx, ebx
mov byte [esi + 0x64], al
mov ecx, esi
movzx eax, byte [esi + 6]
mov byte [esi + 0x65], al
movzx eax, byte [esi + 5]
mov byte [esi + 0x66], al
movzx eax, byte [esi + 4]
mov byte [esi + 0x67], al
movzx eax, byte [esi + 3]
mov byte [esi + 0x68], al
movzx eax, byte [esi + 2]
mov byte [esi + 0x69], al
movzx eax, byte [esi + 1]
mov byte [esi + 0x6a], al
movzx eax, byte [esi]
mov byte [esi + 0x6b], al
call fcn.0042b9b0
movzx eax, byte [esi + 0xb]
mov byte [edi], al
movzx eax, byte [esi + 0xa]
mov byte [edi + 1], al
movzx eax, byte [esi + 9]
mov byte [edi + 2], al
movzx eax, byte [esi + 8]
mov byte [edi + 3], al
movzx eax, byte [esi + 0xf]
mov byte [edi + 4], al
movzx eax, byte [esi + 0xe]
mov byte [edi + 5], al
movzx eax, byte [esi + 0xd]
mov byte [edi + 6], al
movzx eax, byte [esi + 0xc]
mov byte [edi + 7], al
movzx eax, byte [esi + 0x13]
mov byte [edi + 8], al
movzx eax, byte [esi + 0x12]
mov byte [edi + 9], al
movzx eax, byte [esi + 0x11]
mov byte [edi + 0xa], al
movzx eax, byte [esi + 0x10]
mov byte [edi + 0xb], al
movzx eax, byte [esi + 0x17]
mov byte [edi + 0xc], al
movzx eax, byte [esi + 0x16]
mov byte [edi + 0xd], al
movzx eax, byte [esi + 0x15]
mov byte [edi + 0xe], al
movzx eax, byte [esi + 0x14]
mov byte [edi + 0xf], al
movzx eax, byte [esi + 0x1b]
mov byte [edi + 0x10], al
movzx eax, byte [esi + 0x1a]
mov byte [edi + 0x11], al
movzx eax, byte [esi + 0x19]
mov byte [edi + 0x12], al
movzx eax, byte [esi + 0x18]
mov byte [edi + 0x13], al
movzx eax, byte [esi + 0x1f]
mov byte [edi + 0x14], al
movzx eax, byte [esi + 0x1e]
mov byte [edi + 0x15], al
movzx eax, byte [esi + 0x1d]
mov byte [edi + 0x16], al
movzx eax, byte [esi + 0x1c]
mov byte [edi + 0x17], al
movzx eax, byte [esi + 0x23]
mov byte [edi + 0x18], al
movzx eax, byte [esi + 0x22]
mov byte [edi + 0x19], al
movzx eax, byte [esi + 0x21]
mov byte [edi + 0x1a], al
movzx eax, byte [esi + 0x20]
mov byte [edi + 0x1b], al
movzx eax, byte [esi + 0x27]
mov byte [edi + 0x1c], al
movzx eax, byte [esi + 0x26]
mov byte [edi + 0x1d], al
movzx eax, byte [esi + 0x25]
mov byte [edi + 0x1e], al
movzx eax, byte [esi + 0x24]
mov byte [edi + 0x1f], al
pop ebx
pop edi
pop esi
ret
Function at 0x42edb0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4b43c8
push 0x443530
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ecx
sub esp, 0x54
mov eax, dword [0x4b8040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x24], eax
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x58], ecx
xor eax, eax
mov byte [ebp - 0x51], al
xor ecx, ecx
mov byte [ebp - 0x52], cl
xor edx, edx
mov byte [ebp - 0x53], dl
movzx eax, byte [ebp - 0x51]
push eax
movzx ecx, byte [ebp - 0x52]
push ecx
movzx edx, byte [ebp - 0x53]
push edx
lea ecx, [ebp - 0x70]
call fcn.00442470
mov ecx, eax
call fcn.00442090
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0xc
call fcn.0041dac0
nop
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
mov edx, dword [ebp - 0x4c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x42ee8b
xor al, al
jmp 0x42ef2b
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov byte [ecx], 0xc3
lea edx, [ebp - 0x28]
push edx
push 0x140
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x42eeb6
xor al, al
jmp 0x42ef2b
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
push 0x42ef18
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0044317d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x42f3f0
Capabilities:
Reference the vmware io port

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4b43e8
push 0x443530
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
sub esp, 0x58
push esi
push edi
mov eax, dword [0x4b8040]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x30], 0x4ae123d3
mov dword [ebp - 0x2c], 0x4fb575a7
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x30], 0xecccd0c8
mov dword [ebp - 0x2c], 0x8f7ac825
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x30], 0x6c13bf92
mov dword [ebp - 0x2c], 0x9c8fcbf2
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x30], 0x7f0c4430
mov dword [ebp - 0x2c], 0x165cf366
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0x2bb66e85
mov dword [ebp - 0x2c], 0x679510d5
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x30], 0x98beb99e
mov dword [ebp - 0x2c], 0xaf16a950
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x30], 0x470dedf
mov dword [ebp - 0x2c], 0xb5eaa59b
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x30], 0x7f0c4430
mov dword [ebp - 0x2c], 0x165cf366
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
movaps xmm1, xmmword [ebp - 0x50]
xorps xmm1, xmmword [ebp - 0x70]
movaps xmmword [ebp - 0x50], xmm1
movaps xmm1, xmmword [ebp - 0x40]
xorps xmm1, xmmword [ebp - 0x60]
movaps xmmword [ebp - 0x40], xmm1
lea eax, [ebp - 0x50]
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f530
sub eax, edx
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [esi + 0xc]
call fcn.0041f4e0
mov byte [ebp - 0x21], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x21]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x21]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4314c0
Capabilities:
Access peb ldr_data
Encode data using xor
Enumerate threads
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4b8040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0x20], 0x1c
push ebx
push esi
mov eax, dword [eax + 0xc]
push edi
mov dword [ebp - 0x2c], ecx
mov eax, dword [eax + 0xc]
nop dword [eax]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x28], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp - 0x24], ecx
cmp ecx, esi
je 0x431554
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x431554
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0x8dfa651c
mov cl, byte [edx]
inc edx
test cl, cl
je 0x43154d
nop word [eax + eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x431530
cmp esi, 0xd19af3d4
je 0x431558
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x431515
mov eax, dword [eax]
jmp 0x4314f0
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
push 0
push 4
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
push ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x4315b6
mov esi, dword [sym.imp.KERNEL32.dll_Thread32Next]
mov edi, dword [ebp - 0x2c]
nop word [eax + eax]
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi]
je 0x431638
lea eax, [ebp - 0x20]
push eax
push ebx
call esi
test eax, eax
jne 0x4315a0
cmp ebx, 0xffffffff
je 0x43166c
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop dword [eax + eax]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x28], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x2c], ecx
cmp ecx, edx
je 0x431634
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x431634
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov esi, 0xd8500e7
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x43162d
nop word [eax + eax]
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x431610
cmp esi, 0x23ce14bb
je 0x43164c
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x4315f5
mov eax, dword [eax]
jmp 0x4315d0
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044317d
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
push dword [ebp - 0x24]
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044317d
mov esp, ebp
pop ebp
ret
Function at 0x442980
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4b8040]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x10], ebx
lea edx, [ecx + 1]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4429a8
sub ecx, edx
lea eax, [ecx*2 + 0x400]
push eax
call fcn.00443527
add esp, 4
mov esi, eax
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 8]
mov ecx, esi
call fcn.0042cb80
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4429e0
mov edi, dword [ebx]
sub ecx, edx
cmp byte [ebp + 0x14], al
jne 0x442a63
test edi, edi
je 0x442a0e
mov edx, dword [ebp - 0xc]
lea ebx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x442a00
sub edx, ebx
jne 0x442a32
mov ebx, dword [ebp - 0x10]
xor al, al
mov ecx, 8
push esi
mov byte [ebx + ecx], al
call fcn.00443522
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0044317d
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x442a49
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442a40
sub ecx, edx
push ecx
push esi
push 1
push 0
push dword [ebp - 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, dword [ebp - 0x10]
test eax, eax
sete al
jmp 0x442a10
test edi, edi
je 0x442a0e
mov edx, dword [ebp - 0xc]
lea ebx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x442a70
sub edx, ebx
je 0x442a0b
test ecx, ecx
jne 0x442a8d
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442a84
sub ecx, edx
push ecx
push esi
push 7
push 0
push dword [ebp - 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, dword [ebp - 0x10]
test eax, eax
sete al
jmp 0x442a10

Function at 0x4430ff
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x443126
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x443129
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.004430db
pop esi
leave
ret 8

Function at 0x443e3f
Capabilities:
Parse pe header

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

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x44dcef
push esi
call fcn.00463fb0
add esp, 4
test al, al
jne 0x44dcef
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x44dc67
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.0046d130
add esp, 0xc
test eax, eax
je 0x44dc9b
sub eax, esi
push eax
push 0x2e
push esi
call fcn.0046d130
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x44dc9d
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 0x44dcce
nop dword [eax]
mov al, byte [esi]
push eax
call fcn.00460470
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 0x44dcb0
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 0x45ae00
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp byte [edi + 0x6bb], 0
je 0x45ae9f
cmp dword [edi + 0x194], 0
je 0x45ae57
push edi
call fcn.00448950
push 1
push edi
mov byte [esp + 0x14], al
call fcn.00448df0
push dword [edi + 0x144]
mov eax, dword [edi + 0x194]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
call eax
push dword [esp + 0x28]
push edi
call fcn.00448df0
add esp, 0x28
pop edi
ret
mov ecx, dword [esp + 0xc]
mov eax, ecx
sub eax, 0
je 0x45ae6c
sub eax, 1
je 0x45ae6c
sub eax, 1
jne 0x45ae9f
push dword [edi + 0x140]
lea eax, [ecx*2 + 0x4a41a8]
push 1
add eax, ecx
push 2
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [edi + 0x140]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x20
pop edi
ret

Function at 0x45e650
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x4a4848
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x45e66a
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 0x4a4864
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
add esp, 8
test eax, eax
je 0x45e6b3
test ebp, ebp
je 0x45e6a4
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 0x45e6d9
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45e6d9
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 0x45e78f
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45e6f6
sub ecx, ebx
lea eax, [ecx + 1]
add eax, edx
push eax
call dword [0x4b80a4]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x45e785
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x45e785
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45e728
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 0x45e740
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 0x45e750
test ebp, ebp
je 0x45e77c
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x4b80a8]
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 [0x4b80a8]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x464160
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x46419e
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x114], 0
jne 0x46418f
push 0
call fcn.00464160
add esp, 4
test al, al
mov eax, dword [esi + 0x7c]
setne cl
inc cl
mov byte [eax + 0x114], cl
mov eax, dword [esi + 0x7c]
pop esi
cmp byte [eax + 0x114], 2
sete al
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x4641b3
xor al, al
pop esi
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
pop esi
ret

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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x4b8040]
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 + 0x6bb], 0
je 0x4650f2
cmp byte [ebp + 0x18], 0
push ebx
lea ebx, [ebp + 0x18]
je 0x4650f1
lea eax, [esp + 0x30]
push eax
push ebx
push 2
call fcn.00472060
add esp, 0xc
test eax, eax
jg 0x4650f1
lea eax, [esp + 0x34]
push eax
push ebx
push 0x17
call fcn.00472060
add esp, 0xc
test eax, eax
jg 0x4650f1
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.0045af80
lea eax, [esp + 0x24]
push 0x400
push eax
call fcn.0044e280
lea eax, [esp + 0x3c]
push 0x400
push eax
call fcn.0044e280
add esp, 0x20
test esi, esi
je 0x465064
lea edx, [edi + 0x10]
mov ecx, dword [esi + 4]
cmp ecx, 0x17
je 0x464fd8
cmp ecx, 2
jne 0x465059
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 0x465007
sub ecx, 0x15
jne 0x46501f
push 0x2e
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x18]
add eax, 8
push eax
push 0x17
jmp 0x465017
push 0x2e
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 0x18]
add eax, 4
push eax
push 2
call fcn.0048e940
add esp, 0x10
push ebx
call fcn.0044e2a0
add esp, 4
test eax, eax
je 0x46503e
push 2
push 0x4aed64
push ebx
call fcn.0044e240
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x465084
lea eax, [esp + 0x48]
push eax
push ebx
call fcn.0044e1e0
mov edi, eax
add esp, 8
test edi, edi
jne 0x465084
lea edx, [eax + 0x10]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x464fc7
lea eax, [esp + 0x24]
push eax
call fcn.0044e2a0
add esp, 4
test eax, eax
je 0x465094
lea eax, [esp + 0x24]
push eax
call fcn.0044e2b0
add esp, 4
jmp 0x465099
push str.too_many_IP__cant_show
push ebp
call fcn.0045af80
add esp, 8
jmp 0x4650d9
mov eax, str._none_
push eax
push str.IPv6:__s
push ebp
call fcn.0045af80
lea eax, [esp + 0x20]
push eax
call fcn.0044e2a0
add esp, 0x10
test eax, eax
je 0x4650c5
lea eax, [esp + 0x14]
push eax
call fcn.0044e2b0
add esp, 4
jmp 0x4650ca
mov eax, str._none_
push eax
push str.IPv4:__s
push ebp
call fcn.0045af80
add esp, 0xc
lea eax, [esp + 0x14]
push eax
call fcn.0044e250
lea eax, [esp + 0x28]
push eax
call fcn.0044e250
add esp, 8
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
pop edi
pop ebp
xor ecx, esp
call fcn.0044317d
add esp, 0x6c
ret
Function at 0x46d890
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.0044dfa0
push dword [esp + 0x38]
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call esi
push dword [esp + 0x40]
mov edi, eax
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileExA]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebp
test eax, eax
jne 0x46d925
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.0044dfa0
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.0044e050
add esp, 0x20
test edx, edx
ja 0x46d949
jb 0x46d917
cmp eax, 0x3e8
ja 0x46d949
push 1
call ebx
push 1
push esi
push edi
call ebp
test eax, eax
je 0x46d8e0
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test edi, edi
je 0x46d935
push edi
call ebx
add esp, 4
test esi, esi
je 0x46d93f
push esi
call ebx
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test edi, edi
je 0x46d959
push edi
call ebx
add esp, 4
test esi, esi
je 0x46d963
push esi
call ebx
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret