Function at 0x45a4a0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x45a4a9
xchg dword [ebp - 4], ecx
push ebx
test dl, dl
je 0x45a4c0
add esp, 0xfffffff0
call fcn.00405874
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45a88e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00405568
mov eax, dword [ebp - 4]
call fcn.0045a8c0
mov edx, dword [ebp - 4]
mov byte [edx + 8], al
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0045aa40
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00407074
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0045aae0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, 0x10
call fcn.00406fd8
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0045ab40
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, 0x14
call fcn.00406fd8
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0045aba0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.00406fd8
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0045ac20
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
add eax, 0x1c
call fcn.00406fd8
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0045ac90
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 4]
call fcn.0045ad60
mov edx, dword [ebp - 4]
mov byte [edx + 0x28], al
mov eax, dword [ebp - 4]
call fcn.0045ade0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.0045ae50
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00406fd8
mov eax, dword [ebp - 4]
call fcn.0045aed0
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
call fcn.0045af40
mov edx, dword [ebp - 4]
mov byte [edx + 0x40], al
mov eax, dword [ebp - 4]
call fcn.0045afb0
mov edx, dword [ebp - 4]
mov byte [edx + 0x41], al
mov eax, dword [ebp - 4]
call fcn.0045b020
mov edx, dword [ebp - 4]
mov byte [edx + 0x42], al
mov eax, dword [ebp - 4]
call fcn.0045b0a0
mov edx, dword [ebp - 4]
mov byte [edx + 0x43], al
mov eax, dword [ebp - 4]
call fcn.0045b130
mov edx, dword [ebp - 4]
mov byte [edx + 0x44], al
mov eax, dword [ebp - 4]
call fcn.0045b1b0
mov edx, dword [ebp - 4]
mov byte [edx + 0x45], al
mov eax, dword [ebp - 4]
call fcn.0045b240
mov edx, dword [ebp - 4]
mov byte [edx + 0x46], al
mov eax, dword [ebp - 4]
call fcn.0045b2c0
mov edx, dword [ebp - 4]
mov byte [edx + 0x47], al
mov eax, dword [ebp - 4]
call fcn.0045b350
mov edx, dword [ebp - 4]
mov byte [edx + 0x48], al
mov eax, dword [ebp - 4]
call fcn.0045b3d0
mov edx, dword [ebp - 4]
mov byte [edx + 0x49], al
mov eax, dword [ebp - 4]
call fcn.0045b440
mov edx, dword [ebp - 4]
mov byte [edx + 0x4a], al
mov eax, dword [ebp - 4]
call fcn.0045b4d0
mov edx, dword [ebp - 4]
mov byte [edx + 0x4b], al
mov eax, dword [ebp - 4]
call fcn.0045b550
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.0045b5d0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
add eax, 0x50
call fcn.00406fd8
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.0045b630
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
add eax, 0x54
call fcn.00406fd8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0045b690
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
add eax, 0x58
call fcn.00406fd8
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0045b700
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
add eax, 0x5c
call fcn.00406fd8
mov eax, dword [ebp - 4]
call fcn.0045b770
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], edx
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.0045b7f0
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
add eax, 0x68
call fcn.00406fd8
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.0045b850
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
add eax, 0x6c
call fcn.00406fd8
mov eax, dword [ebp - 4]
call fcn.0045b8b0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x70], eax
mov dword [ecx + 0x74], edx
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.0045b930
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
add eax, 0x78
call fcn.00406fd8
mov eax, dword [ebp - 4]
call fcn.0045b990
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x80], eax
mov dword [ecx + 0x84], edx
mov eax, dword [ebp - 4]
call fcn.0045ba10
mov edx, dword [ebp - 4]
mov byte [edx + 0x88], al
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
call fcn.0045ba90
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
add eax, 0x8c
call fcn.00406fd8
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.0045bb00
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
add eax, 0x90
call fcn.00406fd8
mov eax, dword [ebp - 4]
call fcn.0045bb70
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x98], eax
mov dword [ecx + 0x9c], edx
mov eax, dword [ebp - 4]
call fcn.0045bbe0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xa0], eax
mov dword [ecx + 0xa4], edx
mov eax, dword [ebp - 4]
call fcn.0045bc50
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xa8], eax
mov dword [ecx + 0xac], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb0], eax
mov dword [ecx + 0xb4], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb8], eax
mov dword [ecx + 0xbc], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc0], eax
mov dword [ecx + 0xc4], edx
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.0045c030
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
add eax, 0xc8
call fcn.00406fd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a895
lea eax, [ebp - 0x54]
mov edx, 0xb
call fcn.00406ca4
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00406ca4
lea eax, [ebp - 0x10]
call fcn.00406c68
ret