Function at 0x45ccc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x489088
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebp
call fcn.0045d5d0
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
xor esi, esi
mov dword [ebp + 8], esi
mov dword [eax], eax
mov eax, dword [ebp + 4]
lea edx, [esp + 0x4c]
push edx
mov dword [eax + 8], eax
call fcn.00416880
push esi
mov dword [esp + 0x40], esi
call fcn.0046ba4b
mov esi, eax
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
add esp, 4
mov ecx, 0x4bb38c
mov dword [esp + 0x1c], esi
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x4c]
lea edi, [esp + 0x20]
mov byte [esp + 0x3c], 1
call fcn.0040b8a0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], eax
push 0x4992cc
xor ebx, ebx
lea eax, [esp + 0x30]
mov dword [esp + 0x28], esi
call fcn.00415d80
push ebp
mov ecx, edi
call fcn.0045d0c0
mov edi, eax
lea eax, [esp + 0x20]
call fcn.0040b8a0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
add edi, 0xc
lea eax, [esp + 0x2c]
call fcn.0040b8a0
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x45ce33
push 0x4a2558
push ecx
call fcn.00469d2b
mov ecx, dword [esp + 0x54]
add esp, 8
test eax, eax
je 0x45ce33
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x45ce33
cmp dword [ecx - 0xc], ebx
jge 0x45cdeb
or eax, 0xffffffff
jmp 0x45ce08
push 0x4a2558
push ecx
call fcn.00469d2b
add esp, 8
test eax, eax
jne 0x45ce02
or eax, 0xffffffff
jmp 0x45ce08
sub eax, dword [esp + 0x4c]
sar eax, 1
mov ecx, eax
lea esi, [esp + 0x18]
lea edx, [esp + 0x4c]
call fcn.00409730
lea edi, [esp + 0x20]
mov byte [esp + 0x3c], 2
call fcn.0040b8a0
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x18]
jmp 0x45cf3c
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x45ceed
push 0x4a255c
push ecx
call fcn.00469d2b
mov ecx, dword [esp + 0x54]
add esp, 8
test eax, eax
je 0x45ceed
sub eax, ecx
sar eax, 1
jne 0x45ceed
mov ecx, 7
lea esi, [esp + 0x18]
lea edx, [esp + 0x4c]
call fcn.00409730
lea edi, [esp + 0x20]
mov byte [esp + 0x3c], 3
call fcn.0040b8a0
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cea7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
mov edx, 0x4992cc
lea edi, [esp + 0x2c]
mov dword [esp + 0x24], ecx
call fcn.00416ac0
push ebp
lea ecx, [esp + 0x24]
call fcn.0045d0c0
mov edi, eax
lea eax, [esp + 0x20]
call fcn.0040b8a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
jmp 0x45cf7b
cmp dword [ecx - 0xc], ebx
jl 0x45cf0f
push 0x4a2558
push ecx
call fcn.00469d2b
add esp, 8
test eax, eax
je 0x45cf0f
sub eax, dword [esp + 0x4c]
sar eax, 1
cmp eax, 0xffffffff
jne 0x45cf87
lea edx, [esp + 0x1c]
push 0x4a255c
push edx
lea ecx, [esp + 0x54]
call fcn.0045b960
add esp, 8
lea edi, [esp + 0x20]
mov byte [esp + 0x3c], 4
call fcn.0040b8a0
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cf58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
lea ecx, [esp + 0x24]
call fcn.0045d0c0
mov edi, eax
lea eax, [esp + 0x20]
call fcn.0040b8a0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
lea eax, [esp + 0x2c]
add edi, 0xc
call fcn.0040b8a0
mov byte [esp + 0x3c], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cfac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cfcc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cff4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret