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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0xc]
mov dword [ebp - 0xc], ebx
cmp eax, 2
jb 0x100dbc81
cmp eax, dword [edi + 0x30]
ja 0x100dbc81
test esi, esi
je 0x100db97b
mov eax, dword [esi + 0x48]
inc word [eax + 0x1e]
mov eax, dword [eax + 0xc]
inc dword [eax + 0xc]
jmp 0x100db987
push eax
push edi
call fcn.100ce860
add esp, 8
mov esi, eax
push dword [ebx + 0x48]
mov dword [ebp + 8], esi
call fcn.101234b0
mov ebx, eax
add esp, 4
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x100dbbbc
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x38]
mov eax, dword [ecx + 0x24]
bswap eax
mov dword [ebp - 0x14], eax
inc eax
bswap eax
mov dword [ecx + 0x24], eax
test byte [edi + 0x18], 4
je 0x100dba08
test esi, esi
jne 0x100db9de
push ebx
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push edi
call fcn.100cddc0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x100dbc0b
mov esi, dword [ebp + 8]
push dword [esi + 0x48]
call fcn.101234b0
mov ebx, eax
add esp, 4
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x100dbbbc
mov eax, dword [esi + 0x34]
push dword [eax + 0x24]
push ebx
push dword [esi + 0x38]
call fcn.1018d4b0
add esp, 0xc
cmp byte [edi + 0x11], 0
je 0x100dba2d
lea eax, [ebp - 8]
push eax
push 0
push 2
push dword [ebp + 0x10]
push edi
call fcn.100f9030
mov ebx, dword [ebp - 8]
add esp, 0x14
test ebx, ebx
jne 0x100dbbbc
cmp dword [ebp - 0x14], 0
je 0x100dbb6b
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push 0
push ecx
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x20]
bswap eax
push eax
push edi
mov dword [ebp - 0x10], eax
call fcn.100cddc0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x100dbbbc
mov ecx, dword [ebp - 4]
mov ebx, dword [edi + 0x28]
shr ebx, 2
mov eax, dword [ecx + 0x38]
mov edx, dword [eax + 4]
lea eax, [ebx - 2]
bswap edx
mov dword [ebp - 0x14], edx
cmp edx, eax
jbe 0x100dbaa2
push 0x101efecc
push 0x10f2e
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100c12d0
add esp, 0x14
mov ebx, 0xb
jmp 0x100dbbbc
lea eax, [ebx - 8]
cmp edx, eax
jae 0x100dbb6b
push dword [ecx + 0x48]
call fcn.101234b0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x100dbbbc
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x14]
mov eax, dword [edx + 0x38]
lea ecx, [ebx + 1]
bswap ecx
mov dword [eax + 4], ecx
mov eax, dword [edx + 0x38]
mov ecx, dword [ebp + 0x10]
bswap ecx
mov dword [eax + ebx*4 + 8], ecx
test esi, esi
je 0x100dbb0f
test byte [edi + 0x18], 4
jne 0x100dbb0f
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx + 0x14]
cmp byte [edx + 0xc], 0
jne 0x100dbb0f
movzx eax, word [ecx + 0x1c]
test al, 2
je 0x100dbb0f
cmp dword [edx + 0x60], 0
jne 0x100dbb0f
and eax, 0xfffb
or eax, 0x10
mov word [ecx + 0x1c], ax
mov eax, dword [edi + 0x40]
xor ebx, ebx
test eax, eax
jne 0x100dbb56
mov eax, dword [edi + 0x30]
push ebx
push 0x200
mov dword [ebp - 0x14], eax
call fcn.10120e70
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x100dbb4a
push 0x200
push ebx
push eax
call fcn.1018d4b0
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [edi + 0x40], eax
test eax, eax
jne 0x100dbb56
lea ebx, [eax + 7]
jmp 0x100dbbbc
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax]
ja 0x100dbbbc
push ecx
push eax
call fcn.10105880
add esp, 8
mov ebx, eax
jmp 0x100dbbbc
test esi, esi
jne 0x100dbb8d
push esi
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push edi
call fcn.100cddc0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x100dbc0b
mov esi, dword [ebp + 8]
push dword [esi + 0x48]
call fcn.101234b0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x100dbbbc
mov eax, dword [esi + 0x38]
mov ecx, dword [ebp - 0x10]
bswap ecx
mov dword [eax], ecx
mov eax, dword [esi + 0x38]
mov ecx, dword [ebp + 0x10]
bswap ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
mov dword [eax + 0x20], ecx
test esi, esi
je 0x100dbc19
mov byte [esi], 0
mov edx, dword [esi + 0x48]
test byte [edx + 0x1c], 0x20
je 0x100dbc10
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.1017aa20
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x100dbc19
mov esi, dword [ebp + 8]
jmp 0x100dbbbc
push edx
call fcn.101241e0
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x100dbc78
mov edx, dword [eax + 0x48]
test byte [edx + 0x1c], 0x20
je 0x100dbc6f
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.1017aa20
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edx
call fcn.101241e0
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x101efecc
push 0x10ef8
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100c12d0
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret