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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5551ce
mov eax, dword fs:[0]
push eax
sub esp, 0x538
mov eax, dword [0x58005c]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x540], ecx
mov eax, dword [ebp - 0x540]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x44], ecx
mov edx, dword [ebp - 0x540]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x40], eax
mov ecx, dword [ebp - 0x540]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x540]
mov dword [edx + 4], 1
mov eax, dword [ebp - 0x540]
mov dword [eax + 0x28], 0x10
mov ecx, dword [ebp - 0x540]
mov dword [ecx + 0x2c], 0x10
mov edx, dword [ebp - 0x540]
mov dword [edx + 0x1c], 1
mov eax, dword [ebp - 0x540]
mov dword [eax + 0x20], 1
mov ecx, dword [ebp - 0x540]
mov dword [ecx + 0x18], 1
mov edx, dword [ebp - 0x540]
mov dword [edx + 0x30], 1
mov eax, dword [ebp - 0x540]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x540]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0x540]
mov dword [edx + 0x3c], 0x583a98
mov eax, dword [ebp + 8]
push eax
push 0x55e428
lea ecx, [ebp - 0x12c]
push ecx
call dword [0x5582d0]
add esp, 0xc
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x540]
add eax, 0x3c
push eax
mov ecx, dword [ebp - 0x540]
call fcn.0045fa20
mov ecx, dword [ebp + 8]
push ecx
push 0x55e434
lea edx, [ebp - 0x12c]
push edx
call dword [0x5582d0]
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x540]
add ecx, 0x1c
push ecx
mov ecx, dword [ebp - 0x540]
call fcn.0045f990
mov edx, dword [ebp + 8]
push edx
push 0x55e440
lea eax, [ebp - 0x12c]
push eax
call dword [0x5582d0]
add esp, 0xc
lea ecx, [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x540]
add edx, 0x20
push edx
mov ecx, dword [ebp - 0x540]
call fcn.0045f990
mov eax, dword [ebp + 8]
push eax
push 0x55e448
lea ecx, [ebp - 0x12c]
push ecx
call dword [0x5582d0]
add esp, 0xc
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x540]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x540]
call fcn.0045f990
mov ecx, dword [ebp - 0x540]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 8]
push eax
push 0x55e450
lea ecx, [ebp - 0x12c]
push ecx
call dword [0x5582d0]
add esp, 0xc
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x540]
call fcn.0045f990
mov ecx, dword [ebp - 0x540]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x134], edx
mov eax, dword [ebp + 8]
push eax
push 0x55e458
lea ecx, [ebp - 0x12c]
push ecx
call dword [0x5582d0]
add esp, 0xc
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x540]
call fcn.0045f990
mov ecx, dword [ebp - 0x540]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 0x28], edx
mov eax, dword [ebp - 0x540]
mov ecx, dword [ebp - 0x134]
mov dword [eax + 0x2c], ecx
mov edx, dword [ebp - 0x540]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x540]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
push eax
push 0x55e460
lea ecx, [ebp - 0x12c]
push ecx
call dword [0x5582d0]
add esp, 0xc
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x540]
call fcn.0045f990
mov ecx, dword [ebp + 8]
push ecx
push 0x55e46c
lea edx, [ebp - 0x12c]
push edx
call dword [0x5582d0]
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x540]
call fcn.0045f990
mov edx, dword [ebp - 0x540]
mov eax, dword [ebp - 0x130]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x540]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0x14], edx
mov eax, dword [ebp - 0x540]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x540]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x540]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], 3
je 0x45f313
cmp dword [ebp - 0x1c], 4
je 0x45f313
cmp dword [ebp - 0x1c], 7
je 0x45f313
cmp dword [ebp - 0x1c], 8
jne 0x45f331
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + ecx - 2]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 1
jge 0x45f32a
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x540]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x540]
mov dword [eax + 0x24], 0
cmp dword [ebp - 0x1c], 2
je 0x45f36c
cmp dword [ebp - 0x1c], 4
je 0x45f36c
cmp dword [ebp - 0x1c], 6
je 0x45f36c
cmp dword [ebp - 0x1c], 8
jne 0x45f379
mov ecx, dword [ebp - 0x540]
mov dword [ecx + 0x24], 1
mov edx, dword [ebp - 0x540]
cmp dword [edx + 0x44], 0
je 0x45f430
mov eax, dword [ebp - 0x540]
mov ecx, dword [eax + 0x3c]
push ecx
push 0x55e478
push 0x400
lea edx, [ebp - 0x534]
push edx
call fcn.0041da9e
add esp, 0x10
push 0x2f0
call fcn.00413380
add esp, 4
mov dword [ebp - 0x53c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x53c], 0
je 0x45f3ef
push 0
push 1
push 1
lea eax, [ebp - 0x534]
push eax
mov ecx, dword [ebp - 0x53c]
call fcn.004dd4a0
mov dword [ebp - 0x544], eax
jmp 0x45f3f9
mov dword [ebp - 0x544], 0
mov ecx, dword [ebp - 0x544]
mov dword [ebp - 0x538], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x540]
mov eax, dword [ebp - 0x538]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x540]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0x540]
call fcn.0045f510
mov ecx, dword [ebp - 0x540]
call fcn.0045f570
mov eax, dword [ebp - 0x540]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.004130a1
mov esp, ebp
pop ebp
ret 0xc