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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x14], edi
and eax, 1
mov dword [esp + 0x10], ecx
xor esi, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
cmp edi, 1
jbe 0x62f93f
cmp byte [ebx + 0x16], cl
je 0x62f93f
cmp byte [ebx + 0x10], 1
je 0x62f935
test dl, 2
je 0x62f93f
mov dword [esp + 0x24], 1
jmp 0x62f943
mov dword [esp + 0x24], ecx
cmp edi, 1
ja 0x62f96f
test edi, edi
jne 0x62f96f
push 0x6d24b0
push 0xba95
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0063c420
add esp, 0x10
lea eax, [edi + 0xb]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x28]
test edx, edx
je 0x62f97d
mov esi, edx
jmp 0x62fb1f
cmp dword [esp + 0x24], ecx
je 0x62fa8b
mov ecx, dword [ebx + 0xd0]
test ecx, ecx
je 0x62f9b4
lea eax, [esp + 0x18]
mov edx, edi
push eax
call fcn.0062bed0
mov esi, eax
add esp, 4
test esi, esi
jne 0x62fc71
cmp dword [esp + 0x18], eax
jne 0x62fa8b
mov eax, dword [ebx + 0x98]
mov ecx, edi
push 0
dec ecx
cdq
push ecx
push edx
push eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], ecx
call fcn.00584790
mov ecx, dword [ebx + 0x3c]
lea edi, [esp + 0x10]
push edi
mov edi, dword [ebx + 0x98]
mov esi, eax
push edi
mov eax, dword [ecx]
push edx
push esi
push ecx
mov eax, dword [eax + 0x44]
call eax
mov esi, eax
add esp, 0x14
mov dword [esp + 0x2c], esi
test esi, esi
jne 0x62fc71
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
test eax, eax
je 0x62fa8b
cmp byte [ebx + 0x10], 1
jbe 0x62fa59
mov edx, edi
mov ecx, ebx
call fcn.0062f8a0
mov dword [esp + 0x20], eax
test eax, eax
je 0x62fa55
push dword [esp + 0x10]
mov eax, dword [ebx + 0x98]
mov esi, dword [ebx + 0x3c]
push 0
push dword [esp + 0x30]
cdq
mov edi, dword [esi]
push edx
push eax
call fcn.00584790
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [esp + 0x3c]
add esp, 0x10
mov edi, dword [esp + 0x14]
jmp 0x62fa6d
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
mov edx, edi
push ecx
push eax
mov ecx, ebx
call fcn.00630dd0
add esp, 8
mov esi, eax
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x62fa83
mov eax, dword [ebp + 8]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x62fc71
mov ecx, dword [ebx + 0xcc]
movzx eax, byte [ecx + 0x1d]
and eax, 3
push eax
push edi
push dword [ecx + 0x28]
call dword [0x6d34ec]
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
jne 0x62fae2
mov ecx, dword [ebx + 0xcc]
lea eax, [esp + 0x20]
push eax
mov edx, edi
call fcn.006355a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x62fc71
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x62fae2
mov edi, dword [ebp + 8]
lea esi, [eax + 7]
mov dword [edi], eax
jmp 0x62fc74
mov ecx, dword [eax + 4]
mov edx, dword [ebx + 0xcc]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], ecx
cmp dword [ecx], 0
jne 0x62fb0f
mov ecx, dword [esp + 0x2c]
mov edx, edi
push eax
call fcn.00635520
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
jmp 0x62fb16
inc dword [edx + 0xc]
inc word [ecx + 0x1a]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [esp + 0x1c]
test esi, esi
jne 0x62fc71
cmp dword [ecx + 0x10], esi
je 0x62fb3d
test eax, eax
jne 0x62fb3d
inc dword [ebx + 0xb8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ecx + 0x10], ebx
cmp edi, 0x7fffffff
ja 0x62fc29
mov eax, dword [0x6d2abc]
cdq
idiv dword [ebx + 0x98]
inc eax
cmp edi, eax
je 0x62fc29
cmp byte [ebx + 0xf], 0
mov edx, dword [esp + 0x1c]
jne 0x62fbc4
cmp dword [ebx + 0x18], edi
jb 0x62fbc4
test edx, edx
jne 0x62fbc4
mov eax, dword [ebx + 0x3c]
cmp dword [eax], edx
je 0x62fbc4
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x62fbaa
cmp dword [esp + 0x24], edx
jne 0x62fbaa
lea ecx, [esp + 0x18]
mov edx, edi
push ecx
mov ecx, eax
call fcn.0062bed0
mov ecx, dword [esp + 0x14]
mov esi, eax
add esp, 4
test esi, esi
jne 0x62fc4b
mov edx, dword [esp + 0x18]
inc dword [ebx + 0xbc]
call fcn.00631a50
mov esi, eax
test esi, esi
je 0x62fc20
jmp 0x62fc47
cmp edi, dword [ebx + 0x9c]
jbe 0x62fbd3
mov esi, 0xd
jmp 0x62fc4b
test edx, edx
je 0x62fc0d
mov eax, dword [0x6e87f0]
test eax, eax
je 0x62fbe2
call eax
cmp edi, dword [ebx + 0x1c]
ja 0x62fbf5
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x62fbf5
mov edx, edi
call fcn.00635d10
mov edx, edi
mov ecx, ebx
call fcn.00632a00
mov eax, dword [0x6e87f4]
test eax, eax
je 0x62fc09
call eax
mov ecx, dword [esp + 0x10]
push dword [ebx + 0x98]
push 0
push dword [ecx + 4]
call fcn.00586ff0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x6d24b0
push 0xbaee
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0063c420
add esp, 0x10
mov esi, 0xb
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x18], 2
je 0x62fc58
mov dl, 1
call fcn.006357d0
mov eax, dword [ecx + 0x1c]
push 1
dec dword [eax + 0xc]
mov eax, dword [ecx + 0x1c]
push dword [ecx]
push dword [eax + 0x28]
call dword [0x6d34f0]
add esp, 0xc
mov edi, dword [ebp + 8]
cmp dword [ebx + 0x78], 0
jne 0x62fc8d
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x62fc8d
mov ecx, ebx
call fcn.00632620
mov dword [edi], 0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret