Function at 0x45fcf0
Capabilities:
Check os version
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c8998
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push ebp
push esi
mov eax, dword [0x4eadc8]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xac]
movsx ebx, word [eax + 0x97a]
movsx ebp, word [eax + 0x97c]
mov eax, dword [0x6391d8]
mov ecx, dword [0x4efb90]
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.00489780
push 0x323232
push 0xc8c8c8
lea ecx, [esp + 0x38]
mov dword [esp + 0xac], 0
call fcn.00483ce0
mov edx, dword [edi + 0x1b4]
push edx
lea eax, [ebp + 0xc3]
push eax
lea esi, [ebx + 0x108]
push esi
lea ecx, [esp + 0x3c]
call fcn.00487220
mov ecx, dword [edi + 0x1b4]
add ecx, 0x28
push ecx
lea edx, [ebp + 0xd2]
push edx
push esi
lea ecx, [esp + 0x3c]
call fcn.00487220
mov eax, dword [edi + 0x1b4]
add eax, 0x50
push eax
lea ecx, [ebp + 0xe2]
push ecx
push esi
lea ecx, [esp + 0x3c]
call fcn.00487220
mov edx, dword [edi + 0x1b4]
add edx, 0x78
push edx
lea eax, [ebp + 0xfa]
push eax
push esi
lea ecx, [esp + 0x3c]
call fcn.00487220
mov eax, dword [edi + 0x1b4]
movzx edx, byte [eax + 0xfb0]
mov eax, dword [eax + edx*4 + 0x102c]
add eax, 0x18
push eax
lea ecx, [ebp + 0x14]
push ecx
lea esi, [ebx + 0x109]
push esi
lea ecx, [esp + 0x3c]
call fcn.00487220
mov eax, dword [edi + 0x1b4]
movzx ecx, byte [eax + 0xfb0]
shl ecx, 7
lea edx, [ecx + eax + 0xa0]
push edx
push 0x10
lea eax, [ebp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.004873b0
add esp, 0x14
lea ecx, [esp + 0x30]
mov dword [esp + 0xa4], 0xffffffff
call fcn.004897b0
mov eax, dword [edi + 0x1b4]
movzx edx, byte [eax + 0xfb0]
mov eax, dword [eax + edx*4 + 0xfb4]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4602b4
mov ecx, dword [edi + 0x1b4]
mov esi, dword [eax + 0x88]
mov eax, dword [ecx + 0xfa0]
imul esi
push 0
push 0x2710
push edx
push eax
call fcn.004c6510
mov ecx, dword [edi + 0x1b4]
sub esi, eax
mov eax, dword [ecx + 0xfac]
imul eax, esi
cmp byte [ecx + 0xfb1], 0
cdq
push 0
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
push 0
je 0x45fed3
mov eax, dword [edi + 0x42714]
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x28], eax
mov eax, 2
call fcn.0044f9d0
mov ecx, dword [edi + 0x42714]
push 0xa
push ecx
jmp 0x45fef7
mov edx, dword [edi + 0x42710]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0xb4]
mov eax, 1
call fcn.0044f9d0
mov eax, dword [edi + 0x42710]
push 0xa
push eax
lea esi, [ebp + 0x8c]
push esi
xor eax, eax
lea ecx, [ebx + 0x16d]
call fcn.004706a0
mov ecx, dword [esp + 0x2c]
mov eax, ecx
cdq
add esp, 0xc
cmp dword [esp + 0x28], edx
jl 0x45ff3d
jg 0x45ff23
cmp dword [esp + 0x24], eax
jbe 0x45ff3d
cmp dword [esp + 0x1c], 0
je 0x45ff3d
mov eax, ecx
cdq
idiv dword [esp + 0x1c]
mov ecx, dword [edi + 0x1b4]
mov dword [ecx + 0xfac], eax
mov edx, dword [edi + 0x1b4]
mov eax, dword [edx + 0xfa4]
push 0xa
push eax
lea ecx, [ebx + 0x1e0]
push esi
xor eax, eax
call fcn.004706a0
mov ecx, dword [esp + 0x24]
movzx edx, word [ecx + 0x78]
push 5
push edx
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebx + 0x1ea]
xor eax, eax
call fcn.004706a0
mov eax, dword [edi + 0x1b4]
mov ecx, dword [eax + 0xfac]
push 4
push ecx
lea esi, [ebp + 0x67]
push esi
lea ecx, [ebx + 0x154]
xor eax, eax
call fcn.004706a0
mov eax, dword [esp + 0x48]
add esp, 0x24
mov edx, eax
or edx, dword [esp + 0x28]
push 7
lea ecx, [ebx + 0x1e0]
jne 0x45ffb1
mov eax, dword [esp + 0x20]
push eax
push esi
xor eax, eax
call fcn.004706a0
mov edx, dword [edi + 0x1b4]
mov eax, dword [edx + 0xfac]
add esp, 0xc
cmp eax, 0xa
jg 0x45ffd8
lea ecx, [eax + eax*4]
push 0
add ecx, ecx
push ecx
jmp 0x460015
mov ecx, dword [esp + 0x18]
movzx ecx, word [ecx + 0x78]
cmp ecx, 0x63
jle 0x45ffec
mov ecx, 0x63
jmp 0x45fff0
test ecx, ecx
jle 0x460026
cmp eax, ecx
jle 0x45fffa
mov dword [edx + 0xfac], ecx
mov edx, dword [edi + 0x1b4]
mov eax, dword [edx + 0xfac]
sub eax, 0xa
imul eax, eax, 0x5a
cdq
idiv ecx
push 0
add eax, 0x5a
push eax
mov edx, dword [esp + 0xb4]
mov eax, 3
call fcn.0044f9d0
mov eax, 0x34
mov ecx, 0x10
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x88], ecx
mov ecx, dword [eax + 0x984]
mov dword [esp + 0x54], 0x3c
mov dword [esp + 0x5c], 0x60
mov dword [esp + 0x64], 0x68
mov dword [esp + 0x6c], 0x8c
mov dword [esp + 0x74], 0x94
mov dword [esp + 0x7c], 0xb8
mov dword [esp + 0x84], 0xc0
mov dword [esp + 0x8c], 0xe4
mov edx, dword [ecx + 4]
lea ecx, [ebp + 0x10]
mov dword [esp + 0x1c], edx
mov eax, 0xfb4
mov dword [esp + 0x18], ecx
jmp 0x4600d5
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 5
jmp 0x4600f8
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov edx, dword [edi + 0x1b4]
mov esi, dword [esp + 0x14]
mov esi, dword [esi + edx]
test esi, esi
je 0x460133
movzx edx, byte [esi + 0x77]
shl edx, 4
lea edx, [esp + edx + 0x44]
push edx
mov edx, dword [esp + 0x20]
push edx
push ecx
mov ecx, dword [0x4efb90]
push eax
call fcn.0047d5d0
push 2
push ebp
mov eax, ebx
call fcn.0042d4f0
jmp 0x46014a
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x20]
push edx
push ecx
mov ecx, dword [0x4efb90]
push eax
call fcn.0047d5d0
add dword [esp + 0x14], 4
add dword [esp + 0x20], 0x2c
sub dword [esp + 0x24], 1
jne 0x4600f0
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], 0x2c
cmp eax, 0x1018
jl 0x4600d1
lea ecx, [ebp + 0xf8]
lea eax, [ebx + 0x10]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], 0x1018
mov dword [esp + 0x18], eax
jmp 0x460198
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x1b4]
mov esi, dword [esp + 0x20]
mov esi, dword [esi + edx]
test esi, esi
je 0x4601d3
movzx edx, byte [esi + 0x77]
shl edx, 4
lea edx, [esp + edx + 0x44]
push edx
mov edx, dword [esp + 0x20]
push edx
push ecx
mov ecx, dword [0x4efb90]
push eax
call fcn.0047d5d0
push 2
push ebp
mov eax, ebx
call fcn.0042d4f0
jmp 0x4601ea
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x20]
push edx
push ecx
mov ecx, dword [0x4efb90]
push eax
call fcn.0047d5d0
mov eax, dword [esp + 0x20]
add dword [esp + 0x18], 0x2c
add eax, 4
cmp eax, 0x102c
mov dword [esp + 0x20], eax
jl 0x460190
mov eax, dword [edi + 0x1b4]
movzx ecx, byte [eax + 0xfb0]
mov edx, dword [eax + ecx*4 + 0xfb4]
cmp byte [edx + 0x77], 0
jne 0x460222
mov byte [eax + 0xfb0], 0
mov eax, dword [edi + 0x1b4]
mov al, byte [eax + 0xfb0]
cmp al, 0x19
jae 0x460275
mov ecx, dword [edi + 0x1b4]
movzx eax, byte [ecx + 0xfb0]
cdq
mov ecx, 5
idiv ecx
movzx ecx, byte [0x4efb84]
neg ecx
sbb ecx, ecx
and ecx, 0x6720
add ecx, 0x6739
push ecx
push 0x24
push 0x24
imul eax, eax, 0x2c
imul edx, edx, 0x2c
lea eax, [eax + ebp + 0xf]
push eax
lea ecx, [edx + ebx + 0xf]
push ecx
jmp 0x4602a9
movzx edx, byte [0x4efb84]
mov ecx, dword [esp + 0x24]
neg edx
sbb edx, edx
and edx, 0x6720
add edx, 0x6739
push edx
push 0x24
movzx eax, al
push 0x24
push ecx
cdq
mov ecx, 5
idiv ecx
imul edx, edx, 0x2c
lea edx, [edx + ebx + 0xf]
push edx
mov ecx, dword [0x4efb90]
call fcn.0047a560
mov eax, 1
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 4