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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
push ebx
mov ebx, dword [eax + 0xc]
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 0x24]
push esi
bswap eax
push edi
mov edi, eax
cmp edi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], ecx
jb 0x43f877
push 0x47735c
push 0xe7e1
push str.database_corruption_at_line__d_of___.10s_
mov ecx, 0xb
call fcn.0041f550
add esp, 0xc
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0x48]
call fcn.00428350
test edi, edi
jbe 0x43fae8
test eax, eax
jne 0x43fbc2
mov eax, dword [esp + 0xc]
test eax, eax
mov edx, dword [ebx + 0x38]
lea ecx, [edi - 1]
bswap ecx
mov dword [edx + 0x24], ecx
mov dword [esp + 0x18], eax
je 0x43f8ad
mov eax, dword [eax + 0x38]
mov eax, dword [eax]
jmp 0x43f8b3
mov ecx, dword [ebx + 0x38]
mov eax, dword [ecx + 0x20]
bswap eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
ja 0x43fa93
xor ecx, ecx
cmp ecx, edi
ja 0x43fa93
mov edi, dword [ebp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
mov esi, eax
call fcn.0043c530
mov esi, eax
add esp, 8
test esi, esi
jne 0x43fb83
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x38]
mov eax, dword [ecx + 4]
bswap eax
mov edi, eax
xor eax, eax
cmp edi, eax
mov dword [esp + 0x14], ecx
jne 0x43f93a
mov esi, dword [edx + 0x48]
call fcn.00428350
mov esi, eax
test esi, esi
jne 0x43fa6b
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x38]
mov ecx, dword [ebx + 0x38]
mov edx, dword [edx]
mov dword [ecx + 0x20], edx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [esp + 0xc], esi
jmp 0x43fa5a
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x24]
shr edx, 2
sub edx, 2
cmp edi, edx
ja 0x43fab9
cmp edi, eax
jbe 0x43fa5a
mov ebx, dword [ebp + 0x14]
cmp ebx, eax
mov dword [esp + 0x10], eax
jbe 0x43f9b1
mov eax, dword [ecx + 8]
bswap eax
sub eax, ebx
call fcn.00405c10
mov edx, 1
cmp edi, edx
jbe 0x43f9b1
lea esi, [ecx + 0xc]
lea esp, [esp]
mov ecx, dword [esi]
bswap ecx
sub ecx, ebx
jns 0x43f999
cmp ecx, 0x80000000
jne 0x43f997
mov ecx, SysReAllocString
jmp 0x43f999
neg ecx
cmp ecx, eax
jge 0x43f9a3
mov dword [esp + 0x10], edx
mov eax, ecx
add edx, 1
add esi, 4
cmp edx, edi
jb 0x43f980
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov eax, dword [ecx + eax*4 + 8]
bswap eax
cmp eax, dword [esp + 0x1c]
ja 0x43fadc
mov ecx, dword [esp + 0xc]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ecx + 0x48]
mov dword [ebx], eax
call fcn.00428350
mov esi, eax
test esi, esi
jne 0x43fa6b
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea eax, [edi - 1]
cmp edx, eax
jae 0x43f9f7
mov esi, dword [ecx + edi*4 + 4]
mov dword [ecx + edx*4 + 8], esi
mov edx, dword [ebp + 8]
mov esi, dword [ebx]
bswap eax
mov dword [ecx + 4], eax
mov ecx, dword [edx + 0x3c]
test ecx, ecx
je 0x43fa1e
cmp esi, dword [ecx]
ja 0x43fa17
mov eax, esi
call fcn.00405540
test eax, eax
je 0x43fa1e
mov eax, 1
jmp 0x43fa20
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ecx, ecx
test eax, eax
sete cl
push ecx
push ebx
call fcn.0043c530
mov esi, eax
add esp, 8
test esi, esi
jne 0x43fa5a
mov edx, dword [ebx]
mov esi, dword [edx + 0x48]
call fcn.00428350
mov esi, eax
test esi, esi
je 0x43fa5a
mov eax, dword [ebx]
call fcn.00438910
mov dword [ebx], 0
mov eax, dword [esp + 0x18]
call fcn.00438910
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x43fb83
mov eax, dword [eax + 0x48]
test byte [eax + 0x18], 0x40
mov edi, dword [eax + 0x10]
je 0x43fb63
mov ecx, eax
call fcn.00408cd0
jmp 0x43fb68
push 0x47735c
push 0xe819
push str.database_corruption_at_line__d_of___.10s_
mov ecx, 0xb
call fcn.0041f550
add esp, 0xc
mov esi, 0xb
jmp 0x43fb83
push 0x47735c
push 0xe836
push str.database_corruption_at_line__d_of___.10s_
mov ecx, 0xb
call fcn.0041f550
add esp, 0xc
mov esi, 0xb
jmp 0x43fa6b
push 0x47735c
push 0xe899
jmp 0x43fac3
test eax, eax
jne 0x43fbc2
mov edi, dword [ebp + 8]
xor edx, edx
mov eax, 0x40000000
div dword [edi + 0x20]
add dword [edi + 0x2c], 1
mov ecx, dword [edi + 0x2c]
add eax, 1
cmp ecx, eax
jne 0x43fb11
add ecx, 1
mov dword [edi + 0x2c], ecx
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx + 0x38]
mov ebx, dword [ebp + 0xc]
bswap eax
mov dword [edx + 0x1c], eax
mov esi, dword [edi + 0x2c]
mov eax, dword [ebp + 0x10]
push 1
push ebx
mov dword [eax], esi
call fcn.0043c530
add esp, 8
test eax, eax
jne 0x43fbc2
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x48]
call fcn.00428350
mov esi, eax
test esi, esi
je 0x43fbc0
mov eax, dword [ebx]
call fcn.00438910
mov dword [ebx], 0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00409690
cmp dword [edi + 0x78], 0
jne 0x43fb83
mov edx, dword [edi + 0xcc]
cmp dword [edx + 0xc], 0
jne 0x43fb83
push edi
call fcn.004353d0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43fbc0
mov eax, dword [eax + 0x48]
test byte [eax + 0x18], 0x40
mov edi, dword [eax + 0x10]
je 0x43fba0
mov ecx, eax
call fcn.00408cd0
jmp 0x43fba5
call fcn.00409690
cmp dword [edi + 0x78], 0
jne 0x43fbc0
mov eax, dword [edi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x43fbc0
push edi
call fcn.004353d0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret