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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov dword [ebp - 0xc], ebx
cmp byte [esi], 4
mov eax, dword [esi + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], eax
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
jne 0x10068b38
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 1]
test al, 0x20
je 0x10068b71
mov ecx, dword [ecx + 8]
mov edx, dword [esi + 0x40]
test ecx, ecx
je 0x10068b6c
nop dword [eax]
cmp ecx, esi
je 0x10068b65
test edx, edx
je 0x10068c03
cmp dword [ecx + 0x40], edx
je 0x10068c03
mov ecx, dword [ecx + 0x18]
test ecx, ecx
jne 0x10068b50
and al, 0xdf
mov byte [esi + 1], al
mov eax, dword [esi + 0x70]
mov edx, dword [ebp + 8]
test eax, eax
jne 0x10068cd6
mov eax, dword [esi + 0x40]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0xb], 0
je 0x10068bd1
mov byte [eax + 0xb], 0
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x10068bd1
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 8]
test byte [eax + 1], 0x10
je 0x10068bc4
mov byte [edi + 0xb], 1
cmp dword [eax + 0x40], ebx
jne 0x10068bc4
cmp dword [eax + 0x20], ecx
jne 0x10068bc4
cmp dword [eax + 0x24], edx
jne 0x10068bc4
mov byte [eax], 1
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x10068ba8
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp + 0xc]
test byte [esi + 1], 2
je 0x10068c23
cmp ecx, dword [esi + 0x20]
jne 0x10068c23
cmp edx, dword [esi + 0x24]
jne 0x10068c23
cmp word [esi + 0x32], 0
je 0x10068c52
mov eax, dword [ebx + 0x20]
add eax, dword [ebx + 0x1c]
cmp dword [esi + 0x2c], eax
jne 0x10068c52
mov edx, ebx
mov ecx, esi
call fcn.10068980
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x10068b6c
push esi
call fcn.1005fba0
add esp, 4
test eax, eax
je 0x10068b71
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x10068c52
lea eax, [ebp - 4]
push eax
xor eax, eax
cmp dword [ebp + 8], eax
setne al
push eax
push edx
push ecx
xor edx, edx
mov ecx, esi
call fcn.10064760
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10068f8a
mov eax, dword [ebp - 4]
mov dword [ebp + 0xc], eax
mov ebx, dword [esi + 0x74]
cmp dword [ebx + 0x14], 0
jge 0x10068c6c
mov ecx, ebx
call fcn.10060e10
mov edi, eax
test edi, edi
jne 0x10068f8a
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0xc]
mov ecx, ebx
mov eax, dword [eax + 0x50]
mov edx, eax
mov dword [ebp - 0x14], eax
call fcn.10065ed0
mov edi, eax
add esp, 8
mov dword [ebp - 8], edi
test edi, edi
jne 0x10068f8a
movzx ecx, word [esi + 0x46]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test eax, eax
jne 0x10068e85
mov ecx, dword [ebx + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x10068d8d
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x10068d8d
cmp dword [edx + 0x60], edi
je 0x10068dbc
call fcn.1005a010
jmp 0x10068db2
test edi, edi
jne 0x10068c52
test dl, 2
jne 0x10068d4e
movzx ecx, word [ebx + 0x18]
test cx, cx
je 0x10068d1a
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 4]
push eax
xor eax, eax
mov word [ebp - 0x20], cx
test edx, edx
mov dword [ebp - 0x1e], edi
lea edx, [ebp - 0x28]
mov byte [ebp - 0x1a], 0
setne al
mov ecx, esi
push eax
push edi
push edi
call fcn.10064760
jmp 0x10068d35
lea eax, [ebp - 4]
mov ecx, esi
push eax
xor eax, eax
test edx, edx
mov edx, dword [ebx]
setne al
push eax
push dword [ebx + 0xc]
push dword [ebx + 8]
call fcn.1005fc50
add esp, 0x10
test eax, eax
jne 0x10068f8c
mov edi, dword [ebp - 4]
mov dword [ebp + 0xc], edi
test edi, edi
jne 0x10068c52
mov ecx, esi
call fcn.10063e30
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
cmp dword [esi + 0x20], ecx
jne 0x10068c52
cmp dword [esi + 0x24], eax
jne 0x10068c52
mov eax, dword [ebx]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x24], ecx
mov ecx, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0
call fcn.10068980
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [edx + 0x28]
test edi, edi
jne 0x10068f8a
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x10068dad
call fcn.1005bb80
jmp 0x10068db2
call fcn.1005bb00
mov edi, eax
test edi, edi
jne 0x10068f8a
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 4]
mov ax, word [eax + edx*2]
mov ch, al
mov cl, ah
movzx eax, word [ebx + 0x1a]
movzx edi, cx
and edi, eax
add edi, dword [ebx + 0x38]
cmp byte [ebx + 8], 0
jne 0x10068de3
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi]
mov dword [ecx], eax
lea eax, [ebp - 0x30]
mov edx, edi
push eax
mov ecx, ebx
call fcn.10065d40
movzx edx, word [ebp - 0x1e]
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], eax
cmp edx, ecx
jne 0x10068e63
movzx eax, word [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jne 0x10068e63
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x11], 0
je 0x10068e1b
movzx eax, word [ebx + 0x10]
cmp ecx, eax
jge 0x10068e63
lea eax, [edi + ecx]
cmp eax, dword [ebx + 0x3c]
jbe 0x10068e4d
push 0x101c4d0c
push 0x11931
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.1004f030
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
push dword [ebp - 0x14]
push edi
call fcn.1014ffa0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
mov ecx, ebx
push eax
push edx
mov edx, dword [ebp - 4]
call fcn.10066270
mov edi, dword [ebp - 8]
add esp, 8
test edi, edi
jne 0x10068f8a
mov edx, dword [ebp - 4]
jmp 0x10068ea0
jns 0x10068e9e
cmp word [ebx + 0x18], 0
jbe 0x10068e9e
and byte [esi + 1], 0xfd
lea eax, [ecx + 1]
mov word [esi + 0x46], ax
movzx edx, ax
jmp 0x10068ea0
mov edx, ecx
lea eax, [ebp - 8]
mov ecx, ebx
push eax
push 0
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.10066390
xor eax, eax
add esp, 0x14
mov word [esi + 0x32], ax
cmp byte [ebx + 0xc], al
je 0x10068f87
and byte [esi + 1], 0xfd
mov ecx, esi
call fcn.100684d0
test byte [ebp + 8], 2
mov edi, eax
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x18], edi
mov byte [eax + 0xc], 0
mov byte [esi], 1
je 0x10068f8a
test edi, edi
jne 0x10068f8a
mov al, byte [esi + 0x44]
test al, al
js 0x10068f28
jle 0x10068f19
lea ebx, [esi + 0x78]
nop
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x48]
call fcn.1005b5b0
movsx eax, byte [esi + 0x44]
lea ebx, [ebx + 4]
inc edi
cmp edi, eax
jl 0x10068f00
mov edi, dword [ebp - 0x18]
mov ecx, dword [esi + 0x74]
mov ecx, dword [ecx + 0x48]
call fcn.1005b5b0
mov byte [esi + 0x44], 0xff
cmp dword [esi + 0x70], 0
mov ebx, dword [ebp - 0xc]
je 0x10068f6f
push dword [ebx + 0xc]
push dword [ebx + 8]
call fcn.1004c100
add esp, 8
mov dword [esi + 0x10], eax
test eax, eax
jne 0x10068f61
lea edi, [eax + 7]
mov byte [esi], 3
mov eax, dword [ebx + 8]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x3c], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebx + 8]
push dword [ebx]
push eax
call fcn.1014ffa0
add esp, 0xc
mov eax, dword [ebx + 8]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x3c], eax
mov eax, edi
mov byte [esi], 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret