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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [esp + 0x14], eax
push esi
push edi
mov esi, edx
mov dword [esp + 0x10], ebx
mov eax, dword [ebx + 0x74]
xor edi, edi
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x20], eax
call fcn.00429450
mov eax, dword [ebx + 0x20]
mov ecx, eax
movzx edx, word [ebx + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
sub ecx, dword [eax + 0x38]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x24]
sub eax, edx
cmp ecx, eax
jbe 0x42979f
push 0x4d6ad4
push 0xfb0d
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00412760
add esp, 0x14
lea eax, [edi + 0xb]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov dword [esp + 0x18], ebx
cmp esi, edx
jae 0x429803
lea eax, [esi + ebx]
mov ecx, ebx
cmp eax, edx
jbe 0x4297bb
mov ecx, edx
sub ecx, esi
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
push dword [eax + 0x48]
push dword [ebp + 0x10]
push ecx
mov ecx, dword [esp + 0x20]
lea ecx, [esi + ecx]
call fcn.00429690
mov edi, eax
add esp, 0xc
mov eax, dword [esp + 0x18]
xor esi, esi
add dword [esp + 0x1c], eax
sub ebx, eax
mov dword [esp + 0x18], ebx
test edi, edi
je 0x429805
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
sub esi, edx
test ebx, ebx
je 0x4297ef
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ecx, dword [eax + 0x24]
mov eax, dword [esp + 0x10]
add ecx, 0xfffffffc
mov dword [esp + 0x28], ecx
test byte [eax + 1], 4
movzx edx, word [eax + 0x28]
mov ebx, dword [edx + ebx]
bswap ebx
mov dword [esp + 0x14], ebx
jne 0x4298f3
mov eax, dword [eax + 0x24]
sub eax, edx
xor edx, edx
dec eax
add eax, ecx
div ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc], eax
cmp eax, dword [edx + 4]
jle 0x429893
lea ecx, [eax*8]
push 0
push ecx
mov ecx, dword [edx + 0x14]
call fcn.00410120
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x42987f
lea eax, [ecx + 7]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
add eax, eax
mov dword [edx + 4], eax
mov eax, dword [esp + 0xc]
mov dword [edx + 0x14], ecx
shl eax, 2
lea ecx, [edx + 0x14]
push eax
push 0
push dword [ecx]
mov dword [esp + 0x18], ecx
call fcn.004ad600
mov eax, dword [esp + 0x1c]
add esp, 0xc
or byte [eax + 1], 4
mov eax, dword [esp + 0xc]
xor edx, edx
test ebx, ebx
je 0x429a5d
shl edx, 2
mov dword [esp + 0x24], edx
mov eax, dword [eax]
mov ecx, dword [esp + 0x28]
mov dword [edx + eax], ebx
cmp esi, ecx
jb 0x42994d
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [edx + eax + 4]
test eax, eax
je 0x429923
mov ebx, eax
sub esi, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ebx
jmp 0x429a36
xor edx, edx
mov eax, esi
div ecx
mov dword [esp + 0x24], edx
mov edx, eax
mov eax, dword [esp + 0x10]
add eax, 0x14
mov dword [esp + 0xc], eax
mov ecx, dword [eax]
mov ecx, dword [ecx + edx*4]
test ecx, ecx
je 0x4298b6
mov esi, dword [esp + 0x24]
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], eax
jmp 0x4298b8
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
push 0
mov edx, ebx
call fcn.004294c0
mov ecx, dword [esp + 0x30]
add esp, 8
mov ebx, dword [esp + 0x14]
sub esi, ecx
mov ecx, dword [esp + 0x18]
mov edi, eax
jmp 0x429a36
mov eax, dword [esp + 0x18]
mov edi, eax
mov dword [esp + 0x2c], eax
add eax, esi
cmp eax, ecx
jbe 0x429965
mov edi, ecx
sub edi, esi
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x20]
mov edx, 2
mov ecx, dword [eax]
xor eax, eax
cmp dword [ebp + 0x10], eax
cmove eax, edx
push eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [ecx + 0xc8]
push ebx
push ecx
call eax
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x429a1e
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
push eax
push dword [ebp + 0x10]
mov ecx, dword [eax + 4]
push edi
mov ebx, dword [ecx]
add ecx, 4
bswap ebx
add ecx, esi
mov dword [esp + 0x20], ebx
call fcn.00429690
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x10], eax
test edx, edx
je 0x429a1c
test byte [edx + 0x1c], 0x20
je 0x429a11
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.004c2a20
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov edi, dword [esp + 0x3c]
add esp, 0x10
jmp 0x429a18
mov ecx, edx
call fcn.0041a3d0
mov eax, dword [esp + 0x10]
xor esi, esi
mov ecx, dword [esp + 0x18]
sub ecx, edi
mov dword [esp + 0x18], ecx
je 0x4297f1
add dword [esp + 0x1c], edi
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x4297ef
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0xc]
add edx, 4
mov dword [esp + 0x24], edx
test ebx, ebx
jne 0x4298c7
test ecx, ecx
je 0x4297ef
push 0x4d6ad4
push 0xfba1
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00412760
mov ecx, dword [esp + 0x48]
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret