Function at 0x560190
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004052b0
mov eax, dword [ebp + 0xc]
call fcn.004052b0
xor eax, eax
push ebp
push 0x560440
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 0x10]
jle 0x5601dd
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0054253c
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
call fcn.004dff04
test eax, eax
jle 0x56021b
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00404ec8
lea eax, [ebp - 8]
mov edx, dword [ebp + 0xc]
call fcn.00404ec8
lea eax, [ebp + 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00404ec8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00550190
test al, al
je 0x560281
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x5a8]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0054fc98
movzx eax, al
add ebx, eax
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x5a8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0054fc98
movzx eax, al
add ebx, eax
mov dword [ebp - 0x24], ebx
jmp 0x5603ea
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x37c]
mov edx, dword [eax]
call dword [edx + 0x28]
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x5603e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x37c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0054253c
mov eax, dword [eax + 0x30]
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x13c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0054253c
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004dff04
test eax, eax
jge 0x5602f3
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x560300
push ebp
mov eax, dword [ebp - 8]
call fcn.005600b4
pop ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x56031a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x37c]
mov edx, dword [eax]
call dword [edx + 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0054fc98
movzx eax, al
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x37c]
mov edx, dword [eax]
call dword [edx + 0x38]
test eax, eax
jle 0x56035d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x37c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x38]
mov edx, eax
dec edx
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0054253c
mov eax, dword [eax + 0x30]
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x13c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0054253c
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
call fcn.004dff04
test eax, eax
jle 0x5603a3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00556794
mov dword [ebp - 0x24], eax
jmp 0x5603b0
push ebp
mov eax, dword [ebp + 0xc]
call fcn.005600b4
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0054fc98
movzx eax, al
add dword [ebp - 0x24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5603ea
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x37c]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 0x10]
call fcn.0053a75c
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xc]
mov eax, ebx
mov edx, dword [ebp - 0x18]
call fcn.0053a75c
mov edx, eax
mov eax, ebx
mov ecx, dword [ebp - 0x20]
call fcn.0055478c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x560447
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e54
lea eax, [ebp + 0xc]
call fcn.00404e30
ret