Function at 0x68203c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x682044
push ebx
push esi
push edi
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x6824df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x54]
call fcn.004b8708
mov eax, dword [ebp - 0x20]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 0x20]
add eax, 0x14
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x14]
call fcn.0040927c
push eax
lea eax, [ebp - 0x10]
call fcn.0040927c
mov edx, eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
pop ecx
call fcn.00681b18
cmp dword [0x6b771c], 0
je 0x6820e6
cmp dword [0x6b7720], 0
ja 0x6820c9
mov ecx, 0xe2
mov edx, 0x6824fc
mov eax, 0x6825b4
call fcn.004090c8
mov eax, dword [ebp - 0x20]
add eax, 0x1c
mov edx, dword [0x6b771c]
call fcn.0040965c
mov eax, dword [ebp - 0x20]
mov edx, dword [0x6b7720]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x1c], 0
je 0x682139
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x18], 0
ja 0x68210c
mov ecx, 0xe8
mov edx, 0x6824fc
mov eax, 0x6825b4
call fcn.004090c8
mov eax, dword [ebp - 0x20]
push dword [eax + 0x1c]
push 0x6825e4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x18]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.00422044
push dword [ebp - 0x30]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040a3b4
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x58]
sub al, 1
jb 0x68214b
je 0x68215a
jmp 0x6821d8
lea eax, [ebp - 0x1c]
mov edx, 0x6825f4
call fcn.004096a4
jmp 0x6821d8
lea eax, [ebp - 0x1c]
mov edx, 0x682608
call fcn.004096a4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x4c]
call fcn.005e5638
test eax, eax
jle 0x6821ba
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x60]
test eax, eax
jle 0x68218b
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0x4c]
mov dword [edx + 0xc], eax
jmp 0x68219a
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x5c]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0x4c]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x4c]
call fcn.005e5784
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.00409e50
jmp 0x6821d8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x50]
call fcn.0042e91c
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.00409e50
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x10]
call fcn.006839ac
test al, al
jne 0x682266
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0x14]
call fcn.0042201c
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov ecx, 0
call fcn.00409e50
mov eax, dword [ebp - 0x3c]
push eax
movzx eax, byte [ebp - 0x25]
push eax
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x18]
mov ecx, 0
call fcn.00409e50
mov eax, dword [ebp - 0x44]
push eax
push 0
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax + 8]
push ebx
push ebx
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x10]
mov ecx, 0
call fcn.00409e50
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x5dfaa0]
call fcn.005e070c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
call fcn.006837fc
xor edx, edx
push ebp
push 0x682464
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x6823f0
push dword fs:[edx]
mov dword fs:[edx], esp
push 1
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x20]
call fcn.00682ac8
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov ecx, 0
call fcn.00409e50
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
lea eax, [ebp - 8]
call fcn.004092a0
push eax
lea eax, [ebp - 0xc]
call fcn.004092a0
push eax
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 0x1c]
mov ecx, 0
call fcn.00409e50
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x14]
mov ecx, 0
call fcn.00409e50
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x24]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x20]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x6822fd
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x68230c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
call fcn.00682688
lea ecx, [ebp - 0x5c]
mov edx, 0x682620
mov eax, dword [ebp - 0x20]
call fcn.006826d8
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x20]
add eax, 0x3c
call fcn.0040965c
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x682336
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x6823e6
mov dl, 1
mov eax, dword [0x493198]
call fcn.004075d0
mov dword [ebp - 0x2c], eax
xor edx, edx
push ebp
push 0x682398
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x682367
sub eax, 4
mov eax, dword [eax]
mov ecx, eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
call fcn.004b5350
push 0
push 0
mov eax, dword [ebp - 0x2c]
call fcn.004b3a64
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x54]
mov eax, dword [ebp - 0x2c]
call fcn.0067f34c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6823a2
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x54]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x6823d9
cmp eax, 0
jne 0x6823d9
push 0
push 0
mov eax, dword [ebp - 0x2c]
call fcn.004b3a64
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 0x2c]
call fcn.004b7a14
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x2c], edx
call fcn.00407600
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x682456
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x68246b
ret