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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x4d8c08]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov eax, dword [ebx + 0x34]
xor edi, edi
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x14], 0
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xe8], eax
test ecx, ecx
jne 0x425e12
pop edi
lea eax, [ecx + 7]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a7bb8
mov esp, ebp
pop ebp
ret
movzx edx, word [ebx + 0x18]
movzx ecx, byte [ebx + 0xc]
push esi
lea esi, [ecx + edx]
cmp esi, 2
jge 0x425e2b
mov dword [ebp - 0x108], edi
jmp 0x425e5f
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x425e3a
mov dword [ebp - 0x108], edi
jmp 0x425e55
cmp eax, esi
jne 0x425e4e
mov eax, dword [ebp + 0x18]
add esi, 0xfffffffe
add esi, eax
mov dword [ebp - 0x108], esi
jmp 0x425e58
dec eax
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x18]
mov esi, 2
sub esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x108]
sub eax, ecx
lea ecx, [eax + esi]
cmp ecx, edx
jne 0x425e80
movzx ecx, byte [ebx + 9]
add ecx, 8
jmp 0x425e94
mov eax, dword [ebx + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [ebx + 0x1a]
movzx ecx, cx
and ecx, eax
add ecx, dword [ebx + 0x38]
mov dword [ebp - 0x110], ecx
mov ebx, dword [ecx]
bswap ebx
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0x10c], ebx
lea ecx, [ecx]
test edi, edi
jne 0x4273bf
mov eax, dword [ebp - 0xe8]
cmp ebx, dword [eax + 0x30]
jbe 0x425eeb
push 0x4cb7c4
push 0x1084a
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422760
add esp, 0x14
mov edi, 0xb
jmp 0x425f81
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0xe0]
push ecx
push ebx
push eax
mov eax, dword [eax + 0xcc]
call eax
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xc8], edi
test edi, edi
jne 0x425f87
mov edx, dword [ebp - 0xe0]
mov eax, dword [edx + 8]
mov dword [ebp + esi*4 - 0x120], eax
cmp byte [eax], 0
jne 0x425f7f
mov ecx, dword [edx + 8]
cmp ebx, dword [ecx + 4]
je 0x425f4e
mov eax, dword [edx + 4]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0xe8]
cmp ebx, 1
mov dword [ecx + 0x34], eax
setne al
dec al
and al, 0x64
mov dword [ecx + 0x48], edx
mov dword [ecx + 4], ebx
mov byte [ecx + 9], al
push dword [ebp + esi*4 - 0x120]
call fcn.004286b0
mov edi, eax
add esp, 4
mov dword [ebp - 0xc8], edi
test edi, edi
je 0x425f7f
mov eax, dword [ebp + esi*4 - 0x120]
test eax, eax
je 0x425f87
push eax
call fcn.004443a0
add esp, 4
jmp 0x425f87
xor edi, edi
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xd0], edi
test edi, edi
jne 0x4273bf
mov eax, dword [ebp + esi*4 - 0x120]
cmp dword [eax + 0x14], edi
jge 0x425fc0
push eax
call fcn.00427ca0
mov edi, eax
add esp, 4
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xd0], edi
test edi, edi
jne 0x4260f6
mov ecx, esi
dec esi
test ecx, ecx
je 0x426102
mov ebx, dword [ebp - 0xf8]
mov dl, byte [ebx + 0xc]
test dl, dl
je 0x426025
movzx ecx, word [ebx + 0x1c]
mov eax, dword [ebp - 0x108]
add eax, esi
cmp eax, ecx
jne 0x426025
mov eax, dword [ebx + 0x24]
push eax
mov ebx, dword [eax]
bswap ebx
mov dword [ebp + esi*4 - 0x10], eax
mov eax, dword [ebp - 0xf8]
push eax
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0x10c], ebx
call eax
movzx eax, ax
mov dword [ebp + esi*4 - 0x2c], eax
mov eax, dword [ebp - 0xf8]
add esp, 8
mov byte [eax + 0xc], 0
jmp 0x425eb0
mov ecx, dword [ebp - 0x108]
movzx eax, dl
sub ecx, eax
mov eax, dword [ebx + 0x40]
add ecx, esi
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [ebx + 0x1a]
movzx ecx, cx
and ecx, eax
mov eax, dword [ebx + 0x38]
add eax, ecx
push eax
mov ecx, dword [eax]
bswap ecx
mov dword [ebp + esi*4 - 0x10], eax
mov eax, dword [ebx + 0x4c]
push ebx
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0x10c], ecx
call eax
mov edx, dword [ebp - 0xe8]
movzx ebx, ax
add esp, 8
test byte [edx + 0x18], 0xc
mov dword [ebp + esi*4 - 0x2c], ebx
je 0x4260b9
mov edi, dword [ebp + esi*4 - 0x10]
mov eax, dword [ebp - 0xf8]
mov ecx, edi
sub ecx, dword [eax + 0x38]
lea eax, [ebx + ecx]
cmp eax, dword [edx + 0x28]
jg 0x4260b9
mov eax, dword [ebp - 0x13c]
push ebx
add eax, ecx
push edi
push eax
call sub.MSVCR110.dll_memcpy
mov eax, dword [ebp - 0xf8]
add esp, 0xc
sub edi, dword [eax + 0x38]
add edi, dword [ebp - 0x13c]
mov dword [ebp + esi*4 - 0x10], edi
mov ecx, dword [ebp - 0x108]
lea eax, [ebp - 0xd0]
push eax
push ebx
mov ebx, dword [ebp - 0xf8]
movzx eax, byte [ebx + 0xc]
sub ecx, eax
add ecx, esi
push ecx
push ebx
call fcn.0042fe90
mov edi, dword [ebp - 0xd0]
mov ebx, dword [ebp - 0x100]
add esp, 0x10
mov dword [ebp - 0xc8], edi
jmp 0x425eb0
lea eax, [esi*4]
jmp 0x4273c6
mov eax, dword [ebp - 0xe8]
mov ebx, dword [ebp - 0xec]
mov esi, dword [eax + 0x24]
mov eax, 0xaaaaaaab
lea ecx, [esi - 8]
mul ecx
mov edi, edx
shr edi, 2
add edi, 4
imul edi, ebx
add edi, 3
and edi, 0xfffffffc
lea eax, [edi + edi*2]
lea eax, [esi + eax*2]
cdq
push edx
push eax
call fcn.004651a0
add esp, 8
mov dword [ebp - 0xbc], eax
test eax, eax
jne 0x426156
mov dword [ebp - 0xc8], 7
jmp 0x4273d8
mov ecx, dword [ebp - 0x120]
lea eax, [eax + edi*4]
mov dword [ebp - 0xb8], eax
lea eax, [eax + edi*2]
movzx edi, byte [ecx + 3]
mov dword [ebp - 0xe0], eax
movzx eax, byte [ecx + 8]
shl ax, 2
movzx eax, ax
mov dword [ebp - 0x114], eax
xor eax, eax
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0xd4], eax
test ebx, ebx
jle 0x426416
xor ebx, ebx
jmp 0x4261b0
shl eax, 2
mov dword [ebp - 0x104], eax
mov edi, dword [ebp + eax - 0x120]
mov dword [ebp - 0xf0], edi
movzx eax, word [edi + 0x18]
mov edx, dword [edi + 0x38]
movzx esi, word [edi + 0x12]
mov dword [ebp - 0xcc], eax
movzx eax, word [edi + 0x1a]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x120]
add esi, edx
mov ecx, dword [eax + 0x38]
mov al, byte [edx]
mov dword [ebp - 0xf4], edx
mov dword [ebp - 0xe4], esi
cmp al, byte [ecx]
jne 0x426665
movzx eax, byte [edi + 0xc]
add eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xb8]
add eax, eax
push eax
mov eax, dword [ebp - 0xc4]
push 0
lea eax, [ecx + eax*2]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp byte [edi + 0xc], 0
jbe 0x4262ce
movzx edx, word [edi + 0x1c]
cmp dword [ebp - 0xcc], edx
jl 0x426638
test edx, edx
jle 0x426294
jmp 0x426250
mov ax, word [esi]
mov edi, dword [ebp - 0xd8]
mov ch, al
add esi, 2
mov cl, ah
movzx eax, cx
movzx ecx, di
mov edi, dword [ebp - 0xbc]
and eax, ecx
mov ecx, dword [ebp - 0xc4]
add eax, dword [ebp - 0xf4]
inc ecx
mov dword [edi + ecx*4 - 4], eax
mov dword [ebp - 0xc4], ecx
dec edx
jne 0x426250
mov edi, dword [ebp - 0xf0]
mov dword [ebp - 0xe4], esi
xor edx, edx
cmp byte [edi + 0xc], dl
jbe 0x4262ce
mov esi, dword [ebp - 0xc4]
lea ecx, [edi + 0x24]
mov eax, dword [ecx]
mov edi, dword [ebp - 0xbc]
inc edx
mov dword [edi + esi*4], eax
mov edi, dword [ebp - 0xf0]
inc esi
movzx eax, byte [edi + 0xc]
lea ecx, [ecx + 4]
cmp edx, eax
jl 0x4262a4
mov dword [ebp - 0xc4], esi
mov esi, dword [ebp - 0xe4]
movzx eax, word [edi + 0x12]
movzx ecx, word [edi + 0x18]
add eax, dword [ebp - 0xf4]
lea edx, [eax + ecx*2]
cmp esi, edx
jae 0x426332
mov eax, dword [ebp - 0xd8]
movzx eax, ax
mov dword [ebp - 0xcc], eax
mov edi, eax
mov ax, word [esi]
mov ch, al
add esi, 2
mov cl, ah
movzx eax, cx
mov ecx, dword [ebp - 0xc4]
and eax, edi
add eax, dword [ebp - 0xf4]
mov edi, dword [ebp - 0xbc]
inc ecx
mov dword [edi + ecx*4 - 4], eax
mov edi, dword [ebp - 0xcc]
mov dword [ebp - 0xc4], ecx
cmp esi, edx
jb 0x4262f4
mov edi, dword [ebp - 0xf0]
jmp 0x426338
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xec]
mov edx, dword [ebp - 0x104]
dec eax
mov dword [ebp + edx - 0x6c], ecx
cmp dword [ebp - 0xd4], eax
jge 0x4263f7
cmp dword [ebp - 0xfc], 0
jne 0x4263f7
movzx eax, word [ebp + edx - 0x2c]
mov esi, dword [ebp - 0xb8]
push eax
push dword [ebp + edx - 0x10]
mov word [esi + ecx*2], ax
mov esi, dword [ebp - 0xe0]
add esi, ebx
push esi
add ebx, eax
call sub.MSVCR110.dll_memcpy
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xbc]
movzx eax, ax
add eax, esi
mov esi, dword [ebp - 0xb8]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x114]
sub word [esi + ecx*2], ax
add esp, 0xc
cmp byte [edi + 8], 0
jne 0x4263cc
mov eax, dword [edi + 0x38]
mov ecx, dword [edx + ecx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc4]
jmp 0x4263f0
cmp word [esi + ecx*2], 4
jae 0x4263f0
mov eax, dword [ebp - 0xe0]
lea esp, [esp]
mov byte [eax + ebx], 0
inc word [esi + ecx*2]
inc ebx
cmp word [esi + ecx*2], 4
jb 0x4263e0
inc ecx
mov dword [ebp - 0xc4], ecx
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp eax, dword [ebp - 0xec]
jl 0x4261b0
mov edi, dword [ebp - 0xfc]
mov eax, dword [ebp - 0x114]
movzx esi, ax
mov eax, dword [ebp - 0xe8]
xor ebx, ebx
mov eax, dword [eax + 0x28]
add eax, 0xfffffff4
add esi, eax
mov eax, dword [ebp - 0xec]
xor edx, edx
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xcc], edx
test eax, eax
jle 0x426553
mov esi, dword [ebp + edx*4 - 0x120]
mov ecx, dword [ebp + edx*4 - 0x6c]
mov eax, dword [esi + 0x3c]
mov dword [ebp + ebx*4 - 0xb4], eax
mov dword [ebp - 0xd8], ecx
mov dword [ebp + ebx*4 - 0x9c], ecx
test ebx, ebx
je 0x426487
cmp ecx, dword [ebp + ebx*4 - 0xa0]
jne 0x426487
dec ebx
mov dword [ebp - 0xd4], ebx
test edi, edi
jne 0x4264ac
mov eax, dword [ebp - 0xf8]
inc ebx
mov eax, dword [eax + 0x3c]
mov dword [ebp + ebx*4 - 0xb4], eax
lea eax, [ecx + 1]
mov dword [ebp - 0xd4], ebx
mov dword [ebp + ebx*4 - 0x9c], eax
mov edi, dword [ebp - 0xf4]
sub edi, dword [esi + 0x14]
cmp byte [esi + 0xc], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x104], 0
lea eax, [eax + edx*4]
mov dword [ebp - 0xe4], eax
mov dword [eax], edi
jbe 0x426527
mov ebx, dword [ebp - 0x104]
lea ecx, [esi + 0x24]
mov dword [ebp - 0xe0], ecx
push dword [ecx]
mov eax, dword [esi + 0x4c]
push esi
call eax
mov ecx, dword [ebp - 0xe0]
movzx eax, ax
add eax, 2
add edi, eax
movzx eax, byte [esi + 0xc]
inc ebx
add ecx, 4
add esp, 8
mov dword [ebp - 0xe0], ecx
cmp ebx, eax
jl 0x4264e2
mov eax, dword [ebp - 0xe4]
mov ebx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xcc]
mov dword [eax], edi
mov eax, dword [ebp - 0xec]
mov edi, dword [ebp - 0xfc]
mov dword [ebp + edx*4 - 0x40], ecx
inc edx
inc ebx
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xd4], ebx
cmp edx, eax
jl 0x426451
mov esi, dword [ebp - 0xf4]
mov ecx, eax
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xf0], 0
test eax, eax
jle 0x4267b9
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0x40]
xor ebx, ebx
mov edi, 1
sub eax, 4
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0x104], eax
lea esp, [esp]
cmp dword [ebp + ebx - 0x2c], esi
jle 0x4266be
lea ebx, [ebx]
cmp edi, ecx
jl 0x4265c2
lea ecx, [edi + 1]
mov dword [ebp - 0xd4], ecx
cmp ecx, 5
jg 0x4268c7
mov dword [ebp + ebx - 0x28], 0
mov dword [ebp + ebx - 0x3c], edx
mov esi, dword [ebp + ebx - 0x40]
mov ecx, dword [ebp - 0xb8]
lea edi, [esi - 1]
movzx eax, word [ecx + edi*2]
test ax, ax
jne 0x4265f1
lea eax, [ebp - 0xc4]
push edi
push eax
call fcn.0042cde0
mov ecx, dword [ebp - 0xb8]
add esp, 8
movzx eax, ax
movzx eax, ax
add eax, 2
sub dword [ebp + ebx - 0x2c], eax
cmp dword [ebp - 0xfc], 0
jne 0x426694
cmp esi, dword [ebp - 0xc4]
jge 0x426692
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x426630
lea eax, [ebp - 0xc4]
push esi
push eax
call fcn.0042cde0
add esp, 8
movzx eax, ax
movzx eax, ax
add eax, 2
jmp 0x426694
push 0x4cb7c4
push 0x11e21
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422760
add esp, 0x14
mov dword [ebp - 0xc8], 0xb
jmp 0x42735b
push 0x4cb7c4
push 0x11e09
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422760
add esp, 0x14
mov dword [ebp - 0xc8], 0xb
jmp 0x42735b
xor eax, eax
mov esi, dword [ebp - 0xf4]
add dword [ebp + ebx - 0x28], eax
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xd4]
mov dword [ebp + ebx - 0x40], edi
mov edi, dword [ebp - 0xd8]
cmp dword [ebp + ebx - 0x2c], esi
jg 0x4265a0
cmp dword [ebp + ebx - 0x40], edx
jge 0x426764
mov edi, dword [ebp - 0xb8]
mov edi, edi
mov esi, dword [ebp + ebx - 0x40]
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x4266f6
lea eax, [ebp - 0xc4]
push esi
push eax
call fcn.0042cde0
mov edx, dword [ebp - 0xc4]
add esp, 8
movzx eax, ax
movzx ecx, ax
mov eax, dword [ebp + ebx - 0x2c]
add ecx, 2
add eax, ecx
cmp eax, dword [ebp - 0xf4]
jg 0x426758
inc esi
cmp dword [ebp - 0xfc], 0
mov dword [ebp + ebx - 0x2c], eax
mov dword [ebp + ebx - 0x40], esi
jne 0x42674c
cmp esi, edx
jge 0x42674a
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x426742
lea eax, [ebp - 0xc4]
push esi
push eax
call fcn.0042cde0
mov edx, dword [ebp - 0xc4]
add esp, 8
movzx eax, ax
movzx ecx, ax
add ecx, 2
jmp 0x42674c
xor ecx, ecx
sub dword [ebp + ebx - 0x28], ecx
cmp esi, edx
jl 0x4266d0
mov edi, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xf4]
mov ecx, dword [ebp + ebx - 0x40]
cmp ecx, edx
jl 0x426776
mov ecx, edi
mov dword [ebp - 0xd4], ecx
jmp 0x42679a
cmp dword [ebp - 0xf0], 0
jle 0x42678a
mov eax, dword [ebp - 0x104]
mov eax, dword [eax + ebx]
jmp 0x42678c
xor eax, eax
cmp ecx, eax
jle 0x4268f4
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xf0]
inc eax
inc edi
add ebx, 4
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xd8], edi
cmp eax, ecx
jl 0x426590
lea eax, [ecx - 1]
mov ecx, eax
mov dword [ebp - 0xcc], eax
test ecx, ecx
jle 0x426960
lea esp, [esp]
shl ecx, 2
mov dword [ebp - 0xd8], ecx
mov eax, dword [ebp + ecx - 0x30]
mov edi, dword [ebp + ecx - 0x2c]
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0x40]
sub eax, 4
mov dword [ebp - 0xe4], eax
mov esi, dword [ecx + eax]
mov ecx, dword [ebp - 0xb8]
dec esi
mov eax, esi
sub eax, dword [ebp - 0xfc]
inc eax
cmp word [ecx + eax*2], 0
lea ebx, [ecx + eax*2]
jne 0x426826
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0042cde0
add esp, 8
mov ecx, dword [ebp - 0xb8]
cmp word [ecx + esi*2], 0
jne 0x42683d
lea eax, [ebp - 0xc4]
push esi
push eax
call fcn.0042cde0
add esp, 8
mov edx, dword [ebp - 0xf0]
test edi, edi
je 0x42688b
cmp dword [ebp + 0x18], 0
jne 0x426921
mov ecx, dword [ebp - 0xd4]
dec ecx
cmp dword [ebp - 0xcc], ecx
mov ecx, 0
mov eax, 2
cmove eax, ecx
mov ecx, edx
sub ecx, eax
mov eax, dword [ebp - 0xb8]
movzx eax, word [eax + esi*2]
sub ecx, eax
movzx eax, word [ebx]
add eax, 2
add eax, edi
cmp eax, ecx
jg 0x426921
movzx eax, word [ebx]
add eax, 2
add edi, eax
mov eax, dword [ebp - 0xb8]
mov ecx, 0xfffffffe
movzx eax, word [eax + esi*2]
sub ecx, eax
mov eax, dword [ebp - 0xd8]
add edx, ecx
mov ecx, dword [ebp - 0xe4]
sub ebx, 2
mov dword [eax + ecx], esi
dec esi
mov dword [ebp - 0xf0], edx
jns 0x426820
jmp 0x426927
push 0x4cb7c4
push 0x11e86
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422760
add esp, 0x14
mov dword [ebp - 0xc8], 0xb
jmp 0x42735b
push 0x4cb7c4
push 0x11ea7
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422760
add esp, 0x14
mov dword [ebp - 0xc8], 0xb
jmp 0x42735b
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xcc]
mov dword [ebp + eax - 0x30], edx
mov edx, dword [ebp - 0xe4]
mov dword [ebp + eax - 0x2c], edi
cmp ecx, 1
jle 0x426946
mov eax, dword [eax + edx - 4]
jmp 0x426948
xor eax, eax
cmp dword [edx + ecx*4], eax
jle 0x4269e8
dec ecx
mov dword [ebp - 0xcc], ecx
test ecx, ecx
jg 0x4267d0
mov eax, dword [ebp - 0x120]
xor edi, edi
mov eax, dword [eax + 0x38]
movzx ebx, byte [eax]
mov dword [ebp - 0xcc], ebx
lea eax, [edi + 1]
cmp dword [ebp - 0xd4], edi
jle 0x426b90
cmp edi, dword [ebp - 0xec]
jge 0x426a9d
mov ebx, dword [ebp + edi*4 - 0x120]
mov dword [ebp + edi*4 - 0x134], ebx
mov dword [ebp + edi*4 - 0x120], 0
mov esi, dword [ebx + 0x48]
mov dword [ebp - 0xe0], ebx
test byte [esi + 0x1c], 4
mov ecx, dword [esi + 0x14]
je 0x426a2b
mov eax, dword [ecx + 0x18]
cmp eax, dword [esi + 0x18]
jb 0x426a2b
cmp dword [ecx + 0x60], 0
je 0x426a27
push esi
call fcn.0048cb20
add esp, 4
test eax, eax
je 0x426a15
push esi
call fcn.0048cc40
add esp, 4
mov dword [ebp - 0xc8], eax
mov edx, eax
jmp 0x426a5e
push 0x4cb7c4
push 0x11ed1
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422760
add esp, 0x14
mov dword [ebp - 0xc8], 0xb
jmp 0x42735b
mov dword [ebp - 0xc8], 0
mov edx, dword [ebp - 0xc8]
jmp 0x426a5e
xor edx, edx
jmp 0x426a58
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0xc8], edx
test edx, edx
jne 0x426a5e
mov eax, dword [ecx + 0x94]
push esi
cmp eax, dword [ecx + 0x98]
jbe 0x426a4e
call fcn.0043f790
jmp 0x426a53
call fcn.00440a70
mov edx, eax
add esp, 4
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x108]
inc dword [ebp - 0xdc]
xor ecx, ecx
cmp edi, eax
mov eax, dword [ebx + 0x48]
sete cl
movsx eax, word [eax + 0x1e]
mov dword [ebp - 0xd0], edx
inc ecx
cmp eax, ecx
jne 0x426b63
test edx, edx
jne 0x42735b
mov ebx, dword [ebp - 0xcc]
jmp 0x426b50
cmp dword [ebp + 0x18], 0
mov ecx, dword [ebp - 0x100]
push 0
cmovne ecx, eax
push ecx
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xe0]
push eax
push dword [ebp - 0xe8]
call fcn.00423930
mov edx, eax
add esp, 0x14
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x42735b
mov esi, dword [ebp - 0xe0]
push ebx
push esi
call fcn.004a2150
mov ecx, dword [ebp - 0xe8]
inc dword [ebp - 0xdc]
mov eax, dword [ebp - 0xc4]
add esp, 8
mov dword [ebp + edi*4 - 0x134], esi
cmp byte [ecx + 0x11], 0
mov dword [ebp + edi*4 - 0x6c], eax
je 0x426b44
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0xf8]
push dword [eax + 4]
push 5
push dword [esi + 4]
push ecx
call fcn.00442cb0
mov eax, dword [ebp - 0xd0]
add esp, 0x14
mov dword [ebp - 0xc8], eax
test eax, eax
jne 0x42735b
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x100], eax
inc edi
cmp edi, dword [ebp - 0xd4]
jge 0x426b90
mov eax, 1
jmp 0x426983
push 0x4cb7c4
push 0x11ef0
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422760
add esp, 0x14
mov dword [ebp - 0xc8], 0xb
jmp 0x42735b
mov ebx, dword [ebp - 0xdc]
xor ecx, ecx
test ebx, ebx
jle 0x426bd8
lea esp, [esp]
mov eax, dword [ebp + ecx*4 - 0x134]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x48]
mov dword [ebp + ecx*4 - 0x80], edx
mov ax, word [eax + 0x1c]
mov word [ebp + ecx*2 - 0x10], ax
xor eax, eax
mov dword [ebp + ecx*4 - 0x54], edx
test ecx, ecx
jle 0x426bd3
cmp dword [ebp + eax*4 - 0x80], edx
je 0x426d82
inc eax
cmp eax, ecx
jl 0x426bc4
inc ecx
cmp ecx, ebx
jl 0x426ba0
mov edi, dword [ebp - 0xdc]
xor ebx, ebx
mov dword [ebp - 0xe0], ebx
test edi, edi
jle 0x426c95
mov edi, edi
xor esi, esi
lea ecx, [esi + 1]
cmp edi, ecx
jle 0x426c21
mov ebx, dword [ebp - 0xdc]
xor edi, edi
lea edx, [ecx*4]
mov eax, dword [ebp + edx - 0x54]
cmp eax, dword [ebp + edi - 0x54]
jae 0x426c16
mov esi, ecx
mov edi, edx
inc ecx
cmp ecx, ebx
jl 0x426c01
mov ebx, dword [ebp - 0xe0]
mov edi, dword [ebp + esi*4 - 0x54]
mov dword [ebp + esi*4 - 0x54], 0xffffffff
cmp esi, ebx
je 0x426c80
jle 0x426c59
mov eax, dword [ebp - 0xe8]
xor edx, edx
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp + esi*4 - 0x134]
inc ecx
mov eax, dword [eax + 0x48]
add ecx, esi
push ecx
push eax
mov word [eax + 0x1c], dx
call fcn.00468880
add esp, 8
mov eax, dword [ebp + ebx*4 - 0x134]
push edi
mov ecx, dword [eax + 0x48]
mov ax, word [ebp + esi*2 - 0x10]
push ecx
mov word [ecx + 0x1c], ax
call fcn.00468880
mov eax, dword [ebp + ebx*4 - 0x134]
add esp, 8
mov dword [eax + 4], edi
mov edi, dword [ebp - 0xdc]
inc ebx
mov dword [ebp - 0xe0], ebx
cmp ebx, edi
jl 0x426bf0
test byte [ebp - 0xcc], 8
mov eax, dword [ebp + edi*4 - 0x138]
mov ecx, dword [ebp - 0x110]
mov eax, dword [eax + 4]
bswap eax
mov dword [ecx], eax
jne 0x426ce4
mov ecx, dword [ebp - 0xec]
cmp ecx, edi
je 0x426ce4
lea edx, [ebp - 0x120]
cmp edi, ecx
lea eax, [ebp - 0x134]
cmovle eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp + edi*4 - 0x138]
mov ecx, dword [eax + 0x38]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xe8]
cmp byte [eax + 0x11], 0
je 0x426f6b
mov edi, dword [ebp - 0x134]
xor ebx, ebx
movzx edx, word [edi + 0x18]
movzx eax, byte [edi + 0xc]
add edx, eax
xor esi, esi
mov dword [ebp - 0x100], edi
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0x110], 0
cmp dword [ebp - 0xc4], ebx
jle 0x426f71
xor eax, eax
mov dword [ebp - 0xd8], eax
jmp 0x426d40
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ecx + ebx*4]
mov dword [ebp - 0xcc], ecx
cmp ebx, edx
jne 0x426dde
xor eax, eax
cmp dword [ebp - 0xfc], eax
sete al
mov dword [ebp - 0x104], eax
jmp 0x426d70
inc esi
cmp esi, dword [ebp - 0xdc]
jge 0x426daf
mov edi, dword [ebp + esi*4 - 0x134]
jmp 0x426db6
push 0x4cb7c4
push 0x11f1e
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422760
add esp, 0x14
mov dword [ebp - 0xc8], 0xb
jmp 0x42735b
mov edi, dword [ebp + esi*4 - 0x120]
movzx eax, word [edi + 0x18]
movzx ecx, byte [edi + 0xc]
add eax, dword [ebp - 0x104]
add ecx, eax
add edx, ecx
cmp ebx, edx
je 0x426d70
mov ecx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe4], edx
cmp ebx, dword [ebp + eax - 0x40]
jne 0x426e16
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x110], eax
shl eax, 2
cmp dword [ebp - 0xfc], 0
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + eax - 0x134]
mov dword [ebp - 0x100], eax
je 0x426f2a
jmp 0x426e1c
mov eax, dword [ebp - 0x100]
cmp esi, dword [ebp - 0xdc]
jge 0x426e3b
mov eax, dword [eax + 4]
cmp eax, dword [ebp + esi*4 - 0x80]
jne 0x426e3b
cmp ecx, dword [edi + 0x38]
jb 0x426e3b
cmp ecx, dword [edi + 0x3c]
jb 0x426f2a
cmp word [ebp - 0x114], 0
jne 0x426e76
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0x100]
push dword [eax + 4]
mov eax, dword [ecx]
bswap eax
push 5
push eax
push dword [ebp - 0xe8]
call fcn.00442cb0
mov eax, dword [ebp - 0xd0]
add esp, 0x14
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xb8]
movzx eax, word [eax + ebx*2]
test ax, ax
jne 0x426e98
lea eax, [ebp - 0xc4]
push ebx
push eax
call fcn.0042cde0
add esp, 8
movzx eax, ax
mov ecx, dword [ebp - 0x100]
cmp ax, word [ecx + 0x10]
jbe 0x426f16
cmp dword [ebp - 0xc8], 0
jne 0x42735b
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0xcc]
mov eax, dword [ecx + 0x50]
push ecx
call eax
movzx eax, word [ebp - 0x48]
add esp, 0xc
cmp eax, dword [ebp - 0x4c]
jae 0x426f24
mov ecx, dword [edi + 0x3c]
mov edx, dword [ebp - 0xcc]
cmp ecx, edx
jb 0x426ee0
add eax, edx
cmp ecx, eax
jb 0x426f3e
mov ecx, dword [ebp - 0x100]
lea eax, [ebp - 0xd0]
push eax
movzx eax, word [ebp - 0x46]
push dword [ecx + 4]
mov eax, dword [eax + edx - 4]
push 3
bswap eax
push eax
push dword [ecx + 0x34]
call fcn.00442cb0
mov edx, dword [ebp - 0xd0]
add esp, 0x14
mov dword [ebp - 0xc8], edx
jmp 0x426f1c
mov edx, dword [ebp - 0xc8]
test edx, edx
jne 0x42735b
mov edx, dword [ebp - 0xe4]
inc ebx
cmp ebx, dword [ebp - 0xc4]
jge 0x426f6b
mov eax, dword [ebp - 0xd8]
jmp 0x426d40
push 0x4cb7c4
push 0x10533
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422760
add esp, 0x14
mov dword [ebp - 0xc8], 0xb
jmp 0x42735b
mov edi, dword [ebp - 0x134]
mov ebx, dword [ebp - 0xdc]
xor esi, esi
lea eax, [ebx - 1]
test eax, eax
jle 0x427131
jmp 0x426f90
mov eax, dword [ebp + esi*4 - 0x134]
mov ecx, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0x114]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + esi*4 - 0x40]
movzx edx, bx
mov edi, dword [ecx + eax*4]
mov ebx, dword [ebp - 0x138]
add ebx, dword [ebp - 0x13c]
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x104], ecx
mov ecx, dword [ebp - 0xb8]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x10c]
add edx, eax
cmp byte [ecx + 8], 0
mov ecx, dword [ebp - 0x104]
jne 0x426ff9
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 0x38]
mov eax, dword [edi]
mov dword [ecx + 8], eax
jmp 0x4270a6
cmp dword [ebp - 0xfc], 0
je 0x42708b
lea eax, [ebp - 0x84]
push eax
push dword [ecx - 4]
mov eax, dword [ebp - 0x10c]
push eax
mov eax, dword [eax + 0x50]
call eax
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x84]
mov edi, ebx
add esp, 0xc
add ebx, 4
mov dword [ebp - 0xc], edx
test edx, edx
ja 0x427079
jb 0x42703b
cmp ecx, 0x7f
ja 0x42704c
and cl, 0x7f
mov eax, 1
mov byte [ebx], cl
lea edx, [eax + 4]
xor ebx, ebx
jmp 0x4270a6
test edx, edx
ja 0x427079
jb 0x42705a
cmp ecx, 0x3fff
ja 0x427079
mov eax, ecx
shrd eax, edx, 7
or al, 0x80
mov byte [ebx], al
and cl, 0x7f
mov eax, 2
shr edx, 7
mov byte [ebx + 1], cl
lea edx, [eax + 4]
xor ebx, ebx
jmp 0x4270a6
push edx
push ecx
push ebx
call fcn.00443490
add esp, 0xc
lea edx, [eax + 4]
xor ebx, ebx
jmp 0x4270a6
sub edi, 4
cmp eax, 4
jne 0x4270a6
mov eax, dword [ebp - 0xf8]
push edi
push eax
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
movzx edx, ax
add dword [ebp - 0x138], edx
xor eax, eax
cmp dword [ebp - 0x9c], esi
jg 0x4270c5
cmp eax, 6
jge 0x4270c5
inc eax
cmp dword [ebp + eax*4 - 0x9c], esi
jle 0x4270b6
mov ecx, dword [ebp + eax*4 - 0xb4]
cmp ecx, edi
jb 0x4270db
lea eax, [edx + edi]
cmp ecx, eax
jb 0x42717c
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0x10c]
push dword [eax + 4]
mov eax, dword [ebp - 0x108]
push ebx
push edx
push edi
add eax, esi
push eax
push dword [ebp - 0xf8]
call fcn.00438f90
mov eax, dword [ebp - 0xd0]
add esp, 0x1c
mov dword [ebp - 0xc8], eax
test eax, eax
jne 0x42735b
mov ebx, dword [ebp - 0xdc]
inc esi
lea eax, [ebx - 1]
cmp esi, eax
jl 0x426f90
mov edi, dword [ebp - 0x134]
mov esi, 1
sub esi, ebx
mov dword [ebp - 0x110], esi
cmp esi, ebx
jge 0x427249
mov eax, esi
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
lea ebx, [ebp - 0x18]
add ebx, ecx
cmp byte [ebx], 0
jne 0x42722e
test esi, esi
jns 0x42716f
mov eax, dword [ebp + ecx*4 - 0x70]
cmp eax, dword [ebp + ecx*4 - 0x44]
jl 0x42722e
test ecx, ecx
jne 0x4271a9
mov esi, dword [ebp - 0x40]
xor eax, eax
xor edx, edx
jmp 0x4271dd
push 0x4cb7c4
push 0x11fbb
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00422760
add esp, 0x14
mov dword [ebp - 0xc8], 0xb
jmp 0x42735b
cmp ecx, dword [ebp - 0xec]
jge 0x4271c2
xor eax, eax
cmp dword [ebp - 0xfc], eax
sete al
add eax, dword [ebp + ecx*4 - 0x70]
jmp 0x4271c8
mov eax, dword [ebp - 0xc4]
mov esi, dword [ebp + ecx*4 - 0x40]
xor edx, edx
cmp dword [ebp - 0xfc], edx
sete dl
add edx, dword [ebp + ecx*4 - 0x44]
sub esi, edx
lea edi, [ecx*4]
lea ecx, [ebp - 0xc4]
push ecx
push esi
push edx
push eax
push dword [ebp + edi - 0x134]
call fcn.00430070
add esp, 0x14
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xd0], eax
test eax, eax
jne 0x42735b
mov ecx, dword [ebp - 0xf4]
sub ecx, dword [ebp + edi - 0x2c]
mov eax, dword [ebp + edi - 0x134]
mov esi, dword [ebp - 0x110]
mov byte [ebx], 1
mov dword [eax + 0x14], ecx
mov ebx, dword [ebp - 0xdc]
inc esi
mov dword [ebp - 0x110], esi
cmp esi, ebx
jl 0x427146
mov edi, dword [ebp - 0x134]
cmp dword [ebp + 0x14], 0
je 0x4272bc
mov esi, dword [ebp - 0xf8]
cmp word [esi + 0x18], 0
jne 0x4272bc
movzx eax, byte [esi + 9]
cmp eax, dword [edi + 0x14]
jg 0x4272bc
push 0xffffffffffffffff
push edi
call fcn.0042f200
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xd0]
push eax
push esi
push dword [ebp - 0x134]
call fcn.0042e680
mov edi, dword [ebp - 0xd0]
add esp, 0x14
mov dword [ebp - 0xc8], edi
test edi, edi
jne 0x427324
mov eax, dword [ebp - 0x134]
push dword [eax + 4]
push eax
push dword [eax + 0x34]
call fcn.00436020
mov edi, eax
add esp, 0xc
mov dword [ebp - 0xc8], edi
jmp 0x427324
mov ecx, dword [ebp - 0xe8]
cmp byte [ecx + 0x11], 0
je 0x42731e
cmp word [ebp - 0x114], 0
jne 0x42731e
xor esi, esi
test ebx, ebx
jle 0x42731e
jmp 0x4272e0
mov eax, dword [ebp + esi*4 - 0x134]
lea edx, [ebp - 0xd0]
push edx
push dword [eax + 4]
mov eax, dword [eax + 0x38]
push 5
mov eax, dword [eax + 8]
bswap eax
push eax
push ecx
call fcn.00442cb0
mov ecx, dword [ebp - 0xe8]
inc esi
add esp, 0x14
cmp esi, ebx
jl 0x4272e0
mov edi, dword [ebp - 0xd0]
mov dword [ebp - 0xc8], edi
jmp 0x427324
mov edi, dword [ebp - 0xc8]
mov esi, ebx
cmp ebx, dword [ebp - 0xec]
jge 0x42735b
mov edi, edi
mov eax, dword [ebp + esi*4 - 0x120]
test edi, edi
jne 0x42734c
push dword [eax + 4]
push eax
push dword [eax + 0x34]
call fcn.00436020
add esp, 0xc
mov edi, eax
inc esi
cmp esi, dword [ebp - 0xec]
jl 0x427330
mov dword [ebp - 0xc8], edi
mov ebx, dword [ebp - 0xbc]
test ebx, ebx
je 0x4273d8
cmp dword [0x4d7bf0], 0
je 0x4273b3
mov eax, dword [0x4d8cb0]
test eax, eax
je 0x427381
push eax
call dword [0x4d7c40]
add esp, 4
push ebx
call dword [0x4d7c1c]
sub dword [0x4d8c58], eax
dec dword [0x4d8c7c]
push ebx
call dword [0x4d7c14]
mov eax, dword [0x4d8cb0]
add esp, 8
test eax, eax
je 0x4273d8
push eax
call dword [0x4d7c48]
add esp, 4
jmp 0x4273d8
push ebx
call dword [0x4d7c14]
add esp, 4
jmp 0x4273d8
lea eax, [esi*4 + 4]
push eax
lea eax, [ebp - 0x120]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor ebx, ebx
cmp dword [ebp - 0xec], ebx
jle 0x427447
mov edx, dword [ebp + ebx*4 - 0x120]
test edx, edx
je 0x42743e
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x427435
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]
mov edi, dword [esi]
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004a7fd0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x42743e
push edx
call fcn.00468980
add esp, 4
inc ebx
cmp ebx, dword [ebp - 0xec]
jl 0x4273e2
xor ebx, ebx
cmp dword [ebp - 0xdc], ebx
jle 0x4274b6
mov edx, dword [ebp + ebx*4 - 0x134]
test edx, edx
je 0x4274ad
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x4274a4
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]
mov edi, dword [esi]
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004a7fd0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x4274ad
push edx
call fcn.00468980
add esp, 4
inc ebx
cmp ebx, dword [ebp - 0xdc]
jl 0x427451
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc8]
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.004a7bb8
mov esp, ebp
pop ebp
ret