joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403fd3
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x49d01c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x44], eax
jb 0x403ff4
mov ecx, dword [ecx]
push esi
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40400a
xor al, al
jmp 0x4040be
call dword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov dword [ebp - 0x40], eax
cmp eax, 0xffffffff
je 0x404003
push ebx
push edi
xor eax, eax
xor ecx, ecx
inc eax
push 0x1c
pop edx
mov dword [ebp - 0x34], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004665c2
and dword [ebp - 0x3c], 0
lea edi, [ebp - 0x24]
and dword [ebp - 0x38], 0
mov ebx, eax
pop ecx
push 8
pop ecx
mov eax, 0x30303030
mov byte [ebp - 0x3c], 1
push 0x1c
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x40]
pop edx
mov byte [ebp - 0x25], 1
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x30]
mov eax, ecx
dec ecx
mov dword [ebp - 0x30], ecx
test eax, eax
je 0x4040ac
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x4040ac
push 0xbb8
push edx
push ebx
lea eax, [ebp - 0x3c]
push eax
push 0x20
lea eax, [ebp - 0x24]
push eax
push esi
push edi
call dword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho]
test eax, eax
je 0x4040cd
mov ecx, dword [ebp - 0x44]
push ebx
call fcn.004017e0
cmp dword [ebx], esi
jne 0x4040a0
mov byte [ebp - 0x25], 0
inc byte [ebp - 0x3c]
cmp byte [ebp - 0x25], 0
mov edx, dword [ebp - 0x2c]
jne 0x40405d
push ebx
call fcn.004665cb
pop ecx
push edi
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00466548
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 4], 0x2af9
jne 0x4040a0
push ebx
call fcn.004665cb
mov eax, dword [ebp - 0x34]
xor ecx, ecx
push 0x1c
inc eax
pop edx
add dword [ebp - 0x2c], edx
mov dword [ebp - 0x34], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004665c2
pop ecx
pop ecx
mov ebx, eax
jmp 0x4040a3
Function at 0x40f4f0
Capabilities:
Create thread

Disassembly:
push 0x54
mov eax, 0x4694c7
call fcn.004676a4
mov edi, dword [ebp + 0x5c]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [ecx]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x54]
test ecx, ecx
je 0x40f525
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
call dword [eax]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x60]
call fcn.0040f5c8
mov byte [ebp - 4], 5
cmp dword [esi + 0x5c], ebx
jne 0x40f599
lea eax, [ebp - 0x60]
push eax
lea ecx, [esi + 8]
call fcn.0041333a
lea eax, [ebp - 0x38]
push eax
lea ecx, [esi + 0x30]
call fcn.004133aa
mov eax, dword [ebp + 0x58]
lea ecx, [esi + 0xc4]
push edi
mov dword [esi + 0x60], eax
mov byte [esi + 0x58], bl
call fcn.0040fd66
push ebx
push ebx
push esi
push 0x4100df
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x40f599
lea ecx, [ebp - 0x60]
mov dword [esi + 0x5c], eax
call fcn.0040f5fd
lea ecx, [ebp - 0x38]
call fcn.0040f5fd
mov bl, 1
jmp 0x40f5a9
lea ecx, [ebp - 0x60]
call fcn.0040f5fd
lea ecx, [ebp - 0x38]
call fcn.0040f5fd
lea ecx, [ebp + 8]
call fcn.0040f5fd
lea ecx, [ebp + 0x30]
call fcn.0040f5fd
mov al, bl
call fcn.0046766d
ret 0x58

Function at 0x40fa1d
Capabilities:
Get common file path

Disassembly:
push 0x230
mov eax, 0x469510
call fcn.004676d8
mov dword [ebp - 0x234], edx
mov ebx, ecx
mov dword [ebp - 0x238], ebx
and dword [ebp - 0x23c], 0
lea eax, [ebp - 0x1f0]
push 0xa
pop ecx
push 0x1e0
mov esi, 0x47c030
lea edi, [ebp - 0x218]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00406170
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x40fac5
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0x5c
cmovae eax, dword [ebp - 0x230]
pop edx
cmp word [eax + ecx*2 - 2], dx
je 0x40fac5
push edx
push 1
lea ecx, [ebp - 0x230]
call fcn.004130cd
push dword [ebp - 0x234]
lea edx, [ebp - 0x230]
mov ecx, ebx
call fcn.004132c4
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.004061ab
mov eax, ebx
call fcn.00467682
ret
Function at 0x412570
Capabilities:
Read file on windows

Disassembly:
push 0x458
mov eax, 0x469e00
call fcn.004676d8
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x460]
mov edx, dword [ebp + 8]
or dword [ebp - 0x460], 0xffffffff
or dword [ebp - 0x45c], 0xffffffff
push eax
push edx
call fcn.004087bf
test al, al
je 0x41272b
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov dword [ebp - 0x42c], 0xf
mov dword [ebp - 0x430], ecx
mov byte [ebp - 0x440], cl
mov dword [ebp - 4], ecx
xor eax, eax
mov dword [ebp - 0x414], 7
mov dword [ebp - 0x418], ecx
mov word [ebp - 0x428], ax
mov esi, 0x400
mov byte [ebp - 4], 1
push esi
push ecx
lea eax, [ebp - 0x410]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x464]
push 0
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x41265b
cmp dword [ebp - 0x464], 0
je 0x41266e
push dword [ebp - 0x464]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x440]
call fcn.00407974
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x464]
push 0
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x45c]
call esi
test eax, eax
jne 0x412616
push dword [ebp - 0x45c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x42c], 0x10
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
mov dword [ebp - 0x460], eax
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x45c], eax
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.infra.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_base::SysMultiByteToWide_class_base::BasicStringPiece_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____const___unsigned_int_]
add esp, 0xc
lea ecx, [ebp - 0x428]
push eax
call fcn.00407877
xor esi, esi
lea ecx, [ebp - 0x458]
push esi
push 1
call fcn.004061ab
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebx + 0x6c]
call fcn.00407aa7
cmp dword [ebp - 0x414], 8
lea eax, [ebp - 0x428]
lea ecx, [ebx + 8]
cmovae eax, dword [ebp - 0x428]
push eax
push 1
call fcn.00412dcf
push esi
push 1
lea ecx, [ebp - 0x428]
call fcn.004061ab
push esi
push 1
lea ecx, [ebp - 0x440]
call fcn.00401c5e
mov al, 1
jmp 0x41272d
xor al, al
call fcn.00467682
ret 8
Function at 0x41413c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a23c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x49d01c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call fcn.004142b3
xor edi, edi
lea ecx, [esi + 0x168]
push ebx
inc edi
push edi
call fcn.00401c5e
push ebx
push edi
lea ecx, [esi + 0x150]
call fcn.00401c5e
push ebx
push edi
lea ecx, [esi + 0x138]
call fcn.00401c5e
push ebx
push edi
lea ecx, [esi + 0x120]
call fcn.00401c5e
push ebx
push edi
lea ecx, [esi + 0x108]
call fcn.00401c5e
push ebx
push edi
lea ecx, [esi + 0xf0]
call fcn.004061ab
push ebx
push edi
lea ecx, [esi + 0xd8]
call fcn.004061ab
push ebx
push edi
lea ecx, [esi + 0xbc]
call fcn.004061ab
push ebx
push edi
lea ecx, [esi + 0xa4]
call fcn.004061ab
lea ecx, [esi + 0xa0]
call dword [sym.imp.infra.dll_public:_void___thiscall_base::WaitableEvent::destructor_void_]
lea ecx, [esi + 0x94]
call fcn.00418541
lea ecx, [esi + 0x88]
call fcn.00418295
lea ecx, [esi + 0x48]
call fcn.0040f5fd
lea ecx, [esi + 0x30]
call dword [sym.imp.infra.dll_public:_void___thiscall_base::Lock::destructor_void_]
lea ecx, [esi + 0x24]
call fcn.00418395
push ebx
push edi
lea ecx, [esi + 0xc]
call fcn.00401c5e
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41423b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, esi
call fcn.004018e9
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 0x41655d
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp byte [esi + 0x24], 0
je 0x416579
xor al, al
jmp 0x41667e
xor ecx, ecx
inc ecx
cmp dword [esi + 0x28], 0
jne 0x416591
and dword [esi + 0x34], 0
mov dword [esi + 0x28], ecx
and dword [esi + 0x30], 0
and dword [esi + 0x2c], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 0x28], ecx
jne 0x4165e1
cmp dword [esi + 0x2c], 0
je 0x4165b4
call ebx
sub eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
seta al
test al, al
je 0x4165e1
xor ecx, ecx
inc ecx
mov eax, dword [esi + 0x34]
inc eax
mov dword [esi + 0x34], eax
cmp eax, 4
jle 0x4165c5
mov byte [esi + 0x24], cl
jmp 0x4165e1
push esi
mov ecx, edi
call fcn.0041503d
mov dword [esi + 0x30], 0xbb8
call ebx
push 1
test eax, eax
pop ecx
cmove eax, ecx
mov dword [esi + 0x2c], eax
cmp dword [esi + 0x28], 2
jne 0x41666d
cmp byte [esi + 0x3c], 0
je 0x4165fe
cmp byte [esi + 0x3d], 0
je 0x4165fe
mov dword [esi + 0x28], 3
cmp dword [esi + 0x2c], 0
je 0x416613
call ebx
sub eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
seta al
test al, al
je 0x41666d
mov eax, dword [esi + 0x34]
inc eax
mov dword [esi + 0x34], eax
cmp eax, 4
jle 0x416627
xor eax, eax
inc eax
mov byte [esi + 0x24], al
jmp 0x41666d
cmp byte [esi + 0x3c], 0
jne 0x41663b
push dword [esi + 4]
mov ecx, edi
push dword [esi]
push 0
call fcn.00415171
cmp byte [esi + 0x3d], 0
jne 0x416659
mov eax, dword [edi + 0x70]
xor ecx, ecx
inc ecx
cmp eax, ecx
jle 0x416659
push dword [esi + 4]
dec eax
mov ecx, edi
push dword [esi]
push eax
call fcn.00415171
mov dword [esi + 0x30], 0xbb8
call ebx
push 1
test eax, eax
pop ecx
cmove eax, ecx
mov dword [esi + 0x2c], eax
cmp dword [esi + 0x28], 3
je 0x416572
cmp byte [esi + 0x24], 0
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x417ebd
Capabilities:
Create thread

Disassembly:
push 0x24
mov eax, 0x46ad0b
call fcn.004676a4
mov esi, ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 0x2c]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x30]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 0x34]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0x3c]
mov dword [ebp - 0x30], ecx
xor ebx, ebx
lea ecx, [esi + 0x58]
mov dword [ebp - 4], ebx
cmp ecx, eax
je 0x417f1c
push 0xffffffffffffffff
push ebx
push eax
call fcn.0040631c
lea ecx, [esi + 0x70]
cmp ecx, edi
je 0x417f2c
push 0xffffffffffffffff
push ebx
push edi
call fcn.0040631c
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x8c]
mov dword [esi + 0x88], eax
or edi, 0xffffffff
mov eax, dword [ebp - 0x10]
cmp ecx, eax
je 0x417f4d
push edi
push ebx
push eax
call fcn.0040631c
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0xa4]
cmp ecx, eax
je 0x417f62
push edi
push ebx
push eax
call fcn.0040631c
mov eax, dword [ebp - 0x18]
lea ecx, [esi + 0x3c]
cmp ecx, eax
je 0x417f74
push edi
push ebx
push eax
call fcn.0040631c
mov eax, dword [ebp + 0x20]
lea ecx, [esi + 0xbc]
mov dword [esi + 0x54], eax
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
je 0x417f8f
push edi
push ebx
push eax
call fcn.00401d24
mov eax, dword [ebp - 0x20]
lea ecx, [esi + 0xd4]
cmp ecx, eax
je 0x417fa4
push edi
push ebx
push eax
call fcn.00401d24
mov eax, dword [ebp - 0x24]
lea ecx, [esi + 0xec]
cmp ecx, eax
je 0x417fb9
push edi
push ebx
push eax
call fcn.00401d24
mov eax, dword [ebp - 0x28]
lea ecx, [esi + 0x104]
cmp ecx, eax
je 0x417fce
push edi
push ebx
push eax
call fcn.00401d24
mov eax, dword [ebp - 0x2c]
lea ecx, [esi + 0x11c]
cmp ecx, eax
je 0x417fe3
push edi
push ebx
push eax
call fcn.00401d24
mov eax, dword [ebp + 0x38]
lea ecx, [esi + 4]
push dword [ebp - 0x30]
mov dword [esi + 0x134], eax
call fcn.00401838
lea eax, [ebp + 0x40]
push eax
lea ecx, [esi + 0x10]
call fcn.0041333a
push ebx
push ebx
push esi
push 0x418033
push ebx
push ebx
mov byte [esi], bl
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x418021
mov dword [esi + 8], eax
mov bl, 1
lea ecx, [ebp + 0x40]
call fcn.0040f5fd
mov al, bl
call fcn.0046766d
ret 0x60
Function at 0x41ced5
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x41cee3
mov ecx, dword [ecx]
push ebx
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 7
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41cf0c
xor eax, eax
jmp 0x41cf8d
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, 0x400
cmp eax, ecx
cmova eax, ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x41cf84
push edi
push eax
call fcn.004665c2
pop ecx
push esi
mov edi, eax
mov dword [ebp - 4], esi
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41cf7c
push 2
pop eax
cmp dword [ebp - 4], eax
jb 0x41cf64
cmp byte [edi], 0xff
jne 0x41cf64
cmp byte [edi + 1], 0xfe
jne 0x41cf64
xor esi, esi
inc esi
jmp 0x41cf7c
cmp dword [ebp - 4], 3
jb 0x41cf7c
cmp byte [edi], 0xef
jne 0x41cf7c
cmp byte [edi + 1], 0xbb
jne 0x41cf7c
cmp byte [edi + 2], 0xbf
cmove esi, eax
push edi
call fcn.004665cb
pop ecx
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423611
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x46c7b3
call fcn.004676d8
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x42370d
cmp byte [esi + 0x3d], 0
je 0x42370d
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x42364b
xor al, al
jmp 0x42370f
push ecx
push ecx
lea ecx, [ebp - 0x28]
call fcn.00422254
and dword [ebp - 4], 0
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x14]
cmp edi, 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, ebx
lea ecx, [ebp - 0x28]
cmovae ecx, ebx
add eax, edx
push eax
push ecx
mov ecx, dword [esi + 0x38]
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x42369a
sub eax, 1
je 0x42369e
dec eax
sub eax, 1
je 0x4236fb
xor bl, bl
jmp 0x4236fd
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
cmp edi, 0x10
mov ecx, dword [ebp - 0x2c]
cmovae eax, ebx
sub ecx, eax
mov dword [ebp - 0x30], ecx
je 0x4236dd
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push ecx
cmovae eax, ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov ecx, dword [ebp - 0x30]
add esp, 0x10
cmp ecx, eax
jne 0x423696
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
cmp byte [esi + 0x3d], 0
je 0x4236fb
test ecx, ecx
jne 0x42365f
push ecx
push 8
lea ecx, [ebp - 0x28]
call fcn.0040a838
jmp 0x423659
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401c5e
mov al, bl
jmp 0x42370f
mov al, 1
call fcn.00467682
ret
Function at 0x43f835
Capabilities:
Get networking parameters

Disassembly:
push 0x34
mov eax, 0x470b70
call fcn.004676d8
mov esi, ecx
mov dword [ebp - 0x3c], esi
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
push 0x248
mov dword [ebp - 4], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x43f881
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
jmp 0x43f960
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x248
push eax
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetNetworkParams]
cmp eax, 0x6f
jne 0x43f8b8
push edi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x38]
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x43f872
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetNetworkParams]
test eax, eax
jne 0x43f93d
lea eax, [edi + 0x110]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401a65
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x34]
call fcn.00404e98
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00401c5e
mov eax, dword [edi + 0x10c]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x43f93d
mov ebx, eax
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401a65
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x34]
call fcn.00404e98
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00401c5e
mov ebx, dword [ebx]
test ebx, ebx
jne 0x43f905
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test edi, edi
je 0x43f94d
push edi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x34]
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 8], eax
xor eax, eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
call fcn.00404f87
mov eax, esi
call fcn.00467682
ret

Function at 0x4400c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
or edx, 0xffffffff
push edi
mov edi, ecx
test esi, esi
jle 0x4400e5
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x476650]
inc edi
sub esi, 1
jne 0x4400cd
pop edi
mov eax, edx
pop esi
ret
Function at 0x441307
Capabilities:
Check os version

Disassembly:
push 0x550
mov eax, 0x470ffc
call fcn.004676d8
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x410]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x400
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x554], 0x114
lea eax, [ebp - 0x554]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x441362
cmp dword [ebp - 0x550], 6
ja 0x441366
jne 0x441362
cmp dword [ebp - 0x54c], 2
jae 0x441366
mov eax, ebx
jmp 0x441369
xor eax, eax
inc eax
mov edx, dword [esi + 0x18]
lea ecx, [ebp - 0x410]
push ecx
push eax
mov ecx, esi
call fcn.00440b6a
pop ecx
pop ecx
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, ebx
lea esi, [eax - 1]
test esi, esi
jle 0x4413b9
mov ax, word [ebp + edx - 0x410]
movzx ecx, byte [ebp + edx - 0x40f]
shl ax, 8
or cx, ax
mov word [ebp + edx - 0x410], cx
add edx, 2
cmp edx, esi
jl 0x441393
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x428]
call fcn.00401a65
lea eax, [ebp - 0x428]
mov dword [ebp - 4], ebx
push eax
push ecx
push ecx
mov esi, esp
mov eax, 0x481348
push eax
mov dword [esi], eax
call fcn.004010ec
mov dword [esi + 4], eax
lea eax, [ebp - 0x428]
pop ecx
push eax
call dword [sym.imp.infra.dll_bool___cdecl_base::TrimString_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_base::BasicStringPiece_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
mov dword [ebp - 0x55c], eax
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x558], eax
lea eax, [ebp - 0x55c]
push eax
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.infra.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_base::SysUTF8ToWide_class_base::BasicStringPiece_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____const__]
add esp, 0x18
mov ecx, edi
push eax
call fcn.00407877
push ebx
push 1
lea ecx, [ebp - 0x440]
call fcn.004061ab
push ebx
push 1
lea ecx, [ebp - 0x428]
call fcn.00401c5e
mov al, 1
call fcn.00467682
ret 8
Function at 0x44188e
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471119
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.00467640
mov eax, dword [0x49d01c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test esi, esi
jne 0x4418d4
xor al, al
jmp 0x4419f2
push eax
lea eax, [ebp - 0x2038]
push str..PhysicalDrive_d
push eax
call dword [sym.imp.infra.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_base::StringPrintf_wchar_t_const__]
add esp, 0xc
xor edi, edi
lea eax, [ebp - 0x2038]
push edi
push edi
push 3
push edi
mov dword [ebp - 4], edi
cmp dword [ebp - 0x2024], 8
push 3
cmovae eax, dword [ebp - 0x2038]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [ebp - 0x203c]
mov dword [ebp - 0x203c], edi
call fcn.00441ee1
mov byte [ebp - 4], 1
push dword [ebp - 0x203c]
call fcn.00440b52
pop ecx
test al, al
je 0x4419d0
xor eax, eax
lea edi, [ebp - 0x2020]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, 0x2000
mov dword [ebp - 0x2020], eax
push edi
push eax
mov dword [ebp - 0x201c], eax
mov dword [ebp - 0x2040], eax
lea eax, [ebp - 0x2014]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2040]
push 0
push eax
push edi
lea eax, [ebp - 0x2014]
push eax
push 0xc
lea eax, [ebp - 0x2020]
push eax
push 0x2d1400
push dword [ebp - 0x203c]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4419d0
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x4419d0
lea eax, [ebp - 0x2014]
mov dword [ebp - 0x2044], esi
lea edx, [ebp - 0x2044]
mov dword [ebp - 0x2048], eax
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x2048]
push edx
call dword [eax + 8]
mov bl, al
jmp 0x4419d2
mov bl, 1
lea ecx, [ebp - 0x203c]
mov byte [ebp - 4], 3
call fcn.00441eab
push 0
push 1
lea ecx, [ebp - 0x2038]
call fcn.004061ab
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00466548
mov esp, ebp
pop ebp
ret 0xc