Function at 0x457810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b6d21
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
cmp ecx, ebx
je 0x45784f
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push esi
call edx
push 0x208
call fcn.005851c0
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ebx
cmp eax, ebx
je 0x457872
push eax
call fcn.0054f930
mov edi, eax
jmp 0x457874
xor edi, edi
mov dword [esp + 0x30], 0xffffffff
cmp dword [esi + 0x158], edi
je 0x4578a8
cmp edi, ebx
je 0x457890
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov eax, dword [esi + 0x158]
cmp eax, ebx
je 0x4578a2
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esi + 0x158], edi
mov ecx, dword [esi + 0x158]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push esi
call eax
mov eax, dword [esi + 0x158]
lea edi, [esp + 0x14]
mov dword [eax + 0xc8], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0xd
mov dword [esp + 0x20], 0xe
call int.0041e2e0
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 0x158]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x28]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x30]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x4c]
call eax
mov eax, dword [esi + 0x158]
mov ecx, 1
lea edi, [esp + 0x14]
mov dword [eax + 0xc0], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call int.0041e2e0
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 0x158]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x28]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x30]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x6c]
call eax
push 0x138
call fcn.005851c0
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], 1
cmp eax, ebx
je 0x45798e
push eax
call fcn.00553bf0
mov edi, eax
jmp 0x457990
xor edi, edi
mov dword [esp + 0x30], 0xffffffff
cmp dword [esi + 0x15c], edi
je 0x4579c4
cmp edi, ebx
je 0x4579ac
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov eax, dword [esi + 0x15c]
cmp eax, ebx
je 0x4579be
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x15c], edi
mov ecx, dword [esi + 0x15c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push esi
call edx
mov eax, dword [esi + 0x15c]
mov dword [eax + 0xc8], ebx
mov eax, 0x10
lea edi, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call int.0041e2e0
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 0x15c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x28]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x30]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x4c]
call eax
lea edi, [esp + 0x14]
mov dword [esp + 0x14], 5
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call int.0041e2e0
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 0x15c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x28]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x30]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x6c]
call eax
mov eax, dword [esi + 0x15c]
push 0x19c
mov dword [eax + 0xc0], 1
call fcn.005851c0
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], 2
cmp eax, ebx
je 0x457aaa
push eax
call fcn.0054bfa0
mov edi, eax
jmp 0x457aac
xor edi, edi
mov dword [esp + 0x30], 0xffffffff
cmp dword [esi + 0x160], edi
je 0x457ae0
cmp edi, ebx
je 0x457ac8
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov eax, dword [esi + 0x160]
cmp eax, ebx
je 0x457ada
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x160], edi
mov ecx, dword [esi + 0x160]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push esi
call edx
mov eax, dword [esi + 0x160]
lea edi, [esp + 0x14]
mov dword [eax + 0xc8], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0xa0
mov dword [esp + 0x20], ebx
call int.0041e2e0
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 0x160]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x28]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x30]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x4c]
call eax
mov eax, dword [esi + 0x160]
mov eax, dword [eax + 0x13c]
cmp eax, ebx
je 0x457b5b
mov dword [eax + 0x58], 0x8824
lea edi, [esp + 0x14]
mov dword [esp + 0x14], 5
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call int.0041e2e0
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 0x160]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x28]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x30]
mov dword [eax + 0xc], edi
mov eax, dword [edx + 0x6c]
call eax
mov ecx, dword [esi + 0x160]
mov edx, dword [ecx]
mov eax, dword [edx + 0xfc]
push 0xb0b0b0
call eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4