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

Disassembly:
sub esp, 0x68
mov eax, dword [0x8bb040]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
mov ebx, edx
mov dword [esp + 0x14], ecx
push ebp
push esi
mov esi, dword [esp + 0x78]
cmp word [ebx + 0x18], 0
mov ebp, dword [ebx + 0x34]
push edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], esi
jne 0x672f14
push 0x88c2c4
push 0x12e3c
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.006575b0
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0073297b
add esp, 0x68
ret
push 0
lea eax, [esp + 0x2c]
mov ecx, ebp
push 0
push eax
lea edx, [esp + 0x30]
call fcn.00670b00
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x6730e0
mov eax, dword [ebx + 0x24]
add esi, 4
push eax
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x4c]
push ebx
call eax
mov ebx, dword [esp + 0x2c]
lea edx, [edi + 0xd]
movzx eax, ax
mov ecx, ebx
mov dword [esp + 0x20], eax
call fcn.0066c510
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ecx
xor edx, edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x38]
mov eax, dword [eax + 0x3c]
push ebx
push 1
mov dword [esp + 0x40], 1
mov dword [esp + 0x50], eax
mov dword [esp + 0x68], 2
call fcn.00672700
mov edi, eax
add esp, 0x10
mov dword [esp + 0x10], edi
test edi, edi
je 0x672fb2
test ebx, ebx
je 0x6730e0
jmp 0x6730b8
movzx eax, word [ebx + 0x12]
mov ecx, dword [ebp + 0x28]
sub ecx, eax
movzx eax, word [esp + 0x18]
sub ecx, eax
sub ecx, 2
mov dword [ebx + 0x14], ecx
cmp byte [ebp + 0x11], 0
je 0x67300e
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x24]
mov ecx, ebp
push dword [eax + 4]
push 5
call fcn.0066ad10
mov ax, word [esp + 0x24]
add esp, 0xc
cmp ax, word [ebx + 0x10]
jbe 0x67300a
lea eax, [esp + 0x10]
mov edx, ebx
push eax
push dword [esp + 0x18]
mov ecx, ebx
call fcn.0066b520
add esp, 8
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
movzx ecx, word [ebp + 0x18]
mov eax, dword [ebp + 0x40]
mov ax, word [eax + ecx*2 - 2]
mov ch, al
mov cl, ah
movzx eax, word [ebp + 0x1a]
movzx ecx, cx
and ecx, eax
add ecx, dword [ebp + 0x38]
mov dword [esp + 0x14], ecx
mov edx, ecx
lea eax, [ecx + 9]
mov ebp, eax
lea esp, [esp]
mov al, byte [ecx]
lea ecx, [edx + 1]
mov dword [esp + 0x14], ecx
test al, al
jns 0x673053
mov edx, ecx
cmp ecx, ebp
jb 0x673040
mov ebp, dword [esp + 0x1c]
lea eax, [ecx + 9]
mov dword [esp + 0x10], eax
mov edx, ecx
mov ebx, eax
mov al, byte [ecx]
lea ecx, [edx + 1]
mov byte [esi], al
inc esi
mov dword [esp + 0x14], ecx
test al, al
jns 0x673078
mov edx, ecx
cmp ecx, ebx
jb 0x673062
mov ebx, dword [esp + 0x24]
test edi, edi
jne 0x6730a3
push dword [ebp + 4]
mov eax, dword [esp + 0x30]
sub esi, eax
mov ebp, dword [esp + 0x24]
mov ecx, ebp
push 0
push esi
push eax
movzx edx, word [ebp + 0x18]
call fcn.00672150
add esp, 0x10
mov edi, eax
jmp 0x6730a7
mov ebp, dword [esp + 0x20]
movzx edx, byte [ebp + 9]
mov ecx, dword [ebp + 0x38]
mov eax, dword [esp + 0x28]
bswap eax
mov dword [edx + ecx + 8], eax
mov ecx, dword [ebx + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x6730db
call fcn.00664480
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0073297b
add esp, 0x68
ret
call fcn.00660770
mov ecx, dword [esp + 0x74]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0073297b
add esp, 0x68
ret