Function at 0x6503e8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x6503f1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x650690
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0xc]
call fcn.00436258
cmp dword [ebp - 8], 0
jne 0x650436
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
call fcn.00650c30
jmp 0x650659
lea eax, [ebp - 0xc]
mov dx, 0x3a
call fcn.00435450
mov ebx, eax
lea eax, [ebp - 0xc]
mov dx, 0x2f
call fcn.00435450
cmp ebx, 0xffffffff
je 0x65045d
cmp ebx, eax
jl 0x65064e
test eax, eax
jne 0x65047f
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.006502ac
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
call fcn.0040b510
jmp 0x650659
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x18]
call fcn.006503a8
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 0xc]
call fcn.0040b510
mov dl, 1
mov eax, dword [0x48d268]
call fcn.004bb3b8
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x650647
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x14]
add eax, 0xc
mov edx, 0x6506ac
call fcn.0040ac4c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x30]
xor ebx, ebx
jmp 0x650563
lea ecx, [ebp - 0x24]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x24]
mov edx, 0x6506bc
call fcn.0040b648
jne 0x6504ff
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
jmp 0x650563
test ebx, ebx
jle 0x650562
lea ecx, [ebp - 0x28]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x28]
mov edx, 0x6506cc
call fcn.0040b648
jne 0x650562
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
cmp ebx, 1
jg 0x650555
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0x11
lea eax, [ebp - 0x30]
push eax
push 0
mov ecx, dword [0x69e3b8]
mov dl, 1
mov eax, dword [0x644388]
call fcn.0042f958
call fcn.00409f44
dec ebx
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
jmp 0x650563
inc ebx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp ebx, eax
jl 0x6504d7
mov eax, dword [ebp - 0x10]
call fcn.0040a85c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x6505dd
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp dword [ebp - 0x34], 0
jne 0x6505b2
mov eax, dword [ebp - 0x10]
mov edx, 0x6506ac
call fcn.0040b4b8
mov eax, dword [ebp - 0x10]
jmp 0x6505d9
mov eax, dword [ebp - 0x10]
push dword [eax]
lea ecx, [ebp - 0x38]
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x38]
push 0x6506ac
mov eax, dword [ebp - 0x10]
mov edx, 3
call fcn.0040b598
inc ebx
dec esi
jne 0x65058d
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x6505e7
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 2], 0x2f
je 0x650614
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x6505fe
mov ebx, dword [ebx - 4]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, ebx
dec ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov edx, 1
call fcn.0040b680
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
call fcn.006502ac
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x10]
call fcn.0040b510
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x650659
mov eax, dword [ebp - 0x14]
call fcn.00408a84
pop eax
jmp eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.0040ac4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x650697
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.0040a8bc
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.0040a8bc
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a8bc
pop eax
jmp eax