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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], ebx
xor ecx, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], 0
mov esi, edx
mov dword [esp + 0x1c], ecx
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], eax
cmp ebx, 2
jae 0x42b675
push 0x4d6ad4
push 0x100a4
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00412760
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x42b688
mov eax, dword [esi + 0x48]
inc word [eax + 0x1e]
mov eax, dword [eax + 0xc]
inc dword [eax + 0xc]
jmp 0x42b693
mov edx, ebx
mov ecx, edi
call fcn.004261c0
mov esi, eax
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x1c], 4
mov eax, dword [ecx + 0x14]
je 0x42b6c2
mov edx, dword [eax + 0x18]
cmp edx, dword [ecx + 0x18]
jb 0x42b6c2
cmp dword [eax + 0x60], 0
je 0x42b6b8
call fcn.0041ec00
jmp 0x42b6ea
mov dword [esp + 0x20], 0
jmp 0x42b6fc
mov ebx, dword [eax + 0x28]
test ebx, ebx
jne 0x42baba
mov edx, dword [ecx + 0x14]
mov eax, dword [eax + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x42b6e5
call fcn.00420780
jmp 0x42b6ea
call fcn.004206b0
mov ebx, eax
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x42baba
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx + 0x24]
bswap eax
mov dword [esp + 0x24], eax
inc eax
bswap eax
mov dword [ecx + 0x24], eax
test byte [edi + 0x16], 4
je 0x42b7d7
test esi, esi
jne 0x42b762
mov eax, dword [edi]
lea ecx, [esp + 0x28]
push esi
push ecx
push ebx
push eax
mov eax, dword [eax + 0xc8]
call eax
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x42bb7f
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
mov esi, dword [ecx + 8]
cmp ebx, dword [esi + 4]
je 0x42b762
mov eax, dword [ecx + 4]
mov dword [esi + 0x38], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x34], edi
mov dword [esi + 4], ebx
mov byte [esi + 9], 0
mov ecx, dword [esi + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x42b78d
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x42b78d
cmp dword [edx + 0x60], 0
je 0x42b783
call fcn.0041ec00
jmp 0x42b7b2
mov dword [esp + 0x20], 0
jmp 0x42b7c4
mov ebx, dword [edx + 0x28]
test ebx, ebx
jne 0x42baba
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x42b7ad
call fcn.00420780
jmp 0x42b7b2
call fcn.004206b0
mov ebx, eax
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x42baba
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 0x34]
push dword [eax + 0x20]
push 0
push dword [esi + 0x38]
call fcn.004ad600
add esp, 0xc
cmp byte [edi + 0x11], 0
je 0x42b7fe
lea eax, [esp + 0x20]
mov edx, ebx
push eax
push 0
push 2
mov ecx, edi
call fcn.00424db0
mov ebx, dword [esp + 0x2c]
add esp, 0xc
test ebx, ebx
jne 0x42baba
cmp dword [esp + 0x24], 0
je 0x42b9f5
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x24]
push 0
push edx
mov eax, dword [eax + 0x38]
mov ecx, dword [eax + 0x20]
mov eax, dword [edi]
bswap ecx
push ecx
push eax
mov eax, dword [eax + 0xc8]
mov dword [esp + 0x2c], ecx
call eax
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x42baba
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edi, dword [edx + 8]
cmp ecx, dword [edi + 4]
je 0x42b86b
mov eax, dword [edx + 4]
cmp ecx, 1
mov dword [edi + 0x38], eax
setne al
mov dword [edi + 0x48], edx
mov edx, dword [esp + 0x14]
dec al
and al, 0x64
mov dword [edi + 0x34], edx
mov dword [edi + 4], ecx
mov byte [edi + 9], al
jmp 0x42b86f
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x38]
mov ebx, dword [edx + 0x24]
shr ebx, 2
mov ecx, dword [eax + 4]
bswap ecx
lea eax, [ebx - 2]
mov dword [esp + 0x20], ecx
cmp ecx, eax
jbe 0x42b8b4
push 0x4d6ad4
push 0x100d9
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00412760
add esp, 0x14
mov dword [esp + 0xc], edi
mov ebx, 0xb
jmp 0x42babc
lea eax, [ebx - 8]
mov dword [esp + 0xc], edi
cmp ecx, eax
jae 0x42b9f1
mov ecx, dword [edi + 0x48]
test byte [ecx + 0x1c], 4
mov ebx, dword [ecx + 0x14]
je 0x42b8e4
mov eax, dword [ebx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x42b8e4
cmp dword [ebx + 0x60], 0
je 0x42b923
call fcn.0041ec00
jmp 0x42b911
mov ebx, dword [ebx + 0x28]
test ebx, ebx
je 0x42b8f4
mov dword [esp + 0xc], edi
jmp 0x42babc
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x42b90c
call fcn.00420780
jmp 0x42b911
call fcn.004206b0
mov ebx, eax
mov dword [esp + 0xc], edi
test ebx, ebx
jne 0x42babc
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov eax, dword [edi + 0x38]
lea ecx, [ebx + 1]
bswap ecx
mov dword [eax + 4], ecx
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0x10]
bswap ecx
mov dword [eax + ebx*4 + 8], ecx
test esi, esi
je 0x42b96f
test byte [edx + 0x16], 4
jne 0x42b96f
mov ecx, dword [esi + 0x48]
mov ebx, dword [ecx + 0x14]
cmp byte [ebx + 0xc], 0
jne 0x42b96f
movzx eax, word [ecx + 0x1c]
test al, 2
je 0x42b96f
cmp dword [ebx + 0x60], 0
jne 0x42b96f
and eax, 0xfffb
or eax, 0x10
mov word [ecx + 0x1c], ax
mov ecx, dword [edx + 0x3c]
xor ebx, ebx
mov dword [esp + 0xc], edi
test ecx, ecx
jne 0x42b9c2
mov eax, dword [edx + 0x2c]
push ecx
push 0x200
mov dword [esp + 0x20], eax
call fcn.0040fd60
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x42b9dc
push 0x1fc
lea eax, [ecx + 4]
push ebx
push eax
call fcn.004ad600
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], edi
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0x3c], ecx
mov eax, dword [esp + 0x10]
cmp eax, dword [ecx]
ja 0x42babc
mov edx, eax
call fcn.00419bb0
mov ebx, eax
jmp 0x42babc
mov eax, dword [esp + 0x14]
mov ebx, 7
mov dword [esp + 0xc], edi
mov dword [eax + 0x3c], ecx
jmp 0x42babc
mov edi, dword [esp + 0x14]
test esi, esi
jne 0x42ba3d
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push esi
push ecx
push dword [esp + 0x18]
push eax
mov eax, dword [eax + 0xc8]
call eax
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x42bb16
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov esi, dword [edx + 8]
cmp ecx, dword [esi + 4]
je 0x42ba3d
mov eax, dword [edx + 4]
mov dword [esi + 0x38], eax
mov dword [esi + 0x48], edx
mov dword [esi + 0x34], edi
mov dword [esi + 4], ecx
mov byte [esi + 9], bl
mov ecx, dword [esi + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x42ba62
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x42ba62
cmp dword [edx + 0x60], 0
je 0x42ba5e
call fcn.0041ec00
jmp 0x42ba89
xor ebx, ebx
jmp 0x42ba8f
mov ebx, dword [edx + 0x28]
test ebx, ebx
je 0x42ba6f
mov edi, dword [esp + 0xc]
jmp 0x42babc
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x42ba84
call fcn.00420780
jmp 0x42ba89
call fcn.004206b0
mov ebx, eax
test ebx, ebx
jne 0x42ba69
mov eax, dword [esi + 0x38]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0xc]
bswap ecx
mov dword [eax], ecx
mov eax, dword [esi + 0x38]
mov ecx, dword [esp + 0x10]
bswap ecx
mov dword [eax + 4], 0
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x38]
mov dword [eax + 0x20], ecx
jmp 0x42babc
xor edi, edi
test esi, esi
je 0x42bb16
mov edx, dword [esi + 0x48]
mov byte [esi], 0
test byte [edx + 0x1c], 0x20
je 0x42bb0b
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
add esp, 0x10
jmp 0x42bb16
mov ecx, edx
call fcn.0041a3d0
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42bb7f
mov edx, dword [eax + 0x48]
test byte [edx + 0x1c], 0x20
je 0x42bb78
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
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
mov ecx, edx
call fcn.0041a3d0
mov ecx, dword [esp + 0x2c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret