Function at 0x457f90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cc348
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4eadc8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
push esi
call fcn.00457260
mov edi, dword [ebx + 4]
add edi, 0x14
cmp byte [edi + 0xc], 0
mov dword [esp + 0x14], edi
jne 0x4580cd
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax + 0xc]
lea ecx, [ebx + 0x1c]
call edx
push 0
test al, al
mov edx, esi
push 0
mov eax, 2
jne 0x457ffa
mov eax, 1
call fcn.0044f9d0
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax + 0xc]
lea ecx, [ebx + 0x3c]
call edx
push 0
test al, al
mov edx, esi
push 0
mov eax, 4
jne 0x45801e
mov eax, 3
call fcn.0044f9d0
mov eax, dword [ebx + 0x5c]
mov edx, dword [eax + 0xc]
lea ecx, [ebx + 0x5c]
call edx
push 0
test al, al
mov edx, esi
push 0
mov eax, 6
jne 0x458042
mov eax, 5
call fcn.0044f9d0
mov eax, dword [ebx + 0x7c]
mov edx, dword [eax + 0xc]
lea ecx, [ebx + 0x7c]
call edx
push 0
test al, al
mov edx, esi
push 0
mov eax, 8
jne 0x458066
mov eax, 7
call fcn.0044f9d0
mov eax, dword [esi + 0xa3c]
test eax, eax
je 0x4580cd
cmp byte [eax + 0x14], 0
movsx ecx, word [esi + 0x97c]
movsx edx, word [esi + 0x97a]
je 0x4580cd
mov edi, dword [eax + 4]
test edi, edi
je 0x4580ac
push edi
movsx edi, word [eax + 0xe]
movsx eax, word [eax + 0xc]
add edi, ecx
mov ecx, dword [0x4efb90]
push edi
add eax, edx
push eax
call fcn.0047d6a0
jmp 0x4580c9
mov edi, dword [eax + 8]
push edi
movsx edi, word [eax + 0xe]
add edi, ecx
movsx ecx, word [eax + 0xc]
add ecx, edx
push edi
push ecx
mov ecx, dword [0x4efb90]
call fcn.0047bee0
mov edi, dword [esp + 0x14]
mov edx, dword [ebx + 0x9c]
mov eax, dword [edx + 0xc]
lea ecx, [ebx + 0x9c]
call eax
test al, al
je 0x458140
mov eax, dword [esi + 0xa30]
test eax, eax
je 0x458140
cmp byte [eax + 0x14], 0
movsx ecx, word [esi + 0x97c]
movsx edx, word [esi + 0x97a]
je 0x458140
mov esi, dword [eax + 4]
test esi, esi
je 0x458123
push esi
movsx esi, word [eax + 0xe]
add esi, ecx
movsx ecx, word [eax + 0xc]
add ecx, edx
push esi
push ecx
mov ecx, dword [0x4efb90]
call fcn.0047d6a0
jmp 0x458140
mov esi, dword [eax + 8]
push esi
movsx esi, word [eax + 0xe]
movsx eax, word [eax + 0xc]
add esi, ecx
mov ecx, dword [0x4efb90]
push esi
add eax, edx
push eax
call fcn.0047bee0
mov ecx, dword [0x6391d8]
mov edx, dword [0x4efb90]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.00489780
push 0
push 0xc8c8c8
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], 0
call fcn.00483ce0
cmp byte [edi + 0xc], 0
je 0x4581da
mov ecx, dword [edi]
call fcn.00456820
push eax
mov edi, 0x4dfef8
call fcn.004021e0
mov ecx, dword [ebx + 0xc]
push eax
mov eax, dword [ebx + 0x10]
add eax, 0xaf
push eax
add ecx, 0xa
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004871a0
mov esi, dword [esp + 0x28]
movzx ecx, word [esi + 4]
add esp, 0x14
call fcn.00456820
push eax
mov edi, 0x4dff0c
call fcn.004021e0
mov ecx, dword [ebx + 0xc]
push eax
mov eax, dword [ebx + 0x10]
add eax, 0xbe
push eax
add ecx, 0xa
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004871a0
jmp 0x458243
mov ecx, dword [ebx + 0xa4]
call fcn.00456820
push eax
mov edi, 0x4dfef8
call fcn.004021e0
mov ecx, dword [ebx + 0xc]
push eax
mov eax, dword [ebx + 0x10]
add eax, 0xaf
push eax
add ecx, 0xa
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004871a0
mov ecx, dword [ebx + 0xa8]
add esp, 0x14
call fcn.00456820
push eax
mov edi, 0x4dff0c
call fcn.004021e0
mov ecx, dword [ebx + 0xc]
push eax
mov eax, dword [ebx + 0x10]
add eax, 0xbe
push eax
add ecx, 0xa
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004871a0
mov esi, dword [esp + 0x28]
movzx eax, word [esi + 6]
add esp, 0x14
push eax
mov edi, 0x4dff20
call fcn.004021e0
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
push eax
add ecx, 0xd2
push ecx
add edx, 0xa
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004871a0
movzx ecx, word [esi + 0xa]
add esp, 0x14
push ecx
mov edi, 0x4dff38
call fcn.004021e0
mov edx, dword [ebx + 0x10]
push eax
mov eax, dword [ebx + 0xc]
add edx, 0xe1
push edx
add eax, 0xa
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004871a0
add esp, 0x14
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.004897b0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4