Function at 0x433580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45f8a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov esi, ecx
mov dword [esp + 8], 0
call fcn.00433350
push 0x60
call fcn.00456e12
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
test edi, edi
mov dword [esp + 0x30], 0
je 0x433607
push ebp
lea ebp, [edi + 4]
lea ecx, [edi + 0x10]
mov dword [ebp], 0x461688
call fcn.00452d58
mov dword [esp + 0xc], 1
push 0
mov ecx, ebp
mov byte [esp + 0x38], 1
call fcn.00452ece
mov eax, dword [ebp]
mov dword [edi], 0x461678
pop ebp
mov ecx, dword [eax + 4]
mov dword [ecx + edi + 4], 0x461674
mov ecx, edi
jmp 0x433609
xor ecx, ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
push edx
mov dword [esi + 0x20], ecx
call fcn.00423fd0
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jne 0x43363d
pop edi
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov ecx, dword [esi + 0x20]
push 0
push 0
add ecx, 4
call fcn.004540ec
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0x18
push eax
mov edx, dword [ecx]
call dword [edx + 4]
lea edx, [esp + 0x10]
mov ecx, str.xlib
mov eax, dword [edx]
mov edx, dword [ecx]
cmp eax, edx
je 0x433681
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
cmp dword [esp + 0x14], 0x300
je 0x4336a0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0xc], eax
lea eax, [eax + eax*4]
mov dword [esi + 4], ecx
shl eax, 3
push eax
mov dword [esi + 8], edx
call fcn.00456e12
mov ecx, dword [esp + 0x28]
add esp, 4
mov dword [esi + 0x10], eax
push 0
push ecx
mov ecx, dword [esi + 0x20]
add ecx, 4
call fcn.004540ec
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx]
lea eax, [eax + eax*4]
shl eax, 3
push eax
mov eax, dword [esi + 0x10]
push eax
call dword [edx + 4]
mov eax, dword [esi + 8]
lea ecx, [eax + eax*2]
shl ecx, 2
push ecx
call fcn.00456e12
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x20]
add esp, 4
mov dword [esi + 0x18], eax
mov edi, dword [ecx]
lea edx, [edx + edx*2]
shl edx, 2
push edx
push eax
call dword [edi + 4]
mov eax, dword [esi + 4]
lea eax, [eax + eax*2]
shl eax, 2
push eax
call fcn.00456e12
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x20]
add esp, 4
mov dword [esi + 0x14], eax
mov edi, dword [ecx]
lea edx, [edx + edx*2]
shl edx, 2
push edx
push eax
call dword [edi + 4]
mov eax, dword [esi + 0xc]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
push eax
call fcn.00456e12
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
add esp, 4
xor edi, edi
test edx, edx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], eax
jle 0x4337a7
add ecx, 0x26
mov dx, word [ecx - 2]
inc edi
mov word [eax + 4], dx
mov dl, byte [ecx]
mov byte [eax + 0xe], dl
mov dx, word [ecx - 0x12]
mov word [eax + 8], dx
mov dx, word [ecx - 0x16]
mov word [eax + 6], dx
mov dx, word [ecx - 0xe]
mov word [eax + 0xa], dx
mov dx, word [ecx - 0xa]
mov word [eax + 0xc], dx
mov dword [eax], 0
mov edx, dword [esi + 0xc]
add ecx, 0x28
add eax, 0xf
cmp edi, edx
jl 0x433766
mov ecx, dword [esp + 0x28]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4