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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x78]
lea edx, [eax - 1]
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
cmp dword [esp + 0x74], eax
mov dword [esp + 0x24], eax
jge 0x62f770
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
lea eax, [eax + eax*2]
lea eax, [esi + eax*8 + 8]
mov esi, ecx
mov dword [esp + 0x18], eax
jmp 0x62f49a
mov dword [ecx], edx
mov esi, dword [ebx + 4]
test eax, eax
mov ebp, dword [ecx + 8]
mov dword [ecx + 4], esi
mov esi, dword [ebx + 8]
mov dword [ecx + 8], esi
je 0x62f544
mov dword [ebx], eax
mov dword [ebx + 8], ebp
mov esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x24]
mov dword [ebx + 4], 0
mov byte [eax], 0
jge 0x62f562
mov dword [esp + 0x18], edi
lea eax, [esi + 1]
mov edi, dword [esp + 0x70]
lea ecx, [eax + eax]
lea ebx, [ecx - 1]
lea eax, [ecx + eax*4]
lea edx, [ebx + ebx*2]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x70]
lea edi, [edi + eax*8]
lea ebx, [ebx + edx*8]
mov edx, dword [edi + 4]
mov ebp, dword [edi]
mov eax, dword [ebx + 4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ebp
cmp edx, eax
mov dword [esp + 0x20], eax
cmovbe eax, edx
mov edx, dword [ebx]
test eax, eax
je 0x62f4fe
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
call sub.msvcrt.dll_memcmp
test eax, eax
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
jne 0x62f506
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x20]
test eax, eax
cmovs ecx, dword [esp + 0x10]
lea eax, [esi + esi*2]
cmovns edx, dword [esp + 0x14]
mov esi, dword [esp + 0x70]
cmovns ebx, edi
lea edi, [ebx + 8]
mov dword [esp + 0x10], ecx
lea ecx, [esi + eax*8]
cmp edi, edx
mov eax, dword [ecx]
je 0x62f550
cmp eax, dword [esp + 0x18]
jne 0x62f460
mov dword [ecx], edx
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 8]
mov dword [ecx + 8], eax
mov dword [ebx], edi
mov eax, edi
jmp 0x62f47e
mov dword [esp], ebx
call fcn.00614850
mov eax, dword [ebx]
sub esp, 4
jmp 0x62f47e
mov ebp, esi
test byte [esp + 0x78], 1
jne 0x62f583
mov eax, dword [esp + 0x78]
sub eax, 2
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
cmp eax, ebp
je 0x62f714
lea ecx, [ebp + ebp*2]
lea ebx, [ecx*8]
lea eax, [esp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x7c]
mov edx, dword [eax]
add eax, 8
cmp edx, eax
je 0x62f743
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x40], edx
mov esi, dword [esp + 0x7c]
mov dword [esi], eax
lea eax, [ebp - 1]
mov edi, dword [esi + 4]
mov byte [esi + 8], 0
mov dword [esi + 4], 0
mov esi, eax
shr esi, 0x1f
mov dword [esp + 0x3c], edi
add esi, eax
sar esi, 1
cmp ebp, dword [esp + 0x74]
jle 0x62f6d0
mov ecx, ebp
mov ebp, edi
jmp 0x62f636
mov dword [ecx], edx
mov edx, dword [ebx + 4]
test eax, eax
mov ebp, dword [ecx + 8]
mov dword [ecx + 4], edx
mov edx, dword [ebx + 8]
mov dword [ecx + 8], edx
je 0x62f6ac
mov dword [ebx], eax
mov dword [ebx + 8], ebp
lea edx, [esi - 1]
mov dword [ebx + 4], 0
mov byte [eax], 0
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
cmp dword [esp + 0x74], esi
jge 0x62f710
mov ebp, dword [esp + 0x3c]
mov ecx, esi
mov esi, eax
mov edi, dword [esp + 0x70]
lea eax, [esi + esi*2]
lea ebx, [edi + eax*8]
mov eax, ebp
mov edi, dword [ebx + 4]
mov edx, dword [ebx]
cmp edi, ebp
cmovbe eax, edi
test eax, eax
je 0x62f678
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcmp
test eax, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
jne 0x62f67c
mov eax, edi
sub eax, ebp
mov edi, dword [esp + 0x70]
lea ecx, [ecx + ecx*2]
test eax, eax
lea ecx, [edi + ecx*8]
jns 0x62f6e0
lea edi, [ebx + 8]
mov eax, dword [ecx]
lea ebp, [ecx + 8]
cmp edx, edi
je 0x62f6b5
cmp eax, ebp
jne 0x62f5f0
mov dword [ecx], edx
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 8]
mov dword [ecx + 8], eax
mov dword [ebx], edi
mov eax, edi
jmp 0x62f60e
mov dword [esp], ebx
call fcn.00614850
mov eax, dword [ebx]
sub esp, 4
jmp 0x62f60e
add ebx, dword [esp + 0x70]
mov ecx, ebx
lea esi, [esi]
lea edi, [edi]
lea eax, [esp + 0x38]
mov dword [esp], eax
call fcn.006152b0
sub esp, 4
mov eax, dword [esp + 0x38]
lea esi, [esp + 0x40]
cmp eax, esi
je 0x62f703
mov dword [esp], eax
call fcn.0063efa0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, ebx
jmp 0x62f6e0
lea esi, [ebp + ebp + 1]
mov edi, dword [esp + 0x70]
lea eax, [ebp + ebp*2]
lea ecx, [esi + esi*2]
mov ebp, esi
lea ebx, [ecx*8]
lea ecx, [edi + eax*8]
mov eax, ebx
add eax, edi
mov dword [esp], eax
call fcn.006152b0
sub esp, 4
jmp 0x62f58e
mov esi, dword [esp + 0x7c]
mov edx, dword [esi + 8]
mov dword [esp + 0x40], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x44], edx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x48], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x4c], edx
jmp 0x62f5b6
mov ebp, dword [esp + 0x74]
jmp 0x62f564