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

Disassembly:
push 0xffffffffffffffff
push 0x80e1e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push ebp
push esi
lea eax, [esp + 0x27]
push edi
mov esi, ecx
push eax
lea ecx, [esp + 0xa0]
call fcn.00478ac0
mov edi, vtable.ucs2string.0
push 0x908e30
mov dword [esp + 0xcc], 0
mov dword [esp + 0x9c], edi
call fcn.007ac4d2
add esp, 4
lea ecx, [esp + 0x9c]
push eax
push 0x908e30
call fcn.00403980
lea ecx, [esp + 0xac]
mov dword [esp + 0xc8], 1
call fcn.004034a0
push 0x908e30
mov byte [esp + 0xcc], 2
mov dword [esp + 0xb0], edi
call fcn.007ac4d2
add esp, 4
lea ecx, [esp + 0xb0]
push eax
push 0x908e30
call fcn.00403980
lea ecx, [esp + 0x84]
mov byte [esp + 0xc8], 3
call fcn.004034a0
push 0x908e30
mov byte [esp + 0xcc], 4
mov dword [esp + 0x88], edi
call fcn.007ac4d2
add esp, 4
lea ecx, [esp + 0x88]
push eax
push 0x908e30
call fcn.00403980
lea ecx, [esp + 0x40]
mov byte [esp + 0xc8], 5
call fcn.004034a0
push 0x908e30
mov byte [esp + 0xcc], 6
mov dword [esp + 0x44], edi
call fcn.007ac4d2
add esp, 4
lea ecx, [esp + 0x44]
push eax
push 0x908e30
call fcn.00403980
mov ebp, dword [esp + 0xd0]
mov bl, 7
push 0x1f
mov ecx, ebp
mov byte [esp + 0xcc], bl
call fcn.0054c8a0
test eax, eax
mov dword [esp + 0x10], eax
je 0x52cc23
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 4
mov dword [esp + 0x20], 8
mov dword [esp + 0x24], 0x10
xor edi, edi
mov ecx, dword [esp + edi*4 + 0x14]
push ecx
mov ecx, ebp
call fcn.0054c8a0
test eax, eax
jne 0x52ca6f
inc edi
cmp edi, 5
jl 0x52ca57
jmp 0x52cabd
cmp eax, dword [esp + 0x10]
jne 0x52cabd
mov edx, dword [esp + edi*4 + 0x14]
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.0054e5a0
add esp, 8
test eax, eax
mov byte [esp + 0xc8], 8
je 0x52ca98
add eax, 4
jmp 0x52ca9a
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xa8]
call fcn.00403760
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0xcc], bl
call fcn.00404f20
xor edi, edi
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], 2
mov dword [esp + 0x20], 4
mov dword [esp + 0x24], 0x100
mov ecx, dword [esp + edi*4 + 0x14]
push 0x1f
push ecx
mov ecx, ebp
call fcn.0054c9c0
test eax, eax
jne 0x52cafd
inc edi
cmp edi, 5
jl 0x52cae3
jmp 0x52cb4b
cmp eax, dword [esp + 0x10]
jne 0x52cb4b
mov edx, dword [esp + edi*4 + 0x14]
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.0054de80
add esp, 8
test eax, eax
mov byte [esp + 0xc8], 9
je 0x52cb26
add eax, 4
jmp 0x52cb28
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xbc]
call fcn.00403760
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0xcc], bl
call fcn.00404f20
push 0x1f
push 0x100
mov ecx, ebp
call fcn.0054c9c0
test eax, eax
jne 0x52cc23
push 0x1f
mov ecx, ebp
call fcn.0054c900
test eax, eax
jne 0x52cb83
push 0x8fc968
call fcn.007ac4d2
add esp, 4
push eax
push 0x8fc968
jmp 0x52cb9c
cmp eax, dword [esp + 0x10]
jne 0x52cba8
push 0x8fc974
call fcn.007ac4d2
add esp, 4
push eax
push 0x8fc974
lea ecx, [esp + 0x90]
call fcn.00403980
push 0x1f
mov ecx, ebp
call fcn.0054c960
test eax, eax
jne 0x52cbe1
push 0x8fc968
call fcn.007ac4d2
add esp, 4
mov edi, eax
lea ecx, [esp + 0x44]
push 1
push edi
call fcn.00404d30
test al, al
je 0x52cc23
mov ecx, dword [esp + 0x48]
push edi
push 0x8fc968
push ecx
jmp 0x52cc11
cmp eax, dword [esp + 0x10]
jne 0x52cc23
push 0x8fc974
call fcn.007ac4d2
add esp, 4
mov edi, eax
lea ecx, [esp + 0x44]
push 1
push edi
call fcn.00404d30
test al, al
je 0x52cc23
mov edx, dword [esp + 0x48]
push edi
push 0x8fc974
push edx
call fcn.004069b0
add esp, 0xc
lea ecx, [esp + 0x44]
push edi
call fcn.00404c90
push 0x95178c
lea eax, [esp + 0x18]
push 0x909700
push eax
call fcn.00406a00
push 0x9096f8
lea ecx, [esp + 0x74]
push eax
push ecx
mov byte [esp + 0xe0], 0xa
call fcn.00406b50
lea edx, [esp + 0xb4]
mov byte [esp + 0xe0], 0xb
push edx
push eax
lea eax, [esp + 0x94]
push eax
call fcn.00406890
push str._b0_
lea ecx, [esp + 0x7c]
push eax
push ecx
mov byte [esp + 0xf8], 0xc
call fcn.00406b50
add esp, 0x30
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xd4], 0xd
call fcn.00419860
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0xcc], 0x12
call fcn.00404f20
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xcc], 0x11
call fcn.00404f20
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0xcc], 0x10
call fcn.00404f20
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xcc], 0xf
call fcn.00404f20
mov eax, dword [esi + 0x128]
lea edx, [esp + 0x2c]
push 2
push edx
push eax
call fcn.00569990
add esp, 0xc
lea ecx, [esp + 0x30]
mov byte [esp + 0xc8], bl
push 1
call fcn.00404f20
push 0x951774
lea ecx, [esp + 0x58]
push 0x909700
push ecx
call fcn.00406a00
push 0x9096f8
lea edx, [esp + 0x84]
push eax
push edx
mov byte [esp + 0xe0], 0x13
call fcn.00406b50
mov byte [esp + 0xe0], 0x14
lea ecx, [esp + 0xc8]
lea edx, [esp + 0x7c]
push ecx
push eax
push edx
call fcn.00406890
push str._b0_
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0xf4], 0x15
push eax
call fcn.00406b50
add esp, 0x30
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xd4], 0x16
call fcn.00419860
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xcc], 0x1b
call fcn.00404f20
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0xcc], 0x1a
call fcn.00404f20
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xcc], 0x19
call fcn.00404f20
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0xcc], 0x18
call fcn.00404f20
mov edx, dword [esi + 0x164]
lea ecx, [esp + 0x2c]
push 2
push ecx
push edx
call fcn.00569990
add esp, 0xc
lea ecx, [esp + 0x30]
mov byte [esp + 0xc8], bl
push 1
call fcn.00404f20
push 0x951760
lea eax, [esp + 0x58]
push 0x909700
push eax
call fcn.00406a00
push 0x9096f8
lea ecx, [esp + 0x84]
push eax
push ecx
mov byte [esp + 0xe0], 0x1c
call fcn.00406b50
lea edx, [esp + 0xa0]
mov byte [esp + 0xe0], 0x1d
push edx
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00406890
push str._b0_
lea ecx, [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0xf8], 0x1e
call fcn.00406b50
add esp, 0x30
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xd4], 0x1f
call fcn.00419860
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xcc], 0x24
call fcn.00404f20
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0xcc], 0x23
call fcn.00404f20
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0xcc], 0x22
call fcn.00404f20
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0xcc], 0x21
call fcn.00404f20
mov eax, dword [esi + 0x1a0]
lea edx, [esp + 0x2c]
push 2
push edx
push eax
call fcn.00569990
add esp, 0xc
lea ecx, [esp + 0x30]
mov byte [esp + 0xc8], bl
push 1
call fcn.00404f20
lea ecx, [esp + 0x40]
lea edx, [esi + 0x1c0]
push ecx
push 0x951748
push edx
mov ecx, esi
call fcn.0052d420
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0xcc], 5
call fcn.00404f20
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xcc], 3
call fcn.00404f20
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0xcc], 1
call fcn.00404f20
push 1
lea ecx, [esp + 0xa0]
mov dword [esp + 0xcc], 0xffffffff
call fcn.00404f20
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xbc
ret 4