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

Disassembly:
push 0xffffffffffffffff
push 0x10346601
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], 3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov byte [esp + 0xc], bl
mov eax, dword [esp + 0xc]
push eax
push ecx
push edx
sub esp, 0x10
mov esi, esp
lea eax, [esp + 0x6c]
mov dword [esp + 0x28], esp
push eax
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.100011b0
mov ecx, dword [esp + 0x74]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x78]
mov dword [esi + 0xc], edx
sub esp, 0x10
mov byte [esp + 0x50], 4
mov eax, esp
lea ecx, [esp + 0x6c]
mov dword [esp + 0x40], esp
push ecx
push eax
call fcn.100236b0
sub esp, 8
mov edx, esp
lea eax, [esp + 0x6c]
mov dword [esp + 0x54], esp
push eax
push edx
mov byte [esp + 0x68], 5
call fcn.100236b0
mov esi, dword [esp + 0x70]
add esp, 8
push esi
mov byte [esp + 0x64], 3
call fcn.100236e0
add esp, 0x40
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], 1
mov byte [esp + 0x24], 2
call fcn.10001230
lea ecx, [esp + 0x40]
mov byte [esp + 0x24], 1
call fcn.10001230
lea ecx, [esp + 0x50]
mov byte [esp + 0x24], bl
call fcn.10001230
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x100229e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10346601
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], 3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov byte [esp + 0xc], bl
mov eax, dword [esp + 0xc]
push eax
push ecx
push edx
sub esp, 0x10
mov esi, esp
lea eax, [esp + 0x6c]
mov dword [esp + 0x28], esp
push eax
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.100011b0
mov ecx, dword [esp + 0x74]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x78]
mov dword [esi + 0xc], edx
sub esp, 0x10
mov byte [esp + 0x50], 4
mov eax, esp
lea ecx, [esp + 0x6c]
mov dword [esp + 0x40], esp
push ecx
push eax
call fcn.100236b0
sub esp, 8
mov edx, esp
lea eax, [esp + 0x6c]
mov dword [esp + 0x54], esp
push eax
push edx
mov byte [esp + 0x68], 5
call fcn.100236b0
mov esi, dword [esp + 0x70]
add esp, 8
push esi
mov byte [esp + 0x64], 3
call fcn.10023af0
add esp, 0x40
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], 1
mov byte [esp + 0x24], 2
call fcn.10001230
lea ecx, [esp + 0x40]
mov byte [esp + 0x24], 1
call fcn.10001230
lea ecx, [esp + 0x50]
mov byte [esp + 0x24], bl
call fcn.10001230
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x100236e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x103465a1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x38], 3
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x10023722
cmp eax, dword [esp + 0x44]
je 0x10023739
push 0x6b1
push str.C:Program_FilesMicrosoft_Visual_Studio_9.0VCinclude_vector
push str.vector_bool__iterators_incompatible
call fcn.10238950
add esp, 0xc
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x40]
sar eax, 2
shl eax, 5
sub eax, dword [esp + 0x50]
lea ecx, [esp + 0x64]
add eax, dword [esp + 0x60]
push eax
push edi
call fcn.10020790
mov eax, dword [esp + 0x40]
mov byte [esp + 0x14], bl
mov ecx, dword [esp + 0x14]
push ecx
mov byte [esp + 0x1c], bl
mov edx, dword [esp + 0x1c]
push edx
push eax
sub esp, 0x10
mov ecx, esp
lea edx, [esp + 0x80]
mov dword [esp + 0x34], esp
push edx
push ecx
mov dword [esp + 0x34], 1
call fcn.100236b0
sub esp, 8
mov esi, esp
mov byte [esp + 0x64], 4
lea eax, [esp + 0x80]
mov dword [esp + 0x40], esp
push eax
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.100011b0
mov ecx, dword [esp + 0x88]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x8c]
mov dword [esi + 0xc], edx
sub esp, 0x10
mov esi, esp
lea eax, [esp + 0x80]
mov byte [esp + 0x74], 5
mov dword [esp + 0x58], esp
push eax
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.100011b0
mov ecx, dword [esp + 0x88]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x8c]
lea eax, [esp + 0x5c]
mov dword [esi + 0xc], edx
push eax
mov byte [esp + 0x78], 3
call fcn.10024c10
add esp, 0x40
lea ecx, [esp + 0x20]
call fcn.10001230
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 2
call fcn.10001230
lea ecx, [esp + 0x54]
mov byte [esp + 0x38], 1
call fcn.10001230
lea ecx, [esp + 0x64]
mov byte [esp + 0x38], bl
call fcn.10001230
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x10023af0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x103465a1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x38], 3
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x10023b32
cmp eax, dword [esp + 0x44]
je 0x10023b49
push 0x6b1
push str.C:Program_FilesMicrosoft_Visual_Studio_9.0VCinclude_vector
push str.vector_bool__iterators_incompatible
call fcn.10238950
add esp, 0xc
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x40]
sar eax, 2
shl eax, 5
sub eax, dword [esp + 0x50]
lea ecx, [esp + 0x64]
add eax, dword [esp + 0x60]
push eax
push edi
call fcn.10024050
mov eax, dword [esp + 0x40]
mov byte [esp + 0x14], bl
mov ecx, dword [esp + 0x14]
push ecx
mov byte [esp + 0x1c], bl
mov edx, dword [esp + 0x1c]
push edx
push eax
sub esp, 0x10
mov ecx, esp
lea edx, [esp + 0x80]
mov dword [esp + 0x34], esp
push edx
push ecx
mov dword [esp + 0x34], 1
call fcn.100236b0
sub esp, 8
mov esi, esp
mov byte [esp + 0x64], 4
lea eax, [esp + 0x80]
mov dword [esp + 0x40], esp
push eax
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.100011b0
mov ecx, dword [esp + 0x88]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x8c]
mov dword [esi + 0xc], edx
sub esp, 0x10
mov esi, esp
lea eax, [esp + 0x80]
mov byte [esp + 0x74], 5
mov dword [esp + 0x58], esp
push eax
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.100011b0
mov ecx, dword [esp + 0x88]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x8c]
lea eax, [esp + 0x5c]
mov dword [esi + 0xc], edx
push eax
mov byte [esp + 0x78], 3
call fcn.100250d0
add esp, 0x40
lea ecx, [esp + 0x20]
call fcn.10001230
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 2
call fcn.10001230
lea ecx, [esp + 0x54]
mov byte [esp + 0x38], 1
call fcn.10001230
lea ecx, [esp + 0x64]
mov byte [esp + 0x38], bl
call fcn.10001230
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x10024050
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10343181
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0xc], ebx
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.100011b0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x34]
neg edx
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 1
call fcn.100213f0
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.100011b0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
mov byte [esp + 0x28], bl
call fcn.10001230
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret 8

Function at 0x100242e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10349934
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea ebp, [edi + 8]
mov dword [ebp], 0x104cac00
mov dword [edi + 0xc], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x1c]
push eax
push esi
lea ecx, [edi + 4]
mov dword [esp + 0x20], 1
mov dword [edi], esi
call fcn.100259f0
push esi
push esi
push edi
call fcn.100776d0
add esp, 0xc
mov dword [esp + 0x2c], 1
mov ecx, dword [edi]
mov eax, ebp
mov edx, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 4]
mov dword [eax + ecx], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.1000a080
mov eax, dword [esp + 0x1c]
push 0x20
mov ecx, esi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
call fcn.100150c0
mov byte [esi + 0x30], al
cmp dword [esi + 0x28], ebx
jne 0x100243a7
mov eax, dword [esi + 8]
or eax, 4
push ebx
push eax
mov ecx, esi
call fcn.10001fc0
mov dword [esi + 4], ebx
mov ecx, dword [ebp]
mov edx, dword [ecx + 4]
mov dword [edx + edi + 8], vtable.boost::io::basic_oaltstringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x10024880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10341eb1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x14], 0
call fcn.10025630
add esp, 8
mov edi, eax
mov dword [esp + 0x24], 1
mov esi, dword [esp + 0x2c]
push edi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100011b0
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
mov byte [esp + 0x24], 0
call fcn.10001230
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x10024920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10341eb1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x14], 0
call fcn.10025660
add esp, 8
mov edi, eax
mov dword [esp + 0x24], 1
mov esi, dword [esp + 0x2c]
push edi
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100011b0
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
mov byte [esp + 0x24], 0
call fcn.10001230
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x100249c0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x10342f78
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
sub esp, 0xc
mov esi, esp
mov dword [esp + 0x28], 1
lea eax, [esp + 0x3c]
mov dword [esp + 0x18], esp
push eax
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100011b0
mov ecx, dword [esp + 0x44]
mov dword [esi + 8], ecx
sub esp, 0xc
mov esi, esp
lea edx, [esp + 0x3c]
mov byte [esp + 0x34], 2
mov dword [esp + 0x28], esp
push edx
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100011b0
mov eax, dword [esp + 0x44]
mov dword [esi + 8], eax
mov ecx, edi
mov byte [esp + 0x34], 1
call fcn.10025690
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 0
call fcn.10001230
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
call fcn.10001230
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0x18
Function at 0x10025490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10342fc4
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 8], 0
mov dword [esi + 0x28], 0x104c70bc
mov dword [esi + 0x30], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x14], 0
push edi
mov ecx, esi
mov dword [esp + 0xc], 1
call fcn.10023e70
mov dword [esp + 0x14], 1
mov eax, dword [esi + 0x28]
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_many_args__.0
mov dword [esi + 0x14], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_many_args__.1.0
mov edx, dword [eax + 4]
lea ecx, [esi + 0x14]
mov dword [edx + esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::io::too_many_args__.2.0
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 4]
lea edx, [eax - 8]
mov dword [eax + esi + 0x24], edx
test edi, edi
je 0x10025520
lea eax, [edi + 0x14]
jmp 0x10025522
xor eax, eax
push eax
push ecx
call fcn.1000a240
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x10025690
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x10342f78
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
sub esp, 0xc
mov esi, esp
mov dword [esp + 0x28], 1
lea eax, [esp + 0x3c]
mov dword [esp + 0x18], esp
push eax
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100011b0
mov ecx, dword [esp + 0x44]
mov dword [esi + 8], ecx
sub esp, 0xc
mov esi, esp
lea edx, [esp + 0x3c]
mov byte [esp + 0x34], 2
mov dword [esp + 0x28], esp
push edx
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100011b0
mov eax, dword [esp + 0x44]
mov dword [esi + 8], eax
mov ecx, edi
mov byte [esp + 0x34], 1
call fcn.10025940
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 0
call fcn.10001230
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
call fcn.10001230
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0x18
Function at 0x10025f20
Capabilities:
Check os version
Get hostname
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x10346418
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x10525930]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov edi, 0xf
mov dword [esi], ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], ebx
mov dword [esp + 0x38], esi
mov byte [esi + 8], bl
mov ebp, 0x180
push ebp
lea eax, [esp + 0xe0]
mov dword [esp + 0x26c], ebx
push ebx
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], ebp
call fcn.10262810
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xe0]
push edx
push 7
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
push 0xa
push str._Machine_:
mov ecx, esi
call fcn.10005dd0
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x1c]
call fcn.10003680
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x274], 1
call fcn.100064b0
mov byte [esp + 0x268], bl
cmp dword [esp + 0x34], 0x10
jb 0x10026003
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1025a370
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10001370
push ebp
lea edx, [esp + 0xe0]
push ebx
push edx
mov dword [esp + 0x1c], ebp
call fcn.10262810
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xe0]
push ecx
push 7
call sub.Secur32.dll_GetUserNameExA
push 8
push str.__User_:
mov ecx, esi
call fcn.10005dd0
lea edx, [esp + 0xdc]
push edx
lea ecx, [esp + 0x1c]
call fcn.10003680
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x274], 2
call fcn.100064b0
mov byte [esp + 0x268], bl
cmp dword [esp + 0x34], 0x10
jb 0x10026092
mov eax, dword [esp + 0x20]
push eax
call fcn.1025a370
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10001370
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 6
push str.__OS_:
mov ecx, esi
call fcn.10005dd0
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
cmp ebp, 5
jne 0x100260fa
cmp edi, 1
jne 0x100260e8
push str.Windows_Xp
mov ecx, esi
call fcn.10012530
jmp 0x1002612d
cmp edi, ebx
jne 0x100260fa
push str.Windows_2000
mov ecx, esi
call fcn.10012530
jmp 0x1002612d
mov cl, byte [esp + 0xd6]
mov eax, 0x1052b0dc
cmp ebp, dword [eax - 4]
jne 0x10026114
cmp edi, dword [eax]
jne 0x10026114
cmp cl, byte [eax + 4]
je 0x10026156
add eax, 0x10
inc ebx
cmp eax, 0x1052b1dc
jl 0x10026106
push 7
push str.Unknown
mov ecx, esi
call fcn.10005dd0
mov eax, esi
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.102595a0
add esp, 0x25c
ret
shl ebx, 4
mov edx, dword [ebx + 0x1052b0e4]
push edx
mov ecx, esi
call fcn.10012530
jmp 0x1002612d
Function at 0x1002f6f0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1002f738
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [esp + 8], esi
call fcn.102e3df0
neg esi
sbb esi, esi
mov dword [esp + 0xc], eax
test esi, fcn.100776d0
je 0x1002f738
lea eax, [esp + 8]
push eax
mov ecx, 0x104c7c74
call fcn.1002f5b0
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1002f740
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x19c
mov eax, dword [0x10525930]
xor eax, esp
mov dword [esp + 0x194], eax
push 0x1053cc50
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x1002f77c
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x1053cc54
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.102595a0
add esp, 0x19c
ret
Function at 0x1003d860
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10342e11
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x38], 2
call fcn.10018920
mov ebp, eax
sub esp, 0xc
mov esi, esp
mov byte [esp + 0x40], 3
mov dword [esp + 0x24], esp
push ebp
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.100011b0
mov ecx, dword [ebp + 8]
mov dword [esi + 8], ecx
sub esp, 0xc
mov esi, esp
mov byte [esp + 0x4c], 4
lea edx, [esp + 0x58]
mov dword [esp + 0x34], esp
push edx
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.100011b0
mov eax, dword [esp + 0x60]
mov dword [esi + 8], eax
mov byte [esp + 0x4c], 3
call fcn.10014110
add esp, 0x18
lea ecx, [esp + 0x20]
mov ebp, eax
mov byte [esp + 0x34], 2
call fcn.10001230
sub esp, 0xc
mov esi, esp
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], esp
push ecx
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.100011b0
mov edx, dword [esp + 0x54]
mov dword [esi + 8], edx
sub esp, 0xc
mov esi, esp
mov byte [esp + 0x4c], 5
lea eax, [esp + 0x64]
mov dword [esp + 0x30], esp
push eax
mov ecx, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.100011b0
mov ecx, dword [esp + 0x6c]
mov dword [esi + 8], ecx
mov byte [esp + 0x4c], 2
call fcn.10014110
add esp, 0x18
push eax
push ebp
mov ecx, edi
call fcn.100c8320
cmp dword [edi + 0x1c], 0x10
jb 0x1003d96f
mov eax, dword [edi + 8]
jmp 0x1003d972
lea eax, [edi + 8]
mov esi, dword [esp + 0x3c]
push edi
add eax, ebp
push eax
mov ecx, esi
call fcn.10005240
mov eax, 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], eax
mov byte [esp + 0x34], al
call fcn.10001230
lea ecx, [esp + 0x4c]
mov byte [esp + 0x34], bl
call fcn.10001230
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x1c
Function at 0x1003f490
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10347ba0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x2c]
push edi
push esi
call fcn.1003fb10
lea eax, [edi + 0x14]
push eax
lea ecx, [esi + 0x14]
xor ebx, ebx
push ecx
mov dword [esp + 0x2c], ebx
call fcn.1003fab0
mov byte [esp + 0x24], 1
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov dl, byte [edi + 0x3c]
lea eax, [edi + 0x40]
push eax
lea ecx, [esi + 0x40]
mov byte [esi + 0x3c], dl
call fcn.10003720
mov byte [esp + 0x24], 2
mov cl, byte [edi + 0x60]
mov byte [esi + 0x60], cl
lea ebp, [esi + 0x64]
mov ecx, ebp
call fcn.100141f0
mov dword [ebp], vtable.boost::io::basic_altstringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp + 0x3c], ebx
mov byte [ebp + 0x40], bl
mov dword [ebp + 0x44], 3
mov byte [esi + 0xb0], bl
cmp byte [edi + 0xb0], bl
je 0x1003f56f
lea eax, [esi + 0xb4]
cmp eax, ebx
je 0x1003f568
mov edi, dword [edi + 0xb4]
push ebx
lea ecx, [esp + 0x1c]
mov dword [eax], edi
call fcn.10239250
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x1003f55f
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 0x18]
call fcn.10239290
mov byte [esi + 0xb0], 1
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x100400b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x103413b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10525930]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x34]
push eax
sub esp, 0xc
mov esi, esp
lea ecx, [esp + 0x38]
mov dword [esp + 0x44], esp
push ecx
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100011b0
mov edx, dword [esp + 0x40]
mov dword [esi + 8], edx
sub esp, 0xc
mov esi, esp
lea eax, [esp + 0x38]
mov byte [esp + 0x30], 2
mov dword [esp + 0x24], esp
push eax
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100011b0
mov ecx, dword [esp + 0x40]
mov dword [esi + 8], ecx
mov byte [esp + 0x30], 1
call fcn.10040400
add esp, 0x1c
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x14], 0
call fcn.10001230
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
call fcn.10001230
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x1c