Function at 0x6067e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7548fd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x8bb040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x6c], edi
mov esi, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
push esi
mov dword [edi + 0x20], ecx
mov ecx, dword [edi + 4]
push edx
mov dword [ebp - 0x60], esi
mov dword [edi + 0x1c], eax
call fcn.006179e0
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x24]
add ecx, ecx
sub edx, ecx
mov ecx, edi
cmp eax, edx
cmovb edx, eax
mov dword [ebp - 0x70], edx
call fcn.00606730
mov edx, dword [edi + 0x28]
push 0x10b
sub edx, 2
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
mov eax, dword [edi + 0x2c]
mov edi, dword [ebp - 0x70]
sub edi, 2
lea eax, [edi + eax*2]
push eax
push 1
push 1
call esi
mov ecx, dword [ebp - 0x6c]
call fcn.00606730
mov edx, dword [ebp - 0x6c]
push 0
push 0xffffffffffffffff
mov ecx, dword [eax]
mov esi, dword [edx + 0x30]
mov edx, dword [edx + 0x28]
push 0xffffffffffffffff
mov eax, dword [ecx]
push 0
push 1
push 0
mov edi, dword [eax + 0x34]
lea eax, [esi + esi]
push 0
push 0x105
sub edx, eax
mov eax, dword [ebp - 0x6c]
push edx
push dword [ebp - 0x70]
push esi
push dword [eax + 0x2c]
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [eax + 4]
call edi
push dword [ebp - 0x60]
mov edi, 5
lea ecx, [ebp - 0x5c]
push dword [ebx + 8]
cmp eax, edi
cmovb edi, eax
xor eax, eax
xor esi, esi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
call fcn.004815d0
mov dword [ebp - 4], esi
mov dword [ebp - 0x60], esi
test edi, edi
jle 0x606a57
lea esp, [esp]
xor eax, eax
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x44], al
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], al
mov esi, dword [ebp - 0x6c]
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00606730
cmp dword [ebp - 0x48], 0xf
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x5c]
cmova eax, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push dword [ebp - 0x4c]
mov ecx, dword [esi + 4]
push eax
call fcn.00570750
mov ecx, dword [esi + 4]
add esp, 0x10
cmp dword [ebp - 0x30], 0xf
lea esi, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
cmova esi, dword [ebp - 0x44]
cmp dword [ecx + 0x34], 0
jne 0x606996
mov edi, dword [ecx + 8]
imul edi, eax
jmp 0x6069b2
add eax, esi
xor edi, edi
mov dword [ebp - 0x74], eax
cmp esi, eax
je 0x6069b2
movzx eax, byte [esi]
push eax
call fcn.00617990
inc esi
add edi, eax
cmp esi, dword [ebp - 0x74]
jne 0x6069a1
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmp esi, edi
lea ecx, [ebp - 0x5c]
cmovb esi, edi
cmp dword [ebp - 0x18], 0xf
mov dword [ebp - 0x68], esi
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.004833e0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x606a0c
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x606a02
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x606b01
push ecx
push edx
call fcn.00732c0f
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x606a44
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x606a3a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x606b01
push ecx
push edx
call fcn.00732c0f
add esp, 8
mov edi, dword [ebp - 0x60]
inc edi
mov dword [ebp - 0x60], edi
cmp edi, dword [ebp - 0x64]
jl 0x606910
mov edi, dword [ebp - 0x64]
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x2c]
lea eax, [esi + eax*2]
mov dword [ebp - 0x64], eax
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [edx + 0x30]
imul ecx, edi
lea eax, [ecx + eax*2]
mov ecx, dword [edx + 0x28]
cmp eax, ecx
cmovb ecx, eax
mov dword [ebp - 0x70], ecx
mov ecx, dword [edx]
mov eax, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x110]
mov edi, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
call eax
mov ecx, dword [ebp - 0x6c]
mov esi, eax
xor edx, edx
mov eax, dword [ecx + 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 4]
div dword [ebp - 0x68]
xor edx, edx
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [esi]
div dword [ebp - 0x68]
mov edx, ecx
mov esi, eax
mov eax, dword [edi + 0xcc]
sub eax, dword [edi + 0xc4]
add esi, dword [edx + 0x20]
xor edx, edx
div dword [ebp - 0x68]
mov ecx, eax
mov dword [ebp - 0x74], eax
sub ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
cmp ecx, eax
cmovl eax, ecx
xor edx, edx
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 0xc8]
sub eax, dword [edi + 0xc0]
mov edi, dword [ebp - 0x68]
div edi
mov edx, dword [ebp - 0x70]
lea ecx, [edx + 0x12]
add ecx, esi
cmp ecx, eax
jbe 0x606b07
sub esi, edx
dec esi
jmp 0x606b13
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xor edx, edx
mov eax, 0x12
div edi
inc eax
add esi, eax
cmp dword [ebp - 0x60], 0
mov dword [ebp - 0x68], esi
jge 0x606b29
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x74], eax
cmovb eax, dword [ebp - 0x74]
mov dword [ebp - 0x64], eax
mov edi, dword [ebp - 0x6c]
mov ecx, edi
call fcn.00606730
push dword [ebp - 0x70]
push dword [ebp - 0x64]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, edi
call fcn.00606730
mov edx, dword [edi + 0x38]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x70]
imul eax, edx
imul edx, dword [ebp - 0x64]
mov esi, dword [ecx]
push eax
push edx
call dword [esi + 0x58]
mov ecx, edi
call fcn.00606730
mov ecx, dword [eax]
mov eax, dword [ebp - 0x68]
imul eax, dword [edi + 0x38]
mov esi, dword [ecx]
push eax
xor eax, eax
cmp dword [ebp - 0x60], eax
cmovge eax, dword [ebp - 0x60]
imul eax, dword [edi + 0x38]
push eax
call dword [esi + 0x54]
mov ecx, edi
call fcn.00606730
push 0
push 0x100
push dword [ebp - 0x70]
mov ecx, dword [eax]
push dword [ebp - 0x64]
push 0
mov eax, dword [ecx]
push 0
call dword [eax + 0x2c]
mov eax, dword [edi]
lea ecx, [ebp - 0x5c]
mov byte [edi + 0x34], 1
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 8]
mov byte [eax + 0x4c], 1
call fcn.00481520
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0073297b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8