joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100096a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ae804
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100f1850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [edx], 0xffffffff
xor eax, eax
mov dword [edx + 0x18], 7
mov dword [edx + 0x14], 0
mov word [edx + 4], ax
mov dword [ebp - 4], eax
mov dword [edx + 0x30], 7
mov dword [edx + 0x2c], eax
mov word [edx + 0x1c], ax
mov byte [ebp - 4], 1
lea ecx, [edx + 0x38]
lea eax, [ecx + 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov byte [eax], 0
mov byte [ebp - 4], 3
mov ax, word [ebp + 8]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 6
mov dword [ecx + 0xc], 0
mov word [ecx + 0x10], ax
mov dword [ecx + 0x14], 0x201
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x18], 0
mov byte [ebp - 4], 4
mov dword [edx + 0x60], 0xffffffff
mov dword [edx + 0x64], closesocket
mov dword [edx + 0x68], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x10014f00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0244
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100f1850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [edx], 0xffffffff
mov dword [edx + 0x18], 0xf
mov dword [edx + 0x14], 0
mov byte [edx + 4], 0
mov dword [ebp - 4], 0
mov dword [edx + 0x30], 0xf
mov dword [edx + 0x2c], 0
mov byte [edx + 0x1c], 0
mov byte [ebp - 4], 1
lea ecx, [edx + 0x38]
lea eax, [ecx + 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov byte [eax], 0
mov byte [ebp - 4], 3
mov al, byte [ebp + 8]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 6
mov dword [ecx + 0xc], 0
mov byte [ecx + 0x10], al
mov dword [ecx + 0x14], 0x201
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x18], 0
mov byte [ebp - 4], 4
mov dword [edx + 0x60], 0xffffffff
mov dword [edx + 0x64], closesocket
mov dword [edx + 0x68], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x10017610
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x10017641
lea esp, [esp]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10017630
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x10021ba0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1840
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100f1850]
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 dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
cmp dword [ebp + 0xc], 1
jne 0x10021ced
mov dword [ebp - 4], 0
call fcn.10020260
test al, al
je 0x10021d1d
push 1
call fcn.10086be5
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.1004a400
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
push ecx
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.10007610
add esp, 8
mov byte [ebp - 4], 3
mov edx, str.wajam
mov ecx, eax
call fcn.10007670
mov bl, al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.10005160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.10005160
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10002180
test bl, bl
jne 0x10021ced
mov dword [ebp - 4], 0xffffffff
mov dword [0x100fe0b4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x100fe0b0], eax
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call fcn.10021d30
mov ecx, eax
call fcn.1004b220
mov ecx, esi
call fcn.1004af60
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0x10021b00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.10066ea0
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10021cca
mov eax, dword [eax]
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10010760
mov eax, 1
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.1008aee2
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
jmp 0x10021cf2
Function at 0x100262c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b24c1
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100f1850]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 8], 0
add ecx, 0xffffffd4
mov dword [esp + 0x30], 0x100cf8c0
mov dword [esp + 0x38], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x48], 0
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
call fcn.10025c30
mov dword [esp + 0x48], 1
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_path__.1.0
mov dword [esp + 0x1c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_path__.0
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x30], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_path__.2.0
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x2c], 0
mov dword [esp + 0x48], 0xffffffff
lea eax, [esp + 0xc]
push 0x100ef680
push eax
call fcn.1009151f
int3
Function at 0x10035750
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b45a1
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100f1850]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 8], 0
add ecx, 0xffffffd4
mov dword [esp + 0x30], 0x100cf8c0
mov dword [esp + 0x38], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x48], 0
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
call fcn.10035320
mov dword [esp + 0x48], 1
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_data__.2.0
mov dword [esp + 0x1c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_data__.1.0
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x30], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_data__.0
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x2c], 0
mov dword [esp + 0x48], 0xffffffff
lea eax, [esp + 0xc]
push 0x100ef764
push eax
call fcn.1009151f
int3
Function at 0x10046680
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x100f1850]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x104], 0x600042
push ebx
push esi
push edi
push 1
push 0x100ffa30
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 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
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x104]
push 0x20
push eax
mov dword [ebp - 0x100], 0x6f006f
mov dword [ebp - 0xfc], 0x75006e
mov dword [ebp - 0xf8], 0x660021
mov dword [ebp - 0xf4], 0x750064
mov dword [ebp - 0xf0], 0x600021
mov dword [ebp - 0xec], 0x650065
mov dword [ebp - 0xe8], 0x640073
mov dword [ebp - 0xe4], 0x720072
mov dword [ebp - 0xe0], 0x6e0021
mov dword [ebp - 0xdc], 0x210067
mov dword [ebp - 0xd8], 0x730071
mov dword [ebp - 0xd4], 0x62006e
mov dword [ebp - 0xd0], 0x21003b
mov dword [ebp - 0xcc], 0x300024
mov dword [ebp - 0xc8], 0x10024
call fcn.1004ae20
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1008aee2
mov esp, ebp
pop ebp
ret
Function at 0x10046830
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x100f1850]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x104], 0x64616443
push esi
push edi
push 0x6400
push 0x100ffa74
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 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
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x104]
push 0x19
push eax
mov dword [ebp - 0x100], 0x646e646e
mov dword [ebp - 0xfc], 0x6474646f
mov dword [ebp - 0xf8], 0x646f6420
mov dword [ebp - 0xf4], 0x64656470
mov dword [ebp - 0xf0], 0x6420646e
mov dword [ebp - 0xec], 0x6469646c
mov dword [ebp - 0xe8], 0x64726462
mov dword [ebp - 0xe4], 0x64726461
mov dword [ebp - 0xe0], 0x643a6479
mov dword [ebp - 0xdc], 0x64256420
mov dword [ebp - 0xd8], 0x64256431
mov dword [ebp - 0xd4], 0x6400
call fcn.1004ae20
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
call fcn.1008aee2
mov esp, ebp
pop ebp
ret
Function at 0x10049e90
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b6a9f
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x100f1850]
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, ecx
push edx
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
push 0x400
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x21c], edx
movq qword [ebp - 0x224], xmm0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, eax
lea ecx, [ebp - 0x224]
call fcn.10066ea0
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x224]
test esi, esi
je 0x1004a055
cmp dword [esi], 0
je 0x1004a055
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.10095150
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [esi]
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x10049fa0
call fcn.1004a230
push eax
lea ecx, [ebp - 0x2f8]
call fcn.10007ce0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x21c]
mov ecx, eax
call fcn.100402b0
mov edx, eax
lea ecx, [ebp - 0x25c]
call fcn.10007e20
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x234]
call fcn.1006fea0
push 0x100ef7b4
lea eax, [ebp - 0x234]
push eax
call fcn.1009151f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.10005100
mov byte [ebp - 4], 6
lea edx, [ebp - 0x240]
mov ecx, ebx
call fcn.10049dc0
mov dword [ebp - 0x228], 1
mov byte [ebp - 4], 1
cmp dword [ebp - 0x22c], 8
jb 0x10049fe8
push dword [ebp - 0x240]
call fcn.1008b066
add esp, 4
xor eax, eax
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
mov dword [ebp - 4], eax
mov esi, dword [ebp - 0x220]
test esi, esi
je 0x1004a037
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x1004a037
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x1004a037
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
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.1008aee2
mov esp, ebp
pop ebp
ret
call fcn.1004a090
push eax
lea ecx, [ebp - 0x2f8]
call fcn.10007ce0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x21c]
mov ecx, eax
call fcn.100402b0
mov edx, eax
lea ecx, [ebp - 0x25c]
call fcn.10007e20
mov byte [ebp - 4], 3
jmp 0x10049f83
Function at 0x1004a500
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b6b46
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x100f1850]
xor eax, esp
mov dword [esp + 0xf4], eax
push esi
push edi
mov eax, dword [0x100f1850]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [esp + 0xd8], esi
lea eax, [esp + 0xdc]
mov dword [esp + 0xdc], 0
push eax
movdqu xmmword [esp + 0xe4], xmm0
movdqu xmmword [esp + 0xf4], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [esp + 0xdc], 0
jne 0x1004a5a6
xor al, al
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.1008aee2
mov esp, ebp
pop ebp
ret
push esi
push 0
xorps xmm0, xmm0
push 0x400
movq qword [esp + 0xdc], xmm0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, eax
lea ecx, [esp + 0xd0]
call fcn.10066ea0
mov dword [esp + 0x110], 0
mov eax, dword [esp + 0xd0]
test eax, eax
je 0x1004a659
cmp dword [eax], 0
je 0x1004a659
lea ecx, [esp + 0xcc]
mov dword [esp + 0xcc], 0
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [esp + 0xcc], 0
sete dl
mov byte [esp + 0xf], dl
mov dword [esp + 0x110], 0xffffffff
mov esi, dword [esp + 0xd4]
test esi, esi
je 0x1004a652
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x1004a652
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x1004a64e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov dl, byte [esp + 0xf]
mov al, dl
jmp 0x1004a583
call fcn.1004a6b0
push eax
lea ecx, [esp + 0x38]
call fcn.10007ce0
mov byte [esp + 0x110], 1
lea edx, [esp + 0xd8]
mov ecx, eax
call fcn.100402b0
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.10007e20
mov byte [esp + 0x110], 2
lea ecx, [esp + 0x10]
push eax
call fcn.1006fea0
push 0x100ef7b4
lea eax, [esp + 0x14]
push eax
call fcn.1009151f
int3
Function at 0x1004b500
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b6cfa
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x100f1850]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x100f1850]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
cmp dword [esi + 0x14], 8
jb 0x1004b54e
mov eax, dword [esi]
jmp 0x1004b550
mov eax, esi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x1004b5aa
call fcn.1004b740
push eax
lea ecx, [esp + 0x38]
call fcn.10007ce0
mov dword [esp + 0xe8], edi
mov edx, esi
mov ecx, eax
call fcn.100090a0
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.10007e20
mov byte [esp + 0xe8], 1
lea ecx, [esp + 0x10]
push eax
call fcn.1006fea0
push 0x100ef7b4
lea eax, [esp + 0x14]
push eax
call fcn.1009151f
mov edx, edi
mov dword [esp + 0xd0], 0
lea ecx, [esp + 0xd0]
call fcn.1004dbf0
mov dword [esp + 0xe8], 2
cmp dword [esi + 0x14], 8
jb 0x1004b5d8
mov eax, dword [esi]
jmp 0x1004b5da
mov eax, esi
push dword [esp + 0xd0]
push edi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x1004b63b
call fcn.1004b900
push eax
lea ecx, [esp + 0x38]
call fcn.10007ce0
mov byte [esp + 0xe8], 3
mov edx, esi
mov ecx, eax
call fcn.100090a0
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.10007e20
mov byte [esp + 0xe8], 4
lea ecx, [esp + 0x10]
push eax
call fcn.1006fea0
push 0x100ef7b4
lea eax, [esp + 0x14]
push eax
call fcn.1009151f
lea eax, [esp + 0xd4]
mov dword [esp + 0xd4], 0
push eax
lea eax, [esp + 0xd0]
mov dword [esp + 0xd0], 0
push eax
push 0x100cfe98
push dword [esp + 0xdc]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x1004b6c3
call fcn.1004bab0
push eax
lea ecx, [esp + 0x38]
call fcn.10007ce0
mov byte [esp + 0xe8], 5
mov edx, esi
mov ecx, eax
call fcn.100090a0
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.10007e20
mov byte [esp + 0xe8], 6
lea ecx, [esp + 0x10]
push eax
call fcn.1006fea0
push 0x100ef7b4
lea eax, [esp + 0x14]
push eax
call fcn.1009151f
mov eax, dword [esp + 0xcc]
movzx ecx, word [eax + 0x14]
movzx edx, word [eax + 0x16]
movzx esi, word [eax + 0x10]
movzx edi, word [eax + 0x12]
mov eax, ecx
mov dword [ebx], eax
mov eax, edx
mov dword [ebx + 4], eax
mov eax, esi
mov dword [ebx + 8], eax
mov eax, edi
mov dword [ebx + 0xc], eax
mov dword [esp + 0xe8], 0xffffffff
mov ecx, dword [esp + 0xd0]
test ecx, ecx
je 0x1004b70c
push ecx
call fcn.1008b906
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.1008aee2
mov esp, ebp
pop ebp
ret
Function at 0x1004c010
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x100f1850]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.10095150
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x1004c072
cmp dword [ebp - 0x118], 2
jb 0x1004c072
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aee2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.1008aee2
mov esp, ebp
pop ebp
ret
Function at 0x1004d870
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b7068
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100f1850]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x100f1850]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x1004da03
cmp byte [ebx + 0x45], 0
je 0x1004da03
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x1004d8d0
xor al, al
jmp 0x1004da05
mov ecx, 0xf
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x18]
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x28], 0
cmovae eax, dword [esp + 0x18]
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 8
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
jmp 0x1004d930
cmp ecx, 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x1c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x1004d96b
dec eax
je 0x1004d96f
sub eax, 2
je 0x1004d9cd
xor bl, bl
jmp 0x1004d9cf
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x1004d9ae
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.1008d270
add esp, 0x10
cmp esi, eax
jne 0x1004d967
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x1004d9cd
test esi, esi
jne 0x1004d930
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.10014d00
jmp 0x1004d91f
mov bl, 1
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x1004d9ea
push dword [esp + 0x18]
call fcn.1008b066
add esp, 4
mov dword [esp + 0x2c], 0xf
mov al, bl
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
jmp 0x1004da05
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1008aee2
mov esp, ebp
pop ebp
ret
Function at 0x1004fee0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b7608
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x100f1850]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, edx
mov dword [esp + 0x18], esi
mov ebx, ecx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.1004fda0
mov dword [esp + 0x40], 0
mov edx, eax
mov ecx, ebx
call fcn.1001f220
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], 0x10
jb 0x1004ff50
push dword [esp + 0x1c]
call fcn.1008b066
add esp, 4
mov edi, dword [esi + 0x2c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov esi, dword [edi]
cmp esi, edi
je 0x1004ffef
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x10]
lea ebx, [edx + 0x18]
call fcn.1001f220
mov edx, 0x100cb2ac
mov ecx, eax
call fcn.1001c5e0
mov edx, ebx
mov ecx, eax
call fcn.1001f220
mov edx, 0x100cffa0
mov ecx, eax
call fcn.1001c5e0
cmp byte [esi + 0xd], 0
jne 0x1004ffe7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x1004ffcc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1004ffe7
jmp 0x1004ffc0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1004ffc0
jmp 0x1004ffe7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1004ffe5
cmp esi, dword [eax + 8]
jne 0x1004ffe5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1004ffd5
mov esi, eax
cmp esi, edi
jne 0x1004ff72
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, 0x100cffa0
mov ecx, ebx
call fcn.1001c5e0
lea edx, [esi + 0x64]
mov ecx, eax
call fcn.1001f220
mov eax, ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret