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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5216f8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x562514]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x30], 0
mov ecx, dword [ebp + 0xc]
add ecx, 0x24
call fcn.00405b90
mov ecx, dword [ebp + 0xc]
add ecx, 0x18
call fcn.00405b90
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x32], 0
mov ecx, dword [ebp + 0xc]
call fcn.00405b90
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x34], 0xffffffff
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
call fcn.00405b00
mov eax, dword [ebp + 0xc]
add eax, 0x32
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042e490
push eax
call fcn.00458ba0
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x45a0a3
mov eax, dword [ebp - 0x28]
jmp 0x45a4a2
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + 0x32]
mov byte [edx + 0x33], cl
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0045a600
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x45a0d0
mov eax, dword [ebp - 0x2c]
jmp 0x45a4a2
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x18
call fcn.00408530
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0xdc]
test ecx, ecx
je 0x45a11d
mov edx, dword [ebp + 0xc]
add edx, 0x30
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0042e490
push eax
call fcn.00458b40
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x45a11d
mov eax, dword [ebp - 0x30]
jmp 0x45a4a2
mov byte [ebp - 0xd], 0
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0x30]
test edx, edx
je 0x45a2e3
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp - 0x14]
add ecx, 8
call fcn.0042e480
test eax, eax
je 0x45a2e3
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x14]
add ecx, 8
call fcn.0043a5c0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x45a187
mov eax, dword [ebp - 0x38]
jmp 0x45a4a2
cmp dword [ebp - 0x3c], 1
jne 0x45a2e3
lea ecx, [ebp - 0x7c]
call fcn.00421f90
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
call fcn.0042e4c0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x7c]
push ecx
push 4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x45a1e9
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.004220f0
mov eax, dword [ebp - 0x60]
jmp 0x45a4a2
movzx edx, word [ebp - 0x7c]
cmp edx, 8
jne 0x45a209
cmp dword [ebp - 0x74], 0
je 0x45a209
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x24
call fcn.0040a660
jmp 0x45a22f
movzx ecx, word [ebp - 0x7c]
test ecx, ecx
je 0x45a22f
mov dword [ebp - 0x64], 0x80004005
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.004220f0
mov eax, dword [ebp - 0x64]
jmp 0x45a4a2
mov byte [ebp - 0xd], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x34], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x54], ecx
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x45a25c
mov ecx, dword [ebp + 0xc]
add ecx, 0x18
call fcn.00405b90
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x33], 1
jmp 0x45a2d4
mov eax, dword [ebp + 0xc]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0045a600
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x45a295
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x68], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.004220f0
mov eax, dword [ebp - 0x68]
jmp 0x45a4a2
mov eax, dword [ebp + 0xc]
add eax, 0x33
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042e490
push eax
call fcn.00458ba0
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x45a2d4
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.004220f0
mov eax, dword [ebp - 0x6c]
jmp 0x45a4a2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.004220f0
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 0x31]
test ecx, ecx
jne 0x45a2fa
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x45a381
mov ecx, dword [ebp + 0xc]
call fcn.00405900
push eax
call fcn.00459a90
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x45a381
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x18
call fcn.00411eb0
mov ecx, dword [ebp - 0x20]
add ecx, 1
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00406140
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x24
call fcn.004085e0
cmp dword [ebp - 0x20], 0
je 0x45a36a
mov ecx, dword [ebp + 0xc]
call fcn.00405900
mov edx, dword [ebp - 0x20]
mov ax, word [eax + edx*2 - 2]
movzx ecx, ax
push ecx
call fcn.0040e950
movzx edx, al
test edx, edx
jne 0x45a36a
mov dword [ebp - 0x50], 0
jmp 0x45a371
mov dword [ebp - 0x50], 1
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 0x50]
mov byte [eax + 0x33], cl
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x30], 1
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 0x38]
test ecx, ecx
je 0x45a48d
mov edx, dword [ebp + 0xc]
add edx, 0xc
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0045a880
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x45a3bb
mov eax, dword [ebp - 0x58]
jmp 0x45a4a2
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 0x31]
test ecx, ecx
jne 0x45a3d2
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x45a48b
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
call fcn.0040e8b0
movzx eax, al
test eax, eax
jne 0x45a48b
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
call fcn.0040d990
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
call fcn.00405900
push eax
call fcn.00459a90
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x45a47a
mov ecx, dword [ebp - 0x18]
add ecx, 1
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.00406140
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x24
call fcn.004085e0
cmp dword [ebp - 0x18], 0
je 0x45a457
mov ecx, dword [ebp - 0x24]
call fcn.00405900
mov edx, dword [ebp - 0x18]
mov ax, word [eax + edx*2 - 2]
movzx ecx, ax
push ecx
call fcn.0040e950
movzx edx, al
test edx, edx
jne 0x45a457
mov dword [ebp - 0x5c], 0
jmp 0x45a45e
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 0x5c]
mov byte [eax + 0x33], cl
mov edx, dword [ebp + 0xc]
mov byte [edx + 0x30], 1
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.00411eb0
cmp dword [ebp - 0x18], 0
jne 0x45a48b
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
call fcn.0040def0
jmp 0x45a4a0
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x18
push edx
call fcn.0040eb80
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8