Function at 0x62f160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
mov esi, ecx
xor eax, eax
mov dword [esp + 0x10], eax
xor edx, edx
push edi
mov dword [esp + 0x2c], esi
xor ecx, ecx
mov ebx, dword [esi + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], ebx
mov eax, dword [ebx + 0x94]
div dword [ebx + 0x98]
or byte [ebx + 0x14], 4
mov esi, dword [esi + 0x14]
mov edx, eax
lea edi, [edx - 1]
not edi
lea eax, [esi - 1]
and edi, eax
inc edi
mov dword [esp + 0x24], edi
cmp esi, dword [ebx + 0x18]
jbe 0x62f1b9
sub esi, edi
inc esi
mov dword [esp + 0x18], esi
jmp 0x62f1d4
mov esi, dword [ebx + 0x18]
lea eax, [edx - 1]
add eax, edi
cmp eax, esi
jbe 0x62f1ce
sub esi, edi
inc esi
mov dword [esp + 0x18], esi
jmp 0x62f1d4
mov esi, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], ecx
test esi, esi
jle 0x62f427
test ecx, ecx
jne 0x62f427
mov eax, dword [esp + 0x2c]
cmp edi, dword [eax + 0x14]
je 0x62f286
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x62f282
mov edx, edi
call fcn.00635f40
test eax, eax
je 0x62f282
mov eax, dword [ebx + 0xcc]
push 0
push edi
push dword [eax + 0x28]
call dword [0x6d34ec]
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x62f22f
mov dword [esp + 0x1c], eax
jmp 0x62f2e2
mov eax, dword [ecx + 4]
mov edx, dword [ebx + 0xcc]
mov dword [esp + 0x1c], edx
cmp dword [eax], 0
jne 0x62f252
push ecx
mov ecx, dword [esp + 0x20]
mov edx, edi
call fcn.00635520
add esp, 4
jmp 0x62f259
inc dword [edx + 0xc]
inc word [eax + 0x1a]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x62f2e2
test byte [eax + 0x18], 8
mov edx, 1
mov ecx, dword [esp + 0x14]
cmovne ecx, edx
mov dword [esp + 0x14], ecx
mov ecx, eax
call fcn.0062f820
jmp 0x62f2e2
mov ecx, dword [esp + 0x10]
mov eax, dword [0x6d2abc]
cdq
idiv dword [ebx + 0x98]
inc eax
cmp edi, eax
je 0x62f2e6
lea eax, [esp + 0x1c]
mov edx, edi
push 0
push eax
mov ecx, ebx
call fcn.0062f8f0
mov ecx, eax
add esp, 8
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x62f2e6
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.0062f440
test byte [esi + 0x18], 8
mov ecx, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
cmovne eax, ecx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.0062f820
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
inc edi
inc eax
mov dword [esp + 0x28], eax
cmp eax, esi
jl 0x62f1e0
test ecx, ecx
jne 0x62f427
mov eax, dword [esp + 0x14]
test eax, eax
je 0x62f427
mov edi, dword [esp + 0x24]
mov eax, dword [ebx + 0xcc]
push 0
push edi
push dword [eax + 0x28]
call dword [0x6d34ec]
mov edx, eax
add esp, 0xc
test edx, edx
je 0x62f411
mov eax, dword [edx + 4]
mov ecx, dword [ebx + 0xcc]
cmp dword [eax], 0
jne 0x62f34a
push edx
mov edx, edi
call fcn.00635520
add esp, 4
jmp 0x62f351
inc dword [ecx + 0xc]
inc word [eax + 0x1a]
test eax, eax
je 0x62f411
or word [eax + 0x18], 8
test byte [eax + 0x18], 0x40
mov ebx, dword [eax + 0x10]
je 0x62f3ab
dec dword [ebx + 0x78]
mov ecx, dword [ebx + 0x88]
mov dword [eax + 0xc], ecx
mov esi, dword [ebx + 0x3c]
mov dword [ebx + 0x88], eax
push dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.00584790
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [esp + 0x28]
add esp, 0x10
mov edi, dword [esp + 0x24]
jmp 0x62f3b2
mov ecx, eax
call fcn.006354d0
cmp dword [ebx + 0x78], 0
jne 0x62f40d
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x62f40d
mov al, byte [ebx + 0x10]
cmp al, 6
je 0x62f406
test al, al
je 0x62f406
cmp al, 2
jb 0x62f3f2
mov eax, dword [0x6e87f0]
test eax, eax
je 0x62f3de
call eax
mov ecx, ebx
call fcn.0062ed40
mov eax, dword [0x6e87f4]
test eax, eax
je 0x62f406
call eax
jmp 0x62f406
cmp byte [ebx + 4], 0
jne 0x62f406
push 0
xor edx, edx
mov ecx, ebx
call fcn.00632680
add esp, 4
mov ecx, ebx
call fcn.006328c0
mov ebx, dword [esp + 0x20]
inc edi
sub esi, 1
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], esi
jne 0x62f310
mov ecx, dword [esp + 0x10]
and byte [ebx + 0x14], 0xfb
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret