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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x101e3070]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x10], eax
mov edx, dword [ebp + 0xc]
mov ebx, ecx
xor ecx, ecx
mov dword [esp + 0x18], edi
mov eax, edx
mov dword [esp + 0x30], ecx
and eax, 1
mov dword [esp + 0x14], ecx
xor esi, esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
cmp edi, 1
jbe 0x10028c01
cmp byte [ebx + 0x16], cl
je 0x10028c01
cmp byte [ebx + 0x10], 1
je 0x10028bf7
test dl, 2
je 0x10028c01
mov dword [esp + 0x24], 1
jmp 0x10028c05
mov dword [esp + 0x24], ecx
cmp edi, 1
ja 0x10028c3c
test edi, edi
jne 0x10028c3c
push 0x101d8f94
push 0xbefd
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.1001dd80
add esp, 0x10
lea eax, [edi + 0xb]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x28]
test edx, edx
je 0x10028c4a
mov esi, edx
jmp 0x10028dfe
cmp dword [esp + 0x24], ecx
je 0x10028d68
mov ecx, dword [ebx + 0xd0]
test ecx, ecx
je 0x10028c81
lea eax, [esp + 0x1c]
mov edx, edi
push eax
call fcn.1002bcf0
mov esi, eax
add esp, 4
test esi, esi
jne 0x10028f62
cmp dword [esp + 0x1c], eax
jne 0x10028d68
mov eax, dword [ebx + 0x98]
mov ecx, edi
push 0
dec ecx
cdq
push ecx
push edx
push eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], ecx
call fcn.100a7510
mov ecx, dword [ebx + 0x3c]
lea edi, [esp + 0x30]
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 + 0x28], esi
test esi, esi
jne 0x10028f62
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
test eax, eax
je 0x10028d68
cmp byte [ebx + 0x10], 1
jbe 0x10028d2a
mov edx, edi
mov ecx, ebx
call fcn.10028fa0
mov dword [esp + 0x14], eax
test eax, eax
je 0x10028d26
push dword [esp + 0x30]
mov eax, dword [ebx + 0x98]
mov esi, dword [ebx + 0x3c]
push 0
push dword [esp + 0x34]
cdq
mov edi, dword [esi]
push edx
push eax
call fcn.100a7510
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [esp + 0x38]
add esp, 0x10
mov edi, dword [esp + 0x18]
jmp 0x10028d3e
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x14]
mov edx, edi
push ecx
push eax
mov ecx, ebx
call fcn.10027810
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10028d60
mov edx, dword [esp + 0x10]
mov dword [edx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x10028f62
mov ecx, dword [ebx + 0xcc]
movzx eax, byte [ecx + 0x21]
and eax, 3
push eax
push edi
push dword [ecx + 0x2c]
call dword [0x101e9a7c]
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10028dc0
mov ecx, dword [ebx + 0xcc]
lea eax, [esp + 0x14]
push eax
mov edx, edi
call fcn.10023aa0
mov esi, eax
add esp, 4
test esi, esi
jne 0x10028f62
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x10028dc0
mov edi, dword [esp + 0x10]
lea esi, [eax + 7]
mov dword [edi], eax
jmp 0x10028f66
mov ecx, dword [eax + 4]
mov edx, dword [ebx + 0xcc]
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], ecx
cmp dword [ecx], 0
jne 0x10028ded
mov ecx, dword [esp + 0x28]
mov edx, edi
push eax
call fcn.10023b40
mov ecx, eax
add esp, 4
mov dword [esp + 0x30], ecx
jmp 0x10028df4
inc dword [edx + 0xc]
inc word [ecx + 0x1a]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov dword [edx], ecx
test esi, esi
jne 0x10028f62
cmp dword [ecx + 0x10], esi
je 0x10028e27
test eax, eax
jne 0x10028e27
inc dword [ebx + 0xb8]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret
mov dword [ecx + 0x10], ebx
cmp edi, 0x7fffffff
ja 0x10028f1a
mov eax, dword [0x101e8e04]
cdq
idiv dword [ebx + 0x98]
inc eax
cmp edi, eax
je 0x10028f1a
cmp byte [ebx + 0xf], 0
mov edx, dword [esp + 0x20]
jne 0x10028eae
cmp dword [ebx + 0x18], edi
jb 0x10028eae
test edx, edx
jne 0x10028eae
mov eax, dword [ebx + 0x3c]
cmp dword [eax], edx
je 0x10028eae
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x10028e94
cmp dword [esp + 0x24], edx
jne 0x10028e94
lea ecx, [esp + 0x1c]
mov edx, edi
push ecx
mov ecx, eax
call fcn.1002bcf0
mov ecx, dword [esp + 0x34]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10028f3c
mov edx, dword [esp + 0x1c]
inc dword [ebx + 0xbc]
call fcn.10026c00
mov esi, eax
test esi, esi
je 0x10028f06
jmp 0x10028f38
cmp edi, dword [ebx + 0x9c]
jbe 0x10028ebd
mov esi, 0xd
jmp 0x10028f3c
test edx, edx
je 0x10028ef3
mov eax, dword [0x101ff278]
test eax, eax
je 0x10028ecc
call eax
cmp edi, dword [ebx + 0x1c]
ja 0x10028edb
mov ecx, dword [ebx + 0x38]
mov edx, edi
call fcn.10023340
mov edx, edi
mov ecx, ebx
call fcn.10025c80
mov eax, dword [0x101ff27c]
test eax, eax
je 0x10028eef
call eax
mov ecx, dword [esp + 0x30]
push dword [ebx + 0x98]
push 0
push dword [ecx + 4]
call fcn.10154a20
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret
push 0x101d8f94
push 0xbf56
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.1001dd80
add esp, 0x10
mov esi, 0xb
mov ecx, dword [esp + 0x30]
test byte [ecx + 0x18], 2
je 0x10028f49
mov dl, 1
call fcn.10023970
mov eax, dword [ecx + 0x1c]
push 1
dec dword [eax + 0xc]
mov eax, dword [ecx + 0x1c]
push dword [ecx]
push dword [eax + 0x2c]
call dword [0x101e9a80]
add esp, 0xc
mov edi, dword [esp + 0x10]
cmp dword [ebx + 0x78], 0
jne 0x10028f7f
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x10028f7f
mov ecx, ebx
call fcn.10026070
mov ecx, dword [esp + 0x34]
mov eax, esi
mov dword [edi], 0
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret