Function at 0x565320
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff54
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0xd], cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x565a74
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
call fcn.00562d98
xor ecx, ecx
push ebp
push 0x565a51
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00564300
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x24]
cmp ebx, 0xffffffff
je 0x5653bc
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00562410
mov ebx, dword [eax + 4]
mov edx, ebx
mov eax, dword [edx]
test eax, eax
jne 0x5653ae
mov eax, dword [ebp - 8]
inc dword [eax + 0x51]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x51]
mov dword [edx], eax
jmp 0x5653bc
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x51]
jle 0x5653bc
mov edx, dword [ebp - 8]
mov dword [edx + 0x51], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
mov edx, dword [edx + 0x30]
mov ebx, dword [edx + eax*4 + 0x200]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x49]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4d]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x5654c3
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2dd4]
call fcn.00407ec8
inc eax
push eax
mov eax, dword [ebp - 8]
add eax, 0x2dd4
mov ecx, 1
mov edx, dword [0x558484]
call fcn.00408090
add esp, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2dd4]
call fcn.00407ed0
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x2dd4]
mov ecx, dword [ebp - 0x18]
mov dword [edx + eax*4], ecx
push 0x400
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x5652f4]
call fcn.00408090
add esp, 4
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, 0x1400
call fcn.00403a94
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
call dword [edx]
add eax, 4
add eax, 0x1400
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov byte [eax + 4], 0
xor eax, eax
mov dword [ebp - 0x38], eax
mov cx, 2
xor edx, edx
mov eax, dword [ebp - 0x54]
mov esi, dword [eax]
call dword [esi + 0x14]
lea edx, [ebp - 0x38]
mov ecx, 4
mov eax, dword [ebp - 0x54]
mov esi, dword [eax]
call dword [esi + 0x10]
mov edx, dword [ebp - 4]
mov ecx, 0x1400
mov eax, dword [ebp - 0x54]
mov esi, dword [eax]
call dword [esi + 0x10]
jmp 0x565633
mov eax, dword [ebp - 0x1c]
and eax, 0x800003ff
jns 0x5654d4
dec eax
or eax, 0xfffffc00
inc eax
test eax, eax
jne 0x5655f9
push 0x400
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x5652f4]
call fcn.00408090
add esp, 4
mov eax, dword [ebp - 4]
call fcn.00407ec8
lea edx, [eax + eax*4]
mov eax, dword [ebp - 4]
xor ecx, ecx
call fcn.00403a94
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
call dword [edx]
mov esi, eax
add esi, 4
mov eax, dword [ebp - 4]
call fcn.00407ec8
lea eax, [eax + eax*4]
add esi, eax
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov byte [eax + 4], 0
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2dd4]
call fcn.00407ed0
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x2dd4]
mov eax, dword [edx + eax*4]
cdq
push edx
push eax
mov eax, dword [ebp - 0x54]
call fcn.00429560
lea edx, [ebp - 0x38]
mov ecx, 4
mov eax, dword [ebp - 0x54]
mov esi, dword [eax]
call dword [esi + 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2dd4]
call fcn.00407ec8
inc eax
push eax
mov eax, dword [ebp - 8]
add eax, 0x2dd4
mov ecx, 1
mov edx, dword [0x558484]
call fcn.00408090
add esp, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2dd4]
call fcn.00407ed0
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x2dd4]
mov ecx, dword [ebp - 0x38]
mov dword [edx + eax*4], ecx
mov cx, 2
xor edx, edx
mov eax, dword [ebp - 0x54]
mov esi, dword [eax]
call dword [esi + 0x14]
xor eax, eax
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x38]
mov ecx, 4
mov eax, dword [ebp - 0x54]
mov esi, dword [eax]
call dword [esi + 0x10]
mov eax, dword [ebp - 4]
call fcn.00407ec8
lea ecx, [eax + eax*4]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x54]
mov esi, dword [eax]
call dword [esi + 0x10]
jmp 0x565633
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00563d9c
cdq
push edx
push eax
mov eax, dword [ebp - 0x54]
call fcn.00429560
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x12], eax
mov byte [ebp - 0xe], 0
lea edx, [ebp - 0x12]
mov ecx, 5
mov eax, dword [ebp - 0x54]
mov esi, dword [eax]
call dword [esi + 0x10]
inc dword [ebp - 0x1c]
lea eax, [ebx + 0x21]
cdq
push edx
push eax
mov eax, dword [ebp - 0x54]
call fcn.00429560
lea edx, [ebp - 0x18]
mov ecx, 4
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 8]
cmp dword [eax + 0x24], 0xffffffff
je 0x565680
mov eax, dword [ebp - 8]
lea edx, [eax + 0x51]
mov ecx, 4
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x49], edx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x4d], edx
mov dl, 1
mov eax, dword [0x423d48]
call fcn.0040441c
mov dword [ebp - 0x28], eax
mov dl, 1
mov eax, dword [0x423d48]
call fcn.0040441c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
call fcn.004030d8
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
call fcn.004030d8
mov dword [ebp - 0x50], eax
xor edx, edx
push ebp
push 0x5659de
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x6c]
xor ecx, ecx
mov edx, 0x14
call fcn.00403a94
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.005650b8
mov eax, dword [ebp - 0x20]
cdq
push edx
push eax
mov eax, dword [ebp - 0x54]
call fcn.00429560
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x55]
dec eax
test eax, eax
jl 0x565985
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00562410
mov ebx, dword [eax + 4]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00562410
call fcn.00562380
test al, al
je 0x56593f
mov dword [ebp - 0x24], ebx
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
call fcn.00563d30
push eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
call fcn.00563d5c
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.005627c8
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x54]
call fcn.00429540
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x44]
and eax, 0x8000003f
jns 0x5657b2
dec eax
or eax, 0xffffffc0
inc eax
mov edx, 0x40
sub edx, eax
add edx, dword [ebp - 0x44]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x3c]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp - 0x50]
add edx, eax
lea eax, [ebp - 0x6c]
mov ecx, 0x14
call fcn.004032a8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
call fcn.00569bac
test al, al
je 0x565900
xor eax, eax
mov dword [ebp - 0x48], eax
xor eax, eax
cmp eax, dword [ebp - 0x48]
je 0x565828
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
call fcn.00563d30
push eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
call fcn.00563d5c
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.005627c8
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
call fcn.0055b99c
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
cdq
push edx
push eax
mov eax, dword [ebp - 0x54]
call fcn.00429560
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x40]
cdq
push edx
push eax
mov eax, dword [ebp - 0x54]
call fcn.00429560
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor eax, eax
push ebp
push 0x5658d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
call fcn.00563d30
push eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
call fcn.00563d5c
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
call fcn.00562610
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5658e1
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
call fcn.0055b99c
cmp eax, dword [ebp - 0x48]
jne 0x5657f7
jmp 0x565917
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x44]
and eax, 0x8000003f
jns 0x565926
dec eax
or eax, 0xffffffc0
inc eax
mov edx, 0x40
sub edx, eax
mov ecx, edx
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 0x10]
jmp 0x565979
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00562410
mov eax, dword [eax + 0xc]
push eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
call fcn.00563d30
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [eax + edx*4]
add ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.00562904
inc dword [ebp - 0x3c]
dec dword [ebp - 0x58]
jne 0x56572d
mov eax, dword [ebp - 0x20]
cdq
push edx
push eax
mov eax, dword [ebp - 0x54]
call fcn.00429560
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5659e5
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x50]
call fcn.0040310c
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x4c]
call fcn.0040310c
mov eax, dword [ebp - 0x28]
call fcn.0040444c
mov eax, dword [ebp - 0x2c]
call fcn.0040444c
ret