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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x10102008]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
push edi
mov edi, edx
mov dword [esp + 0x18], esi
mov ecx, eax
mov dword [esp + 0x10], edi
and ecx, 1
mov dword [esp + 0x28], ecx
cmp edi, 1
je 0x10012034
cmp byte [ebx + 0x74], 0
je 0x10012034
cmp byte [ebx + 0x10], 1
je 0x1001202d
test al, 2
je 0x10012034
mov ecx, 1
jmp 0x10012036
xor ecx, ecx
mov dword [esp + 0x2c], ecx
test edi, edi
jne 0x1001206c
push 0x100f7b6c
push 0xb450
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.100071a0
add esp, 0x10
lea eax, [edi + 0xb]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x1001207a
mov esi, eax
jmp 0x100124f8
test ecx, ecx
je 0x1001224e
mov ecx, dword [ebx + 0xd0]
test ecx, ecx
je 0x100120ad
lea eax, [esp + 0x18]
push eax
call fcn.10015690
mov esi, eax
add esp, 4
test esi, esi
jne 0x100124f8
cmp dword [esp + 0x18], eax
jne 0x1001224e
mov eax, dword [ebx + 0x98]
lea edx, [esp + 0x30]
mov esi, dword [ebx + 0x3c]
lea ecx, [edi - 1]
push edx
push eax
push 0
cdq
push ecx
push edx
mov dword [esp + 0x44], 0
mov edi, dword [esi]
push eax
mov dword [esp + 0x2c], ecx
call fcn.100e1450
push edx
push eax
mov eax, dword [edi + 0x44]
push esi
call eax
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x100124f8
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], eax
test eax, eax
je 0x1001224e
cmp byte [ebx + 0x10], 1
jbe 0x10012166
mov edx, edi
mov ecx, ebx
call fcn.10012520
mov dword [esp + 0xc], eax
test eax, eax
je 0x1001215e
push dword [esp + 0x30]
mov eax, dword [ebx + 0x98]
mov esi, dword [ebx + 0x3c]
push 0
push dword [esp + 0x1c]
cdq
mov edi, dword [esi]
push edx
push eax
call fcn.100e1450
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov ecx, dword [esp + 0x2c]
add esp, 0x10
mov eax, dword [esp + 0xc]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov esi, dword [ebx + 0x88]
mov dword [esp + 0xc], esi
test esi, esi
je 0x10012198
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x88], eax
mov dword [esi + 0xc], 0
movzx eax, word [ebx + 0x8c]
push eax
push 0
push dword [esi + 8]
call fcn.100c1e30
jmp 0x100121da
movzx eax, word [ebx + 0x8c]
cdq
add eax, 0x28
mov dword [esp + 0x24], eax
adc edx, 0
push edx
push eax
call fcn.10004a30
mov esi, eax
mov dword [esp + 0x14], eax
add esp, 8
test esi, esi
je 0x100121ee
push dword [esp + 0x24]
push 0
push esi
call fcn.100c1e30
lea eax, [esi + 0x28]
mov dword [esi + 0x18], 0x10040
mov dword [esi + 8], eax
mov dword [esi + 0x10], ebx
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [esi + 0x14], edi
mov dword [esi + 4], eax
inc dword [ebx + 0x78]
xor esi, esi
jmp 0x10012224
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [ebx + 0x98]
push 0
push dword [esp + 0x1c]
cdq
mov dword [esp + 0x18], esi
mov esi, dword [ebx + 0x3c]
push edx
push eax
mov edi, dword [esi]
call fcn.100e1450
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov edi, dword [esp + 0x20]
add esp, 0x10
mov esi, 7
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10012246
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x100124f8
mov ecx, dword [ebx + 0xcc]
movzx eax, byte [ecx + 0x1d]
and eax, 3
push eax
push edi
push dword [ecx + 0x28]
call dword [0x10102c6c]
add esp, 0xc
test eax, eax
jne 0x10012304
mov ecx, dword [ebx + 0xcc]
mov dword [esp + 0x14], ecx
cmp byte [ecx + 0x1d], 2
je 0x1001230e
mov eax, dword [ecx + 8]
test eax, eax
je 0x100122a4
nop dword [eax]
cmp word [eax + 0x1a], 0
jne 0x1001229d
test byte [eax + 0x18], 4
je 0x100122a4
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x10012290
mov dword [ecx + 8], eax
test eax, eax
jne 0x100122c2
mov eax, dword [ecx + 4]
test eax, eax
je 0x100122e1
cmp word [eax + 0x1a], 0
je 0x100122c2
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x100122b2
jmp 0x100122e1
push eax
push dword [ecx + 0x24]
mov eax, dword [ecx + 0x20]
call eax
mov esi, eax
add esp, 8
test esi, esi
je 0x100122dd
cmp esi, 5
jne 0x100124f8
mov ecx, dword [esp + 0x14]
push 2
push edi
push dword [ecx + 0x28]
call dword [0x10102c6c]
xor esi, esi
add esp, 0xc
test eax, eax
mov ecx, 7
cmove esi, ecx
test esi, esi
jne 0x100124f8
mov ecx, dword [ebx + 0xcc]
test eax, eax
jne 0x10012322
mov eax, dword [esp + 0x1c]
mov esi, 7
mov dword [eax], 0
jmp 0x100124f8
mov edx, dword [eax + 4]
cmp dword [edx], 0
jne 0x10012339
push eax
mov edx, edi
call fcn.1000ced0
add esp, 4
mov edx, eax
jmp 0x10012366
movzx eax, word [edx + 0x1a]
xor edi, edi
cmp di, ax
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x10]
jne 0x10012355
inc dword [ecx + 0xc]
movzx eax, word [edx + 0x1a]
jmp 0x10012359
mov eax, dword [esp + 0x24]
inc eax
mov word [edx + 0x1a], ax
cmp edi, 1
jne 0x10012366
mov dword [ecx + 0x2c], edx
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
test edx, edx
jne 0x10012378
lea esi, [edx + 7]
jmp 0x100124f8
test esi, esi
jne 0x100124f8
mov esi, dword [esp + 0x28]
mov ecx, edx
mov dword [esp + 0xc], ecx
cmp dword [ecx + 0x10], 0
je 0x100123ae
test esi, esi
jne 0x100123ae
inc dword [ebx + 0xb8]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
mov dword [ecx + 0x10], ebx
cmp edi, 0x7fffffff
ja 0x100124a0
mov eax, dword [0x10103094]
cdq
idiv dword [ebx + 0x98]
inc eax
cmp edi, eax
je 0x100124a0
cmp byte [ebx + 0xf], 0
jne 0x10012431
cmp dword [ebx + 0x18], edi
jb 0x10012431
test esi, esi
jne 0x10012431
mov eax, dword [ebx + 0x3c]
cmp dword [eax], esi
je 0x10012431
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x10012417
cmp dword [esp + 0x2c], esi
jne 0x10012417
lea ecx, [esp + 0x18]
mov edx, edi
push ecx
mov ecx, eax
call fcn.10015690
mov ecx, dword [esp + 0x10]
mov esi, eax
add esp, 4
test esi, esi
jne 0x100124c2
mov edx, dword [esp + 0x18]
inc dword [ebx + 0xbc]
call fcn.1000ff10
mov esi, eax
test esi, esi
je 0x1001248c
jmp 0x100124be
cmp edi, dword [ebx + 0x9c]
jbe 0x10012443
mov esi, 0xd
jmp 0x100124c2
test esi, esi
je 0x10012479
mov eax, dword [0x101078a0]
test eax, eax
je 0x10012452
call eax
cmp edi, dword [ebx + 0x1c]
ja 0x10012461
mov ecx, dword [ebx + 0x38]
mov edx, edi
call fcn.1000c7d0
mov edx, edi
mov ecx, ebx
call fcn.1000ee70
mov eax, dword [0x101078a4]
test eax, eax
je 0x10012475
call eax
mov ecx, dword [esp + 0xc]
push dword [ebx + 0x98]
push 0
push dword [ecx + 4]
call fcn.100c1e30
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
push 0x100f7b6c
push 0xb49f
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.100071a0
add esp, 0x10
mov esi, 0xb
mov ecx, dword [esp + 0xc]
test byte [ecx + 0x18], 2
je 0x100124cf
mov dl, 1
call fcn.1000cd90
mov eax, dword [ecx + 0x1c]
dec dword [eax + 0xc]
cmp dword [ecx + 0x14], 1
jne 0x100124e5
mov eax, dword [ecx + 0x1c]
mov dword [eax + 0x2c], 0
mov eax, dword [ecx + 0x1c]
push 1
push dword [ecx]
push dword [eax + 0x28]
call dword [0x10102c70]
add esp, 0xc
mov ecx, ebx
call fcn.10011f60
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword [ecx], 0
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret