Function at 0x48c458
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push ebx
push esi
push edi
mov esi, 0x5c8a98
lea edi, [ebp - 0x70]
mov ebx, 0x5b4aa5
mov eax, 0x5b5490
call fcn.0051a22c
mov byte [ebp - 0x158], 3
mov byte [ebp - 0x157], 0xc9
mov byte [ebp - 0x156], 0
mov byte [ebp - 0x155], 0
push 0x5b48a0
push 0xc9
lea edx, [ebp - 0x154]
push edx
xor ecx, ecx
mov cl, byte [ebp - 0x157]
add ecx, 4
push ecx
lea eax, [ebp - 0x158]
push eax
push 0x5c8a84
push 0x5b4830
call fcn.00487da4
test eax, eax
jne 0x48c4e8
push 0x5b4830
call fcn.0048834c
xor eax, eax
mov edx, dword [edi]
mov dword fs:[0], edx
jmp 0x48cb9f
push 0xc9
lea ecx, [ebp - 0x154]
push ecx
push 0x5c8a74
call fcn.0048b604
add esp, 0xc
test al, al
jne 0x48c51f
push 0x5b4830
call fcn.0048834c
xor eax, eax
mov edx, dword [edi]
mov dword fs:[0], edx
jmp 0x48cb9f
mov word [edi + 0x10], 8
push 6
lea ecx, [ebp - 0x153]
push ecx
xor eax, eax
mov dword [ebp - 4], eax
lea edx, [ebp - 4]
push edx
inc dword [edi + 0x1c]
call fcn.0048b470
add esp, 0xc
lea edx, [ebp - 4]
lea eax, [esi + 0x24]
call fcn.0051a5fc
dec dword [edi + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0051a5cc
mov word [edi + 0x10], 0x14
push 0x12
lea ecx, [ebp - 0x14d]
push ecx
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
push edx
inc dword [edi + 0x1c]
call fcn.0048b470
add esp, 0xc
lea edx, [ebp - 8]
lea eax, [esi + 0x1c]
call fcn.0051a5fc
dec dword [edi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0051a5cc
mov word [edi + 0x10], 0x20
push 0x12
lea ecx, [ebp - 0x13b]
push ecx
xor eax, eax
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0xc]
push edx
inc dword [edi + 0x1c]
call fcn.0048b470
add esp, 0xc
lea edx, [ebp - 0xc]
lea eax, [esi + 0x20]
call fcn.0051a5fc
dec dword [edi + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0051a5cc
movzx ecx, word [ebp - 0x129]
mov dword [esi + 8], ecx
lea edx, [ebp - 0x123]
mov eax, dword [ebp - 0x127]
xor ecx, ecx
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x10]
mov word [edi + 0x10], 0x2c
push 0x24
push edx
mov dword [ebp - 0x10], ecx
push eax
inc dword [edi + 0x1c]
call fcn.0048b470
add esp, 0xc
lea edx, [ebp - 0x10]
lea eax, [esi + 0x2c]
call fcn.0051a5fc
dec dword [edi + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0051a5cc
mov word [edi + 0x10], 0x38
push 0x36
lea ecx, [ebp - 0xff]
push ecx
xor eax, eax
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
push edx
inc dword [edi + 0x1c]
call fcn.0048b470
add esp, 0xc
lea edx, [ebp - 0x14]
lea eax, [esi + 0x30]
call fcn.0051a5fc
dec dword [edi + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0051a5cc
mov word [edi + 0x10], 0x44
push 0xa
lea ecx, [ebp - 0xc9]
push ecx
xor eax, eax
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x18]
push edx
inc dword [edi + 0x1c]
call fcn.0048b470
add esp, 0xc
lea edx, [ebp - 0x18]
lea eax, [esi + 0x34]
call fcn.0051a5fc
dec dword [edi + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0051a5cc
mov word [edi + 0x10], 0x50
push 0x14
lea ecx, [ebp - 0xbf]
push ecx
xor eax, eax
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x1c]
push edx
inc dword [edi + 0x1c]
call fcn.0048b470
add esp, 0xc
lea edx, [ebp - 0x1c]
lea eax, [esi + 0x38]
call fcn.0051a5fc
dec dword [edi + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0051a5cc
mov word [edi + 0x10], 0x5c
push 0x1e
lea ecx, [ebp - 0xab]
push ecx
xor eax, eax
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x20]
push edx
inc dword [edi + 0x1c]
call fcn.0048b470
add esp, 0xc
lea edx, [ebp - 0x20]
lea eax, [esi + 0x3c]
call fcn.0051a5fc
dec dword [edi + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0051a5cc
mov word [edi + 0x10], 0x68
mov edx, 0x5b5078
lea eax, [ebp - 0x24]
call fcn.0051a3a8
inc dword [edi + 0x1c]
lea edx, [ebp - 0x24]
lea eax, [esi + 0x28]
call fcn.0051a5fc
dec dword [edi + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0051a5cc
mov word [edi + 0x10], 0x74
mov edx, 0x5b507d
lea eax, [ebp - 0x28]
call fcn.0051a3a8
inc dword [edi + 0x1c]
lea edx, [ebp - 0x28]
lea eax, [esi + 0x40]
call fcn.0051a5fc
dec dword [edi + 0x1c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0051a5cc
push 0x5b4ca6
push ebx
push 0x200
push 0
push 0
push 0x5c8a84
push 0x5b4830
push 0x5b4830
call fcn.00488f38
test eax, eax
jne 0x48c7c5
push 0x5b4830
call fcn.0048834c
xor eax, eax
mov edx, dword [edi]
mov dword fs:[0], edx
jmp 0x48cb9f
push 0x201
push ebx
push 0x5c8a74
call fcn.0048b604
add esp, 0xc
test al, al
jne 0x48c7f6
push 0x5b4830
call fcn.0048834c
xor eax, eax
mov edx, dword [edi]
mov dword fs:[0], edx
jmp 0x48cb9f
lea ecx, [ebx + 1]
lea edx, [ebx + 5]
mov eax, dword [ecx]
xor ecx, ecx
mov dword [esi + 0x44], eax
lea eax, [ebp - 0x2c]
mov word [edi + 0x10], pe_nt_image_headers32
push 6
push edx
mov dword [ebp - 0x2c], ecx
push eax
inc dword [edi + 0x1c]
call fcn.0048b470
add esp, 0xc
lea edx, [ebp - 0x2c]
lea eax, [esi + 0x50]
call fcn.0051a5fc
dec dword [edi + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0051a5cc
lea ecx, [ebx + 0xb]
lea edx, [ebx + 0xf]
mov eax, dword [ecx]
xor ecx, ecx
mov dword [esi + 0x48], eax
lea eax, [ebp - 0x30]
mov word [edi + 0x10], 0x8c
push pe_nt_image_headers32
push edx
mov dword [ebp - 0x30], ecx
push eax
inc dword [edi + 0x1c]
call fcn.0048b470
add esp, 0xc
lea edx, [ebp - 0x30]
lea eax, [esi + 0x4c]
call fcn.0051a5fc
dec dword [edi + 0x1c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0051a5cc
mov word [edi + 0x10], 0x98
push 0x20
lea ecx, [ebx + 0x8f]
push ecx
xor eax, eax
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x34]
push edx
inc dword [edi + 0x1c]
call fcn.0048b470
add esp, 0xc
lea edx, [ebp - 0x34]
lea eax, [esi + 0x54]
call fcn.0051a5fc
dec dword [edi + 0x1c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0051a5cc
mov word [edi + 0x10], 0xa4
push 0x40
lea ecx, [ebx + 0xaf]
push ecx
xor eax, eax
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x38]
push edx
inc dword [edi + 0x1c]
call fcn.0048b470
add esp, 0xc
lea edx, [ebp - 0x38]
lea eax, [esi + 0x58]
call fcn.0051a5fc
dec dword [edi + 0x1c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0051a5cc
mov word [edi + 0x10], 0xb0
push 0x40
lea ecx, [ebx + 0xef]
push ecx
xor eax, eax
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x3c]
push edx
inc dword [edi + 0x1c]
call fcn.0048b470
add esp, 0xc
lea edx, [ebp - 0x3c]
lea eax, [esi + 0x5c]
call fcn.0051a5fc
dec dword [edi + 0x1c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0051a5cc
mov word [edi + 0x10], 0xbc
push 0xa
lea ecx, [ebx + 0x12f]
push ecx
xor eax, eax
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x40]
push edx
inc dword [edi + 0x1c]
call fcn.0048b470
add esp, 0xc
lea edx, [ebp - 0x40]
lea eax, [esi + 0x60]
call fcn.0051a5fc
dec dword [edi + 0x1c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0051a5cc
lea ecx, [ebx + 0x139]
fild dword [ecx]
fstp qword [ebp - 0x78]
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
lea eax, [ebx + 0x13d]
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x88], edx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x84], edx
xor edx, edx
mov ecx, dword [ebp - 0x88]
mov dword [esi + 0x68], ecx
mov ecx, dword [ebp - 0x84]
mov dword [esi + 0x6c], ecx
lea ecx, [ebp - 0x44]
mov word [edi + 0x10], 0xc8
push 0x14
push eax
mov dword [ebp - 0x44], edx
push ecx
inc dword [edi + 0x1c]
call fcn.0048b470
add esp, 0xc
lea edx, [ebp - 0x44]
lea eax, [esi + 0x70]
call fcn.0051a5fc
dec dword [edi + 0x1c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0051a5cc
mov word [edi + 0x10], 0xd4
push 0x28
lea ecx, [ebx + 0x151]
push ecx
xor eax, eax
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x48]
push edx
inc dword [edi + 0x1c]
call fcn.0048b470
add esp, 0xc
lea edx, [ebp - 0x48]
lea eax, [esi + 0x74]
call fcn.0051a5fc
dec dword [edi + 0x1c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0051a5cc
mov word [edi + 0x10], 0xe0
push 0x14
lea ecx, [ebx + 0x179]
push ecx
xor eax, eax
mov dword [ebp - 0x4c], eax
lea edx, [ebp - 0x4c]
push edx
inc dword [edi + 0x1c]
call fcn.0048b470
add esp, 0xc
lea edx, [ebp - 0x4c]
lea eax, [esi + 0x78]
call fcn.0051a5fc
dec dword [edi + 0x1c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.0051a5cc
mov ebx, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebx], eax
mov edx, dword [esi + 4]
mov dword [ebx + 4], edx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
lea edx, [esi + 0x10]
lea eax, [ebx + 0x10]
call fcn.0051a5fc
lea edx, [esi + 0x14]
lea eax, [ebx + 0x14]
call fcn.0051a5fc
lea edx, [esi + 0x18]
lea eax, [ebx + 0x18]
call fcn.0051a5fc
lea edx, [esi + 0x1c]
lea eax, [ebx + 0x1c]
call fcn.0051a5fc
lea edx, [esi + 0x20]
lea eax, [ebx + 0x20]
call fcn.0051a5fc
lea edx, [esi + 0x24]
lea eax, [ebx + 0x24]
call fcn.0051a5fc
lea edx, [esi + 0x28]
lea eax, [ebx + 0x28]
call fcn.0051a5fc
lea edx, [esi + 0x2c]
lea eax, [ebx + 0x2c]
call fcn.0051a5fc
lea edx, [esi + 0x30]
lea eax, [ebx + 0x30]
call fcn.0051a5fc
lea edx, [esi + 0x34]
lea eax, [ebx + 0x34]
call fcn.0051a5fc
lea edx, [esi + 0x38]
lea eax, [ebx + 0x38]
call fcn.0051a5fc
lea edx, [esi + 0x3c]
lea eax, [ebx + 0x3c]
call fcn.0051a5fc
lea edx, [esi + 0x40]
lea eax, [ebx + 0x40]
call fcn.0051a5fc
mov edx, dword [esi + 0x44]
lea eax, [ebx + 0x4c]
mov dword [ebx + 0x44], edx
lea edx, [esi + 0x4c]
mov ecx, dword [esi + 0x48]
mov dword [ebx + 0x48], ecx
call fcn.0051a5fc
lea edx, [esi + 0x50]
lea eax, [ebx + 0x50]
call fcn.0051a5fc
lea edx, [esi + 0x54]
lea eax, [ebx + 0x54]
call fcn.0051a5fc
lea edx, [esi + 0x58]
lea eax, [ebx + 0x58]
call fcn.0051a5fc
lea edx, [esi + 0x5c]
lea eax, [ebx + 0x5c]
call fcn.0051a5fc
lea edx, [esi + 0x60]
lea eax, [ebx + 0x60]
call fcn.0051a5fc
lea eax, [ebx + 0x68]
mov edx, dword [esi + 0x68]
mov dword [eax], edx
mov edx, dword [esi + 0x6c]
mov dword [eax + 4], edx
lea edx, [esi + 0x70]
lea eax, [ebx + 0x70]
call fcn.0051a5fc
lea edx, [esi + 0x74]
lea eax, [ebx + 0x74]
call fcn.0051a5fc
lea edx, [esi + 0x78]
lea eax, [ebx + 0x78]
call fcn.0051a5fc
mov eax, 1
mov edx, dword [edi]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret