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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [ebp + 0xc]
push ebx
mov dword [esp + 4], edx
mov ebx, ecx
mov ecx, dword [esp + 4]
mov edx, eax
push esi
push edi
xor esi, esi
and edx, 1
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
cmp ecx, 1
jbe 0x42bc59
cmp byte [ebx + 0x16], 0
je 0x42bc59
cmp byte [ebx + 0x10], 1
je 0x42bc4f
test al, 2
je 0x42bc59
mov dword [esp + 0x24], 1
jmp 0x42bc5d
mov dword [esp + 0x24], esi
cmp ecx, 1
ja 0x42bc8b
test ecx, ecx
jne 0x42bc8b
push 0x4d5e84
push 0xbd05
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00421700
add esp, 0x10
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x42bc99
mov esi, eax
jmp 0x42bf90
cmp dword [esp + 0x24], esi
je 0x42be88
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x42bcd6
lea edx, [esp + 0x18]
push edx
mov edx, ecx
mov ecx, eax
call fcn.0042ef50
mov esi, eax
add esp, 4
test esi, esi
jne 0x42c0e0
cmp dword [esp + 0x18], edi
jne 0x42be88
mov ecx, dword [esp + 0xc]
mov eax, dword [ebx + 0x98]
lea edx, [esp + 0x10]
mov esi, dword [ebx + 0x3c]
dec ecx
push edx
push eax
push 0
cdq
push ecx
push edx
mov dword [esp + 0x24], edi
mov edi, dword [esi]
push eax
mov dword [esp + 0x40], ecx
call fcn.004befc0
push edx
push eax
mov eax, dword [edi + 0x44]
push esi
call eax
mov esi, eax
add esp, 0x14
mov dword [esp + 0x2c], esi
test esi, esi
jne 0x42c0e0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
test eax, eax
je 0x42be88
cmp byte [ebx + 0x10], 1
mov edi, dword [esp + 0xc]
jbe 0x42bdb2
mov eax, dword [ebx + 0xcc]
push esi
push edi
push dword [eax + 0x28]
call dword [0x4dab6c]
mov edx, eax
add esp, 0xc
test edx, edx
je 0x42bdaa
mov eax, dword [edx + 4]
mov ecx, dword [ebx + 0xcc]
mov dword [esp + 0x14], eax
cmp dword [eax], esi
jne 0x42bd6e
push edx
mov edx, edi
call fcn.00426fe0
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x42bd75
inc dword [ecx + 0xc]
inc word [eax + 0x1a]
test eax, eax
je 0x42bdaa
push dword [esp + 0x10]
mov eax, dword [ebx + 0x98]
mov esi, dword [ebx + 0x3c]
push 0
push dword [esp + 0x30]
cdq
mov edi, dword [esi]
push edx
push eax
call fcn.004befc0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [esp + 0x3c]
add esp, 0x10
jmp 0x42be6a
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov esi, dword [ebx + 0x88]
mov dword [esp + 0x14], esi
test esi, esi
je 0x42bde7
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x88], eax
mov dword [esi + 0xc], 0
movzx eax, word [ebx + 0x8c]
push eax
push 0
push dword [esi + 8]
call fcn.004a3c90
add esp, 0xc
jmp 0x42be5b
movzx eax, word [ebx + 0x8c]
add eax, 0x28
push eax
mov dword [esp + 0x30], eax
call fcn.0041f140
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
je 0x42be1b
push dword [esp + 0x2c]
push 0
push esi
call fcn.004a3c90
add esp, 0xc
test esi, esi
jne 0x42be4b
mov eax, dword [esp + 0x20]
mov esi, dword [ebx + 0x3c]
push eax
mov eax, dword [ebx + 0x98]
push 0
push dword [esp + 0x30]
mov edi, dword [esi]
cdq
push edx
push eax
call fcn.004befc0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
mov esi, 7
jmp 0x42be6a
lea eax, [esi + 0x28]
mov dword [esi + 0x18], 0x10040
mov dword [esi + 8], eax
mov dword [esi + 0x10], ebx
mov eax, dword [esp + 0x20]
mov dword [esi + 0x14], edi
mov dword [esi + 4], eax
inc dword [ebx + 0x78]
xor esi, esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x42be80
mov eax, dword [ebp + 8]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x42c0e0
mov ecx, dword [ebx + 0xcc]
mov edi, dword [esp + 0xc]
movzx eax, byte [ecx + 0x1d]
and eax, 3
push eax
push edi
push dword [ecx + 0x28]
call dword [0x4dab6c]
add esp, 0xc
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x42bf5d
mov eax, dword [ebx + 0xcc]
mov dword [esp + 0x28], eax
cmp byte [eax + 0x1d], 2
je 0x42bf4a
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x42bee4
nop
cmp word [ecx + 0x1a], 0
jne 0x42bedd
test byte [ecx + 0x18], 8
je 0x42bee4
mov ecx, dword [ecx + 0x24]
test ecx, ecx
jne 0x42bed0
mov dword [eax + 8], ecx
test ecx, ecx
jne 0x42bf02
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x42bf23
cmp word [ecx + 0x1a], 0
je 0x42bf02
mov ecx, dword [ecx + 0x24]
test ecx, ecx
jne 0x42bef2
jmp 0x42bf23
push ecx
push dword [eax + 0x24]
mov eax, dword [eax + 0x20]
call eax
mov esi, eax
add esp, 8
test esi, esi
je 0x42bf1f
cmp esi, 5
je 0x42bf1f
mov eax, dword [esp + 0x2c]
jmp 0x42bf3e
mov eax, dword [esp + 0x28]
push 2
push edi
push dword [eax + 0x28]
call dword [0x4dab6c]
xor esi, esi
add esp, 0xc
test eax, eax
mov ecx, 7
cmove esi, ecx
test esi, esi
jne 0x42c0e0
test eax, eax
jne 0x42bf5d
mov eax, dword [ebp + 8]
mov esi, 7
mov dword [eax], 0
jmp 0x42c0e0
mov edi, dword [eax + 4]
mov ecx, dword [ebx + 0xcc]
cmp dword [edi], 0
jne 0x42bf7c
mov edx, dword [esp + 0xc]
push eax
call fcn.00426fe0
add esp, 4
mov edi, eax
jmp 0x42bf83
inc dword [ecx + 0xc]
inc word [edi + 0x1a]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov dword [eax], edi
test esi, esi
jne 0x42c0e0
cmp dword [edi + 0x10], esi
je 0x42bfb0
test edx, edx
jne 0x42bfb0
inc dword [ebx + 0xb8]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x10], ebx
cmp ecx, 0x7fffffff
ja 0x42c09a
mov eax, dword [0x4db804]
cdq
idiv dword [ebx + 0x98]
inc eax
cmp ecx, eax
je 0x42c09a
cmp byte [ebx + 0xf], 0
mov edx, dword [esp + 0x1c]
jne 0x42c035
cmp dword [ebx + 0x18], ecx
jb 0x42c035
test edx, edx
jne 0x42c035
mov eax, dword [ebx + 0x3c]
cmp dword [eax], edx
je 0x42c035
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x42c019
cmp dword [esp + 0x24], edx
jne 0x42c019
lea edx, [esp + 0x18]
push edx
mov edx, ecx
mov ecx, eax
call fcn.0042ef50
mov esi, eax
add esp, 4
test esi, esi
jne 0x42c0b8
mov edx, dword [esp + 0x18]
mov ecx, edi
inc dword [ebx + 0xbc]
call fcn.00429d70
mov esi, eax
test esi, esi
je 0x42c091
jmp 0x42c0b8
cmp ecx, dword [ebx + 0x9c]
jbe 0x42c044
mov esi, 0xd
jmp 0x42c0b8
test edx, edx
je 0x42c07e
mov eax, dword [0x4dda30]
test eax, eax
je 0x42c057
call eax
mov ecx, dword [esp + 0xc]
cmp ecx, dword [ebx + 0x1c]
ja 0x42c06a
mov edx, ecx
mov ecx, dword [ebx + 0x38]
call fcn.00426980
mov ecx, dword [esp + 0xc]
mov edx, ecx
mov ecx, ebx
call fcn.00428d80
mov eax, dword [0x4dda34]
test eax, eax
je 0x42c07e
call eax
push dword [ebx + 0x98]
push 0
push dword [edi + 4]
call fcn.004a3c90
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4d5e84
push 0xbd5e
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00421700
add esp, 0x10
mov esi, 0xb
test byte [edi + 0x18], 2
je 0x42c0c7
mov dl, 1
mov ecx, edi
call fcn.00426eb0
mov eax, dword [edi + 0x1c]
push 1
dec dword [eax + 0xc]
mov eax, dword [edi + 0x1c]
push dword [edi]
push dword [eax + 0x28]
call dword [0x4dab70]
add esp, 0xc
mov ecx, ebx
call fcn.0042bb90
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], 0
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret