joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421eb0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x22c], 0x22c
lea eax, [ebp - 0x22c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x421f0f
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop dword [eax + eax]
push edi
lea eax, [ebp - 0x208]
push eax
call ebx
test eax, eax
je 0x421f1f
lea eax, [ebp - 0x22c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x421ef0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x224]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426410
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481c4d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
push 0x4933fc
push 0
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.00409b80
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0x3c
cmova eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x4c]
push eax
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x48], 0x40
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], str.cmd.exe
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x4264ad
or esi, 0xffffffff
jmp 0x4264d1
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x426507
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4264fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4264fd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043591e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x426520
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481c78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d0
lea eax, [ebp - 0x1dc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1dc]
mov dword [ebp - 0x10], 0
movups xmmword [ebp - 0x24], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x426570
sub ecx, edx
lea eax, [ebp - 0x1dc]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.00408700
push 0xb
push str.config.ini
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.00406d90
push 1
push 0x40
push 2
push eax
lea ecx, [ebp - 0xd8]
call fcn.004201f0
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp ecx, 0xf
jbe 0x4265eb
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4265e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4265e1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043591e
add esp, 8
push dword [ebp + 8]
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.0041f2f0
add esp, 8
lea ecx, [ebp - 0xd4]
call fcn.0041d5c0
test eax, eax
jne 0x426636
push eax
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0xd8]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0xd8]
call fcn.004215e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x427a20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ecx]
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x427a7d
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 0x427a40
mov eax, dword [esi]
jmp 0x427b5b
cmp eax, 0x4e0
jb 0x427b5b
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
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 + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x427a96
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 0x427ae1
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 0x428a90
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xorps xmm0, xmm0
push str.ntdll.dll
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
movups xmmword [esi + 0x24], xmm0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x428bfb
push edi
push str.Creating_ProcessInfo_n
push 3
call fcn.00428a80
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 8
push str.NtQueryInformationProcess
push ebx
call edi
push str.NtQuerySystemInformation
push ebx
mov dword [esi + 0x18], eax
call edi
push str.NtQueryInformationThread
push ebx
mov dword [esi + 0x1c], eax
call edi
cmp dword [esi + 0x18], 0
mov dword [esi + 0x20], eax
je 0x428bf2
cmp dword [esi + 0x1c], 0
je 0x428bf2
test eax, eax
je 0x428bf2
push 0
mov dword [esi + 0xc], 0x10000
mov dword [esi + 4], 0
call fcn.00416680
add esp, 4
mov edx, 0xc
cmp eax, 0x3d
mov ecx, 0x15
cmovne ecx, edx
push str.NtDelayExecution
push ebx
mov dword [ebp - 4], ecx
call edi
add eax, dword [ebp - 4]
push str.NtWaitForSingleObject
push ebx
mov dword [esi + 0x24], eax
call edi
add eax, dword [ebp - 4]
push str.NtWaitForMultipleObjects
push ebx
mov dword [esi + 0x28], eax
call edi
add eax, dword [ebp - 4]
push str.NtSignalAndWaitForSingleObject
push ebx
mov dword [esi + 0x2c], eax
call edi
mov ebx, dword [ebp - 4]
add eax, ebx
mov dword [esi + 0x30], eax
call fcn.00416670
cmp eax, 0x3839
jb 0x428be3
push str.win32u.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x38], eax
test eax, eax
je 0x428be3
push str.NtUserMsgWaitForMultipleObjectsEx
push eax
call edi
add eax, ebx
mov dword [esi + 0x34], eax
push str.ProcessInfo_initialized_n
push 3
call fcn.00428a80
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430820
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481f60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push esi
push edi
push 1
push 0x40
push 0x24
push dword [ebp + 8]
lea ecx, [ebp - 0xe0]
call fcn.0041b030
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0xe0]
mov dword [ebp - 4], 0
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::good_void_const]
test al, al
jne 0x430884
mov esi, 0x20000001
mov eax, str.Cant_open_file_n
jmp 0x4309c0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
adc eax, dword [ebp - 0x24]
test eax, eax
jg 0x4308bd
jl 0x4308ae
cmp ecx, 0x1000
jae 0x4308bd
mov esi, 0x20000002
mov eax, str.Specified_file_is_too_small_n
jmp 0x4309c0
push 0x495f60
push 0x1000
call fcn.00435bb2
mov edi, eax
add esp, 8
test edi, edi
je 0x4309b6
push 0x1000
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xe0]
push 0
push 0
push 0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
push 0
push 0x1000
push edi
lea ecx, [ebp - 0xe0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
lea ecx, [ebp - 0xd0]
call fcn.0041d5c0
test eax, eax
jne 0x430936
push eax
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0xe0]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov eax, 0x5a4d
push edi
cmp word [edi], ax
je 0x430955
call fcn.00435bad
add esp, 4
mov esi, 0x20000003
mov eax, str.Invalid_DOS_header_signature_n
jmp 0x4309c0
mov eax, dword [edi + 0x3c]
cmp eax, 0x1000
jle 0x430973
call fcn.00435bad
add esp, 4
mov esi, 0x20000003
mov eax, str.Invalid_nt_header_offset_n
jmp 0x4309c0
movzx ecx, word [eax + edi + 4]
mov esi, dword [eax + edi]
movzx ebx, word [eax + edi + 0x16]
mov dword [ebp - 0x10], ecx
call fcn.00435bad
add esp, 4
cmp esi, 0x4550
jne 0x4309aa
mov eax, dword [ebp - 0x10]
movzx eax, ax
cmp eax, dword [ebp + 0xc]
jne 0x4309aa
test ebx, 0x2000
je 0x4309aa
xor esi, esi
jmp 0x4309cb
mov esi, 0x20000003
mov eax, str.Invalid_PE_header_n
jmp 0x4309c0
mov esi, 0x20000004
mov eax, str.Memory_allocation_failed_n
push eax
push 1
call fcn.00428a80
add esp, 8
lea ecx, [ebp - 0xe0]
call fcn.0041b660
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x431f20
Capabilities:
Download url
Get common file path
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4820bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 1
push eax
push 0x104
mov dword [ebp - 0x10], 0x495b48
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431f80
push esi
sub ecx, edx
lea eax, [ebp - 0x12c]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00408700
cmp dword [ebp + 0x34], 0xf
lea edx, [ebp + 0x20]
mov byte [ebp - 4], 2
cmova edx, dword [ebp + 0x20]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431fb0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00406d90
cmp dword [eax + 0x14], 0xf
jbe 0x431fcb
mov eax, dword [eax]
cmp dword [ebp + 0x1c], 0xf
lea edx, [ebp - 0x10]
push edx
push 0
lea ecx, [ebp + 8]
cmova ecx, dword [ebp + 8]
push eax
push ecx
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov ecx, dword [ebp - 0x14]
mov esi, eax
cmp ecx, 0xf
jbe 0x43201d
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x432013
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x432013
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043591e
add esp, 8
test esi, esi
jne 0x432030
push 0x495b74
call fcn.00416060
add esp, 4
jmp 0x43206c
cmp esi, 0x8007000e
jne 0x432047
push str.Buffer_length_invalid__or_insufficient_memory_n
call fcn.00416060
add esp, 4
jmp 0x43206c
cmp esi, 0x800c0008
jne 0x43205e
push str.URL_is_invalid_n
call fcn.00416060
add esp, 4
jmp 0x43206c
push esi
push str.Other_error:__d_n
call fcn.00416060
add esp, 8
mov ecx, dword [ebp + 0x1c]
pop esi
cmp ecx, 0xf
jbe 0x43209d
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x432093
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4320d5
push ecx
push edx
call fcn.0043591e
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0xf
jbe 0x4320e5
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4320db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4320db
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043591e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43540c
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 0x435433
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x435436
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.004353e8
pop esi
leave
ret 8

Function at 0x436578
Capabilities:
Parse pe header

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

Disassembly:
sub esp, 0x18
mov eax, dword [0x7a9080]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x44003b
lea eax, [esp + 4]
push eax
push esi
push 2
call fcn.0045b050
add esp, 0xc
test eax, eax
jne 0x44003b
lea eax, [esp + 8]
push eax
push esi
push 0x17
call fcn.0045b050
add esp, 0xc
test eax, eax
jne 0x44003b
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x43ffc4
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.0045b020
add esp, 0xc
test eax, eax
je 0x43fff8
sub eax, esi
push eax
push 0x2e
push esi
call fcn.0045b020
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x43fffa
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
mov ebx, 0x1505
add edi, esi
cmp esi, edi
jae 0x440026
mov al, byte [esi]
push eax
call fcn.0044e2b0
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x440008
pop edi
movzx eax, bl
pop ebx
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00436411
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop esi
xor ecx, esp
call fcn.00436411
add esp, 0x18
ret
Function at 0x449dd0
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x608], 0
je 0x449e14
push 1
push edi
call fcn.0043bc60
push dword [edi + 0x59c]
mov eax, dword [edi + 0x608]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.0043bc60
add esp, 0x24
mov eax, esi
pop edi
pop esi
ret
mov edx, dword [esp + 0x10]
mov ecx, edx
sub ecx, 0
je 0x449e29
sub ecx, 1
je 0x449e29
sub ecx, 1
jne 0x449e5a
push dword [edi + 0x598]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea eax, [edx*2 + 0x498dd0]
push 1
add eax, edx
push 2
push eax
call esi
push dword [edi + 0x598]
push 1
push dword [esp + 0x30]
push dword [esp + 0x30]
call esi
add esp, 0x20
pop edi
xor eax, eax
pop esi
ret

Function at 0x44a560
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x10c
mov eax, dword [0x7a9080]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x114]
push ebx
mov ebx, dword [esp + 0x114]
mov dword [esp + 8], eax
xor eax, eax
push ebp
mov ebp, dword [esp + 0x128]
mov ecx, dword [ebx + 0x424]
cmp edx, ecx
push esi
sete al
mov esi, 0x448
push edi
lea eax, [eax*4 + 0x420]
mov eax, dword [eax + ebx]
mov dword [esp + 0x10], eax
mov eax, 0x458
cmove esi, eax
mov eax, dword [ebx + 0x548]
add esi, ebx
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x40], 3
je 0x44a66e
xor eax, eax
cmp edx, ecx
sete al
lea eax, [eax*4 + 0x438]
cmp dword [eax + ebx], 0x44a120
jne 0x44a66e
cmp dword [esi], 0
je 0x44a5f8
test edi, edi
je 0x44a66e
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esp + 0x20]
call fcn.00459800
add esp, 0x14
cmp eax, 0xffffffff
je 0x44a66e
test al, 1
je 0x44a66e
mov ecx, dword [esi]
test ecx, ecx
jne 0x44a64b
mov eax, dword [ebx]
mov eax, dword [eax + 0x90c]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x7a90d4]
mov edi, dword [esi + 4]
mov ecx, eax
add esp, 4
mov dword [esi], ecx
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test ecx, ecx
je 0x44a667
mov eax, dword [esi + 8]
push 0
push edi
add eax, ecx
push eax
push dword [esp + 0x1c]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x44a66e
add dword [esi + 8], eax
jmp 0x44a66e
mov dword [esi + 4], 0
push 0
push dword [esp + 0x130]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44a6d7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x44a6a8
mov dword [ebp], 0
lea eax, [edi + 0x52]
jmp 0x44a6dc
push 0x100
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.004374f0
push eax
push str.Send_failure:__s
push dword [ebx]
call fcn.00449e60
mov eax, dword [ebx]
add esp, 0x18
mov dword [eax + 0xd44], esi
mov eax, 0x37
jmp 0x44a6d9
xor eax, eax
mov dword [ebp], edi
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00436411
add esp, 0x10c
ret
Function at 0x44ab10
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 4]
cmp byte [eax + 0x474], 0
je 0x44ab2d
push eax
call fcn.00444360
add esp, 4
test eax, eax
jne 0x44ab4c
xor al, al
ret
mov eax, dword [eax + 0x420]
cmp eax, 0xffffffff
je 0x44ab2a
push 2
push 1
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x44ab2a
mov al, 1
ret
Function at 0x44c8e0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push str.kernel32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x44c8fa
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 0x499244
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
add esp, 8
test eax, eax
je 0x44c943
test ebp, ebp
je 0x44c934
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 0x44c969
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44c969
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 0x44ca1f
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44c986
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
push eax
call dword [0x7a90d4]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44ca15
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x44ca15
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44c9b8
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 0x44c9d0
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 0x44c9e0
test ebp, ebp
je 0x44ca0c
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x7a90d8]
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 [0x7a90d8]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x451ec0
Capabilities:
Create udp socket

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x451ed4
mov eax, dword [eax]
mov eax, dword [eax + 0x78]
mov al, byte [eax + 0xe7]
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x451ee8
xor al, al
ret
push eax
push 0
call fcn.0044aa40
add esp, 8
mov al, 1
ret