Function at 0x45d6da
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x496c27
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0xd8]
xor ebx, ebx
cmp ecx, ebx
push edi
mov dword [esi + 0xd4], ebx
je 0x45d6fb
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0xd8], ebx
mov edi, dword [esp + 0x28]
mov ecx, dword [esi + 0x34]
mov dword [esi + 0xd4], edi
mov ebp, dword [ecx + 0x14]
call fcn.0043e696
mov edx, dword [eax]
push ebp
push ebx
push 4
mov ecx, eax
call dword [edx + 0x18]
mov ebp, dword [eax + 0x208]
mov eax, dword [esi + 0x34]
mov ebx, dword [eax + 0x14]
call fcn.0043e696
mov edx, dword [eax]
push ebx
push 0
push 4
mov ecx, eax
call dword [edx + 0x18]
mov ebx, dword [eax + 0x68]
lea eax, [edi - 1]
cmp eax, 0xa
mov dword [esp + 0x10], ebx
ja case.0x45d74b.6
jmp dword [eax*4 + 0x45da20]
push 0x48
call fcn.0045d1a0
add esp, 4
mov dword [esp + 0x28], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x20], edi
je 0x45d777
lea ecx, [esi + 0x24]
push ecx
mov ecx, eax
call fcn.00474570
mov edi, eax
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
push ebx
push 8
push edx
push eax
mov ecx, edi
mov dword [esp + 0x30], 0xffffffff
call fcn.00474710
mov dword [esi + 0xd8], edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
push 0x78
call fcn.0045d140
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov dword [esp + 0x20], 1
je 0x45d7d5
lea ecx, [esi + 0x24]
push ecx
mov ecx, eax
call fcn.004741a0
mov edi, eax
jmp 0x45d7d7
xor edi, edi
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
call fcn.00404dc0
mov ecx, dword [eax + 0x20c]
push ecx
push ebp
push ebx
mov ecx, esi
call fcn.00404dc0
mov edx, dword [eax + 0xf0]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
mov ecx, edi
call fcn.00474380
mov ecx, esi
call fcn.00404dc0
mov ebx, dword [eax + 0xe8]
test ebx, ebx
mov ecx, esi
setne bl
call fcn.00404dc0
mov edx, dword [eax + 0xe4]
test edx, edx
mov ecx, esi
setne byte [esp + 0x28]
call fcn.00404dc0
mov ecx, dword [eax + 0xf4]
mov dl, byte [esp + 0x28]
test ecx, ecx
setne al
mov byte [edi + 0x70], bl
mov byte [edi + 0x60], 1
mov byte [edi + 0x61], al
mov byte [edi + 0x69], 1
mov byte [edi + 0x68], dl
mov dword [esi + 0xd8], edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
mov eax, dword [0x67cb0c]
test eax, eax
jne 0x45d899
push 0x20
mov ecx, 0x67cb0c
call fcn.0045ced0
mov ecx, dword [0x67cb0c]
mov eax, dword [ecx]
mov dword [0x67cb0c], eax
mov dword [esp + 0x28], ecx
lea ebx, [esi + 0x24]
push ebx
mov dword [esp + 0x24], 2
call fcn.004730a0
cmp edi, 0xb
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0xffffffff
jne 0x45d8ec
lea esp, [esp]
call dword [0x4ef5e8]
cdq
mov ecx, 0x60
idiv ecx
mov ecx, ebx
mov ebp, edx
mov edx, dword [ebx]
push ebp
call dword [edx + 0x18]
test eax, eax
jle 0x45d8d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push ebp
push eax
push 8
push ecx
mov ecx, dword [esp + 0x38]
push edx
call fcn.00473250
cmp edi, 4
jmp 0x45d964
mov eax, dword [0x67cb14]
test eax, eax
jne 0x45d91f
push 0x20
mov ecx, 0x67cb14
call fcn.0045ced0
mov ecx, dword [0x67cb14]
mov edx, dword [ecx]
mov dword [0x67cb14], edx
mov dword [esp + 0x28], ecx
lea eax, [esi + 0x24]
push eax
mov dword [esp + 0x24], 3
call fcn.00473aa0
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push ebp
push ebx
push 8
push ecx
push edx
mov ecx, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], 0xffffffff
call fcn.00473c60
cmp edi, 5
jne 0x45d96e
mov eax, dword [esp + 0x28]
mov byte [eax + 0x50], 1
mov ecx, dword [esp + 0x28]
pop edi
mov dword [esi + 0xd8], ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
push 0x4c
call fcn.004750aa
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov dword [esp + 0x20], 4
je 0x45d9d0
lea edx, [esi + 0x24]
push edx
mov ecx, eax
call fcn.00473810
pop edi
mov dword [eax + 0x48], ebp
mov dword [esi + 0xd8], eax
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
xor eax, eax
pop edi
mov dword [eax + 0x48], ebp
mov dword [esi + 0xd8], eax
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
push str.init
lea ecx, [esi + 0xb4]
call dword [0x4ef3f4]
push eax
mov ecx, esi
call fcn.00455590
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4