Function at 0x1003bb80
Capabilities:
Access peb ldr_data
Get number of processors
Get system information on windows
Read file via mapping
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10120098
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x1016e750]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x40], esi
mov eax, dword [esi + 0x30]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x20]
mov edi, dword [ebp + 0x1c]
push 0
push 0x64
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x18]
push eax
push ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], ecx
call fcn.1010a880
push dword [esp + 0x30]
push edi
push edx
push eax
call fcn.10115b60
mov ecx, 0x64
sub ecx, eax
lea eax, [esp + 0x3c]
push ecx
push edi
push ebx
push dword [ebp + 0xc]
push str.Extract:_VfcPointer_d__CompSize_d__UncompSize_d__compression_ratio_d___
push eax
call fcn.10044f30
add esp, 0x18
mov dword [esp + 0x80], 0
mov ecx, str.VfcReader
mov edx, dword [esp + 0x3c]
call fcn.10043b30
mov dword [esp + 0x80], 0xffffffff
or eax, 0xffffffff
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1003bc6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [esi + 8]
add ebx, dword [ebp + 0xc]
mov eax, dword [esi + 0xc]
adc eax, dword [ebp + 0x10]
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [0x101726dc]
mov edi, dword [esi + 0x24]
test eax, eax
jne 0x1003bcad
push 0x101726c0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x101726dc]
push 0
push eax
push dword [esp + 0x24]
push ebx
call fcn.10115c10
mov ecx, dword [esp + 0x1c]
mov esi, ebx
sub esi, eax
mov eax, ebx
sbb ecx, edx
sub eax, esi
add eax, 0x10
push eax
push esi
push ecx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x58], eax
test eax, eax
je 0x1003c02d
mov edi, dword [esp + 0x40]
mov edx, eax
sub edx, esi
lea esi, [esp + 0x14]
push esi
lea esi, [esp + 0x1c]
add edx, ebx
mov ecx, dword [edi + 0x28]
push esi
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esp + 0x18], 0xffffffff
jne 0x1003bd29
xor eax, eax
cmp eax, dword [esp + 0x34]
jg 0x1003bd21
jl 0x1003bd1b
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x38], eax
jae 0x1003bd25
mov eax, dword [esp + 0x38]
jmp 0x1003bd25
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x14], 0xffffffff
jne 0x1003bd52
xor eax, eax
cmp eax, dword [esp + 0x30]
jg 0x1003bd4a
jl 0x1003bd44
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x38], eax
jae 0x1003bd4e
mov eax, dword [esp + 0x38]
jmp 0x1003bd4e
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
push dword [esp + 0x58]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [esp + 0x18]
xor eax, eax
add esi, 0x2000
mov ecx, esi
sub ecx, dword [edi + 8]
sbb eax, dword [edi + 0xc]
add ecx, ebx
adc eax, dword [esp + 0x1c]
cmp eax, dword [edi + 0x14]
jb 0x1003bd8a
ja 0x1003bd82
cmp ecx, dword [edi + 0x10]
jbe 0x1003bd8a
mov esi, dword [edi + 8]
sub esi, ebx
add esi, dword [edi + 0x10]
mov eax, dword [edi + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [0x101726dc]
test eax, eax
jne 0x1003bdaa
push 0x101726c0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x101726dc]
mov edi, dword [esp + 0x1c]
push 0
push eax
push edi
push ebx
call fcn.10115c10
sub ebx, eax
mov eax, edi
mov edi, dword [esp + 0x3c]
sbb eax, edx
sub esi, ebx
add esi, edi
push esi
push ebx
push eax
push 4
push dword [esp + 0x68]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x60], eax
test eax, eax
je 0x1003bffe
mov edi, eax
mov eax, dword [esp + 0x14]
sub edi, ebx
mov dword [esp + 0x58], eax
mov ebx, dword [esp + 0x3c]
add edi, ebx
mov eax, dword [0x101726dc]
test eax, eax
jne 0x1003be0c
push 0x101726c0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x101726dc]
mov esi, dword [esp + 0x20]
push 0
push eax
push dword [esp + 0x34]
push esi
call fcn.10115c10
mov ecx, dword [esp + 0x2c]
sub esi, eax
mov eax, dword [esp + 0x20]
sbb ecx, edx
sub eax, esi
mov dword [esp + 0x3c], eax
add eax, dword [esp + 0x58]
push eax
push esi
push ecx
push 6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
mov dword [esp + 0x58], ecx
test ecx, ecx
je 0x1003bfd8
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x44]
push ebx
push dword [esp + 0x24]
add esi, ecx
push str.DestCurOfs_d__VfcCurOfs_d
push eax
call fcn.10044f30
add esp, 0x10
mov dword [esp + 0x80], 4
mov ecx, str.VfcReader
mov edx, dword [esp + 0x44]
call fcn.10043b30
mov dword [esp + 0x80], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1003beae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x1c]
push edx
push dword [esp + 0x24]
mov ecx, dword [ecx + 0x28]
push ebx
push esi
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x24]
mov edi, dword [esp + 0x28]
test edx, edx
je 0x1003bf00
cmp dword [esp + 0x18], edi
mov ecx, edi
mov eax, dword [edx]
cmovb ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x60]
push ecx
push dword [esp + 0x34]
mov ecx, edx
push dword [esp + 0x2c]
push esi
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x18]
add ebx, eax
mov ecx, dword [esp + 0x14]
adc dword [esp + 0x1c], 0
add dword [esp + 0x20], ecx
mov edx, dword [esp + 0x34]
adc dword [esp + 0x2c], 0
mov dword [esp + 0x3c], ebx
test edx, edx
jl 0x1003bf35
mov esi, dword [esp + 0x24]
jg 0x1003bf2e
cmp esi, eax
jbe 0x1003bf35
sub esi, eax
sbb edx, 0
jmp 0x1003bf46
xorps xmm0, xmm0
movlpd qword [esp + 0x64], xmm0
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x24], esi
test edx, edx
jl 0x1003bf6b
jg 0x1003bf5c
cmp edi, ecx
jbe 0x1003bf6b
sub edi, ecx
mov dword [esp + 0x28], edi
sbb edx, 0
mov dword [esp + 0x30], edx
jmp 0x1003bf84
xorps xmm0, xmm0
movlpd qword [esp + 0x6c], xmm0
mov edx, dword [esp + 0x70]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x28], edx
add dword [esp + 0x48], eax
push dword [esp + 0x60]
adc dword [esp + 0x50], 0
add dword [esp + 0x54], ecx
mov edi, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
adc dword [esp + 0x58], 0
call edi
push dword [esp + 0x58]
call edi
cmp dword [esp + 0x34], 0
jl 0x1003bfbe
jg 0x1003bfb5
test esi, esi
je 0x1003bfbe
mov esi, dword [esp + 0x40]
jmp 0x1003bc91
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x58]
push str._Extract:_Dest_mapping_failed__LE_d
push eax
call fcn.10044f30
add esp, 0xc
mov dword [esp + 0x80], 3
jmp 0x1003c05a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x5c]
push dword [esp + 0x20]
push edi
push str._Extract:_Src_mapping_failed_b_:_VfcCurOfs_d__SrcMapSize_d__DestMapSize_d__LE_d
push eax
call fcn.10044f30
add esp, 0x18
mov dword [esp + 0x80], 2
jmp 0x1003c05a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x5c]
push dword [esp + 0x20]
push ebx
push str._Extract:_Src_mapping_failed_a_:_VfcCurOfs_d__SrcMapSize_d__DestMapSize_d__LE_d
push eax
call fcn.10044f30
add esp, 0x18
mov dword [esp + 0x80], 1
mov edx, dword [esp + 0x54]
mov ecx, str.VfcReader
call fcn.10043b30
mov dword [esp + 0x80], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [esp + 0x54]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1003c091
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20