Function at 0x565a84
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff58
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
call fcn.00562d98
xor edx, edx
push ebp
push 0x565fca
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x34], eax
mov dl, 1
mov eax, dword [0x423d48]
call fcn.0040441c
mov dword [ebp - 0x24], eax
mov dl, 1
mov eax, dword [0x423d48]
call fcn.0040441c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
call fcn.004030d8
mov dword [ebp - 0x30], eax
xor edx, edx
push ebp
push 0x565f7f
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00564484
lea eax, [ebp - 0xa0]
xor ecx, ecx
mov edx, 0x40
call fcn.00403a94
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x14
call fcn.00403a94
lea eax, [ebp - 0xa8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2ddc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00563d08
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cdq
push edx
push eax
mov eax, dword [ebp - 0x34]
call fcn.00429560
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 8]
call fcn.00562408
dec eax
test eax, eax
jl 0x565f34
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00562410
cmp byte [eax + 0x11], 0
je 0x565f28
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00562410
mov ebx, dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00562410
call fcn.00562380
test al, al
je 0x565e2d
mov dword [ebp - 0x20], ebx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00563d30
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00563d5c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
call fcn.005627c8
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
add eax, dword [ebp - 0x30]
mov esi, eax
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x4c]
lea edi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [ebp - 0x44]
cmp ebx, dword [ebp - 0x1c]
jle 0x565c45
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ebx
jmp 0x565ca1
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 0x4c]
add eax, ebx
cdq
cmp edx, dword [esp + 4]
jne 0x565c5d
cmp eax, dword [esp]
pop edx
pop eax
jne 0x565c6f
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
jmp 0x565c7f
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
and eax, 0x8000003f
jns 0x565c94
dec eax
or eax, 0xffffffc0
inc eax
mov edx, 0x40
sub edx, eax
add edx, dword [ebp - 0x1c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00569bac
test al, al
je 0x565dc4
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
cmp eax, dword [ebp - 0x2c]
je 0x565cec
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00563d30
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00563d5c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
call fcn.005627c8
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
call fcn.0055b99c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
cdq
push edx
push eax
mov eax, dword [ebp - 0x34]
call fcn.00429560
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x18]
cdq
push edx
push eax
mov eax, dword [ebp - 0x34]
call fcn.00429560
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor eax, eax
push ebp
push 0x565d9b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00563d30
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00563d5c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00562610
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x565da5
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
call fcn.0055b99c
cmp eax, dword [ebp - 0x2c]
jne 0x565cbb
jmp 0x565de9
mov eax, dword [ebp - 0x18]
cdq
push edx
push eax
mov eax, dword [ebp - 0x34]
call fcn.00429560
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x1c]
and eax, 0x8000003f
jns 0x565df8
dec eax
or eax, 0xffffffc0
inc eax
mov edx, 0x40
sub edx, eax
mov ecx, edx
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
add eax, dword [ebp - 0x30]
mov edi, eax
lea esi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x565f28
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00562410
cmp byte [eax + 8], 0xe
jne 0x565eee
mov esi, ebx
cmp dword [esi], 0
je 0x565f28
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00562410
mov eax, dword [eax + 0xc]
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00563d30
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4]
add ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00562904
mov eax, dword [esi]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x51]
jle 0x565f28
mov edx, dword [ebp - 4]
mov dword [edx + 0x51], eax
mov eax, dword [ebp - 0x34]
call fcn.00429540
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x30]
mov eax, dword [edx + eax*4 + 0x200]
add eax, 0x21
add eax, 8
cdq
push edx
push eax
mov eax, dword [ebp - 0x34]
call fcn.00429560
mov eax, dword [ebp - 4]
lea edx, [eax + 0x51]
mov ecx, 4
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
call dword [esi + 0x10]
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [ebp - 0x34]
call fcn.00429560
jmp 0x565f28
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00562410
mov eax, dword [eax + 0xc]
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00563d30
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4]
add ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00562904
inc dword [ebp - 0x10]
dec dword [ebp - 0x38]
jne 0x565b8e
mov eax, dword [ebp - 0x14]
cdq
push edx
push eax
mov eax, dword [ebp - 0x34]
call fcn.00429560
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x565f86
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x30]
call fcn.0040310c
mov eax, dword [ebp - 0x24]
call fcn.0040444c
mov eax, dword [ebp - 0x28]
call fcn.0040444c
ret