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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, ecx
mov dword [esp + 0x10], 0
push ebx
xor ebx, ebx
mov dword [esp + 0x2c], eax
push esi
mov ecx, dword [eax + 0x34]
push edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0xd4], 0
mov byte [esp + 0xd8], 0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x38], ecx
cmp dword [ebp + 8], ebx
jne 0x420fc8
lea eax, [ebx + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx edi, word [eax + 0x16]
movzx ecx, byte [eax + 0xc]
lea esi, [ecx + edi]
cmp esi, 2
jae 0x420fdc
xor edx, edx
jmp 0x420ff9
test edx, edx
je 0x420fef
cmp edx, esi
jne 0x420fee
mov eax, dword [ebp + 0x10]
lea edx, [eax - 2]
add edx, esi
jmp 0x420ff2
dec edx
mov eax, dword [ebp + 0x10]
mov esi, 2
sub esi, eax
lea eax, [esi + 1]
mov dword [esp + 0x68], edx
mov dword [esp + 0x44], eax
mov eax, edx
sub eax, ecx
mov dword [esp + 0x3c], esi
lea ecx, [eax + esi]
cmp ecx, edi
jne 0x421025
mov eax, dword [esp + 0x34]
movzx ecx, byte [eax + 9]
mov eax, dword [eax + 0x38]
add ecx, 8
add ecx, eax
jmp 0x421040
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edx + 0x18]
movzx ecx, cx
and ecx, eax
add ecx, dword [edx + 0x38]
mov edi, dword [ecx]
bswap edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x80], edi
mov eax, dword [esp + 0x38]
cmp edi, dword [eax + 0x2c]
jbe 0x421084
push 0x56cfb4
push 0xf0b4
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0040bbc0
add esp, 0x14
mov edi, 0xb
jmp 0x421107
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push 0
push ecx
push edi
push eax
mov eax, dword [eax + 0xd0]
call eax
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
test edi, edi
jne 0x42110b
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 8]
mov dword [esp + esi*4 + 0x74], eax
cmp byte [eax], 0
jne 0x421105
mov ecx, dword [edx + 8]
mov edi, dword [esp + 0x40]
cmp edi, dword [ecx + 4]
je 0x4210e0
mov eax, dword [edx + 4]
cmp edi, 1
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0x34], eax
setne al
dec al
mov dword [ecx + 0x48], edx
and al, 0x64
mov dword [ecx + 4], edi
mov byte [ecx + 9], al
mov ecx, dword [esp + esi*4 + 0x74]
call fcn.0041bd20
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x421105
mov ecx, dword [esp + esi*4 + 0x74]
test ecx, ecx
je 0x42110b
mov ecx, dword [ecx + 0x48]
call fcn.00416cd0
jmp 0x42110b
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edi
test edi, edi
jne 0x421282
mov eax, dword [esp + esi*4 + 0x74]
movzx ecx, word [eax + 0x16]
movzx eax, byte [eax + 0xc]
inc eax
add eax, dword [esp + 0x1c]
add ecx, eax
mov eax, esi
dec esi
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x4212a2
mov edi, dword [esp + 0x34]
mov dl, byte [edi + 0xc]
test dl, dl
je 0x421190
mov ecx, dword [esp + 0x68]
movzx eax, word [edi + 0x1a]
add ecx, esi
cmp ecx, eax
jne 0x421190
mov eax, dword [edi + 0x24]
push eax
mov dword [esp + esi*4 + 0xb4], eax
mov edi, dword [eax]
mov eax, dword [esp + 0x38]
bswap edi
push eax
mov dword [esp + 0x48], edi
mov eax, dword [eax + 0x4c]
mov dword [esp + 0x88], edi
call eax
movzx eax, ax
add esp, 8
mov dword [esp + esi*4 + 0x9c], eax
mov eax, dword [esp + 0x34]
mov byte [eax + 0xc], 0
jmp 0x421053
mov ecx, dword [esp + 0x68]
movzx eax, dl
sub ecx, eax
mov eax, dword [edi + 0x40]
add ecx, esi
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x18]
movzx ecx, cx
and ecx, eax
mov eax, dword [edi + 0x38]
add eax, ecx
push eax
mov dword [esp + esi*4 + 0xb4], eax
mov edi, dword [eax]
mov eax, dword [esp + 0x38]
bswap edi
push eax
mov dword [esp + 0x48], edi
mov eax, dword [eax + 0x4c]
mov dword [esp + 0x88], edi
call eax
movzx edx, ax
add esp, 8
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], edx
mov dword [esp + esi*4 + 0x9c], edx
test byte [eax + 0x16], 0xc
je 0x42123c
mov eax, dword [esp + 0x34]
mov edi, dword [esp + esi*4 + 0xb0]
mov ecx, edi
mov ebx, dword [esp + 0x38]
sub ecx, dword [eax + 0x38]
lea eax, [edx + ecx]
cmp eax, dword [ebx + 0x24]
mov ebx, 0
jg 0x42125f
mov eax, dword [ebp + 8]
push edx
add eax, ecx
push edi
push eax
call fcn.004a45a0
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x28]
sub edi, dword [ecx + 0x38]
add edi, dword [ebp + 8]
mov dword [esp + esi*4 + 0xb0], edi
mov edi, dword [esp + 0x40]
jmp 0x421240
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x20]
push eax
movzx eax, byte [ecx + 0xc]
push edx
mov edx, dword [esp + 0x70]
sub edx, eax
add edx, esi
call fcn.004204a0
add esp, 8
jmp 0x421053
push 0x56cfb4
push 0x104ef
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0040bbc0
add esp, 0x14
mov edi, 0xb
lea eax, [esi*4 + 4]
push eax
lea eax, [esp + 0x78]
push 0
push eax
call fcn.004a4070
add esp, 0xc
xor eax, eax
xor ebx, ebx
jmp 0x421aa2
mov eax, dword [esp + 0x38]
lea esi, [ecx + 3]
and esi, 0xfffffffc
mov eax, dword [eax + 0x20]
lea ecx, [esi + esi*2]
lea ecx, [eax + ecx*2]
call fcn.00409660
mov edi, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x58], edi
test edi, edi
jne 0x4212d2
lea edi, [eax + 7]
xor ebx, ebx
jmp 0x421a9e
mov ecx, dword [esp + 0x74]
lea eax, [edi + esi*4]
mov dword [esp + 0x5c], eax
xor edx, edx
lea eax, [eax + esi*2]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx + 8]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x70], eax
movzx eax, byte [ecx + 3]
mov dword [esp + 0x60], eax
mov dword [esp + 0x30], edx
cmp dword [esp + 0x44], edx
jle 0x4214f5
nop
mov edi, dword [esp + edx*4 + 0x74]
mov dword [esp + 0x28], edi
movzx eax, word [edi + 0x18]
mov edx, dword [edi + 0x38]
mov ecx, eax
movzx esi, word [edi + 0x12]
mov dword [esp + 0x98], eax
add esi, edx
mov eax, dword [esp + 0x74]
mov dword [esp + 0xdc], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x1c], esi
mov ecx, dword [eax + 0x38]
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x42169e
movzx eax, byte [edi + 0xc]
movzx ecx, word [edi + 0x16]
add ecx, eax
mov eax, dword [esp + 0x5c]
add ecx, ecx
push ecx
push 0
lea eax, [eax + ebx*2]
push eax
call fcn.004a4070
add esp, 0xc
cmp byte [edi + 0xc], 0
jbe 0x4213e1
movzx edx, word [edi + 0x1a]
test edx, edx
je 0x4213b5
mov edi, dword [esp + 0xdc]
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
movzx eax, di
movzx ecx, cx
and ecx, eax
mov eax, dword [esp + 0x10]
add ecx, dword [esp + 0x4c]
mov dword [eax + ebx*4], ecx
inc ebx
mov dword [esp + 0x50], ebx
sub edx, 1
jne 0x421382
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], ebx
xor edx, edx
cmp byte [edi + 0xc], dl
jbe 0x4213e1
mov esi, dword [esp + 0x10]
lea ecx, [edi + 0x24]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [esi + ebx*4], eax
inc edx
movzx eax, byte [edi + 0xc]
inc ebx
mov dword [esp + 0x50], ebx
cmp edx, eax
jl 0x4213c3
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
movzx eax, word [edi + 0x12]
xor edx, edx
movzx ecx, word [edi + 0x16]
add eax, dword [esp + 0x4c]
lea eax, [eax + ecx*2]
xor ecx, ecx
mov edi, eax
sub edi, esi
inc edi
shr edi, 1
cmp esi, eax
cmova edi, ecx
test edi, edi
je 0x421436
mov ax, word [esi]
lea esi, [esi + 2]
mov ch, al
inc edx
mov cl, ah
mov eax, dword [esp + 0x98]
movzx ecx, cx
movzx eax, ax
and ecx, eax
mov eax, dword [esp + 0x10]
add ecx, dword [esp + 0x4c]
mov dword [eax + ebx*4], ecx
inc ebx
mov dword [esp + 0x50], ebx
cmp edx, edi
jb 0x421404
mov dword [esp + 0x24], ebx
mov edx, dword [esp + 0x30]
mov dword [esp + edx*4 + 0xfc], ebx
cmp edx, dword [esp + 0x3c]
jge 0x4214e6
cmp dword [esp + 0x60], 0
jne 0x4214e6
movzx eax, word [esp + edx*4 + 0x9c]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x2c]
push eax
push dword [esp + edx*4 + 0xb4]
add esi, edi
mov word [ecx + ebx*2], ax
add edi, eax
push esi
mov dword [esp + 0x54], edi
call fcn.004a45a0
mov eax, dword [esp + 0x7c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x5c]
movzx eax, ax
add eax, esi
mov dword [ecx + ebx*4], eax
mov eax, dword [esp + 0x70]
sub word [edx + ebx*2], ax
mov eax, dword [esp + 0x28]
cmp byte [eax + 8], 0
jne 0x4214ba
mov eax, dword [eax + 0x38]
mov ecx, dword [ecx + ebx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
jmp 0x4214d9
cmp word [edx + ebx*2], 4
jae 0x4214d9
mov eax, dword [esp + 0x2c]
mov byte [eax + edi], 0
inc edi
inc word [edx + ebx*2]
cmp word [edx + ebx*2], 4
jb 0x4214c5
mov dword [esp + 0x48], edi
mov edx, dword [esp + 0x30]
inc ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], ebx
inc edx
mov dword [esp + 0x30], edx
cmp edx, dword [esp + 0x44]
jl 0x421310
mov eax, dword [esp + 0x70]
xor edx, edx
movzx esi, ax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 0x24]
add eax, 0xfffffff4
add esi, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], esi
test eax, eax
jle 0x4215ba
mov ecx, eax
lea esi, [esp + 0xfc]
lea edi, [esp + 0xc0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x4c]
nop dword [eax]
nop dword [eax + eax]
mov esi, dword [esp + edx*4 + 0x74]
mov edi, ecx
mov dword [esp + 0x2c], 0
movzx eax, word [esi + 0x14]
sub edi, eax
cmp byte [esi + 0xc], 0
lea eax, [esp + 0x9c]
lea eax, [eax + edx*4]
mov dword [eax], edi
mov dword [esp + 0x3c], eax
jbe 0x4215a5
lea ebx, [esi + 0x24]
nop dword [eax]
push dword [ebx]
mov eax, dword [esi + 0x4c]
push esi
call eax
mov ecx, dword [esp + 0x34]
lea ebx, [ebx + 4]
movzx eax, ax
inc ecx
add eax, 2
mov dword [esp + 0x34], ecx
add edi, eax
add esp, 8
movzx eax, byte [esi + 0xc]
cmp ecx, eax
jl 0x421570
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov dword [eax], edi
mov eax, dword [esp + 0x44]
inc edx
mov dword [esp + 0x1c], edx
cmp edx, eax
jl 0x421540
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x30], 0
mov ecx, eax
mov dword [esp + 0x48], ecx
test eax, eax
jle 0x4217f9
xor edx, edx
lea eax, [esp + 0xc0]
mov edi, 1
mov dword [esp + 0x10], edx
sub eax, 4
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c], eax
nop dword [eax]
cmp dword [esp + edx + 0x9c], esi
jle 0x4216f1
nop dword [eax]
cmp edi, ecx
jl 0x421626
lea eax, [edi + 1]
mov dword [esp + 0x48], eax
cmp eax, 5
jg 0x4218f6
mov dword [esp + edx + 0xa0], 0
mov dword [esp + edx + 0xc4], ebx
mov esi, dword [esp + edx + 0xc0]
mov ecx, dword [esp + 0x5c]
lea edi, [esi - 1]
movzx eax, word [ecx + edi*2]
test ax, ax
jne 0x42165b
mov edx, edi
lea ecx, [esp + 0x50]
call fcn.00420730
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x5c]
movzx eax, ax
mov dword [esp + 0x24], ebx
movzx eax, ax
add eax, 2
sub dword [esp + edx + 0x9c], eax
cmp dword [esp + 0x60], 0
jne 0x4216ca
cmp esi, ebx
jge 0x4216c8
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x421692
mov edx, esi
lea ecx, [esp + 0x50]
call fcn.00420730
mov ebx, dword [esp + 0x50]
movzx eax, ax
mov dword [esp + 0x24], ebx
mov edx, dword [esp + 0x10]
movzx eax, ax
add eax, 2
jmp 0x4216ca
push 0x56cfb4
push 0x10532
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0040bbc0
add esp, 0x14
mov edi, 0xb
xor ebx, ebx
jmp 0x421a9e
xor eax, eax
add dword [esp + edx + 0xa0], eax
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov dword [esp + edx + 0xc0], edi
mov edi, dword [esp + 0x28]
cmp dword [esp + edx + 0x9c], esi
jg 0x421600
cmp dword [esp + edx + 0xc0], ebx
jge 0x4217a3
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + edx + 0xc0]
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x42172c
mov edx, esi
lea ecx, [esp + 0x50]
call fcn.00420730
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x5c]
movzx eax, ax
movzx ecx, ax
mov eax, dword [esp + edx + 0x9c]
add ecx, 2
add eax, ecx
cmp eax, dword [esp + 0x4c]
jg 0x421797
inc esi
mov dword [esp + edx + 0x9c], eax
cmp dword [esp + 0x60], 0
mov dword [esp + edx + 0xc0], esi
jne 0x421788
cmp esi, ebx
jge 0x421786
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x42177e
mov edx, esi
lea ecx, [esp + 0x50]
call fcn.00420730
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x5c]
movzx eax, ax
movzx ecx, ax
add ecx, 2
jmp 0x421788
xor ecx, ecx
sub dword [esp + edx + 0xa0], ecx
cmp esi, ebx
jl 0x421702
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + edx + 0xc0]
cmp ecx, ebx
jl 0x4217b6
mov ecx, edi
mov dword [esp + 0x48], ecx
jmp 0x4217d4
cmp dword [esp + 0x30], 0
jle 0x4217c6
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + edx]
jmp 0x4217c8
xor eax, eax
cmp ecx, eax
jle 0x421924
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
add edx, 4
inc eax
mov dword [esp + 0x10], edx
inc edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
cmp eax, ecx
jl 0x4215f0
mov edx, dword [esp + 0x58]
mov dword [esp + 0x10], edx
lea eax, [ecx - 1]
mov ecx, eax
mov dword [esp + 0x1c], eax
test ecx, ecx
jle 0x4219a7
nop word [eax + eax]
shl ecx, 2
mov dword [esp + 0x28], ecx
mov eax, dword [esp + ecx + 0x98]
mov edi, dword [esp + ecx + 0x9c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xc0]
sub eax, 4
mov dword [esp + 0x30], eax
mov esi, dword [eax + ecx]
mov eax, dword [esp + 0x5c]
dec esi
mov edx, esi
sub edx, dword [esp + 0x60]
inc edx
lea ebx, [edx + edx]
cmp word [ebx + eax], 0
jne 0x421860
lea ecx, [esp + 0x50]
call fcn.00420730
nop dword [eax]
mov edx, dword [esp + 0x5c]
cmp word [edx + esi*2], 0
jne 0x42187a
mov edx, esi
lea ecx, [esp + 0x50]
call fcn.00420730
mov edx, dword [esp + 0x5c]
test edi, edi
je 0x4218bf
cmp dword [ebp + 0x10], 0
jne 0x421952
mov ecx, dword [esp + 0x48]
mov eax, 2
mov edx, dword [esp + 0x5c]
dec ecx
cmp dword [esp + 0x1c], ecx
mov ecx, 0
cmove eax, ecx
mov ecx, dword [esp + 0x24]
sub ecx, eax
movzx eax, word [edx + esi*2]
sub ecx, eax
movzx eax, word [edx + ebx]
add eax, 2
add eax, edi
cmp eax, ecx
jg 0x421952
movzx eax, word [edx + ebx]
mov ecx, 0xfffffffe
add eax, 2
sub ebx, 2
add edi, eax
movzx eax, word [edx + esi*2]
mov edx, dword [esp + 0x28]
sub ecx, eax
mov eax, dword [esp + 0x24]
add eax, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov dword [ecx + edx], esi
sub esi, 1
jns 0x421860
jmp 0x42195a
push 0x56cfb4
push 0x1059f
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0040bbc0
mov eax, dword [esp + 0x6c]
add esp, 0x14
mov edi, 0xb
xor ebx, ebx
jmp 0x421aa2
push 0x56cfb4
push 0x105c0
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0040bbc0
mov eax, dword [esp + 0x6c]
add esp, 0x14
mov edi, 0xb
xor ebx, ebx
jmp 0x421aa2
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [esp + edx + 0x9c], edi
mov dword [esp + edx + 0x98], eax
cmp ecx, 1
jle 0x42197b
mov eax, dword [esp + 0x30]
mov eax, dword [eax + edx - 4]
jmp 0x42197d
xor eax, eax
mov esi, dword [esp + 0x30]
cmp dword [esi + edx], eax
jle 0x421a1c
dec ecx
mov dword [esp + 0x1c], ecx
test ecx, ecx
jg 0x421810
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x74]
xor edi, edi
mov eax, dword [eax + 0x38]
movzx eax, byte [eax]
mov dword [esp + 0x1c], eax
lea eax, [edi + 1]
cmp dword [esp + 0x48], edi
jle 0x421b98
cmp edi, dword [esp + 0x44]
jge 0x421af3
mov eax, dword [esp + edi*4 + 0x74]
mov dword [esp + edi*4 + 0x84], eax
mov dword [esp + edi*4 + 0x74], 0
mov dword [esp + 0x2c], eax
mov esi, dword [eax + 0x48]
test byte [esi + 0x1c], 4
mov ecx, dword [esi + 0x14]
je 0x421a59
mov eax, dword [ecx + 0x1c]
cmp eax, dword [esi + 0x18]
jb 0x421a59
cmp dword [ecx + 0x68], 0
je 0x421a55
mov ecx, esi
call fcn.004131a0
test eax, eax
je 0x421a47
mov ecx, esi
call fcn.00415bc0
mov dword [esp + 0x14], eax
mov edx, eax
jmp 0x421a86
push 0x56cfb4
push 0x105ea
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0040bbc0
mov eax, dword [esp + 0x6c]
add esp, 0x14
mov edi, 0xb
xor ebx, ebx
jmp 0x421aa2
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
jmp 0x421a86
xor edx, edx
jmp 0x421a82
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x14], edx
test edx, edx
jne 0x421a86
mov eax, dword [ecx + 0x9c]
cmp eax, dword [ecx + 0xa0]
mov ecx, esi
jbe 0x421a7b
call fcn.00417170
jmp 0x421a80
call fcn.00417090
mov edx, eax
mov dword [esp + 0x14], edx
inc dword [esp + 0x18]
mov dword [esp + 0x20], edx
test edx, edx
je 0x421b88
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, eax
call fcn.00409770
mov eax, dword [esp + 0x44]
xor esi, esi
test eax, eax
jle 0x421acc
mov ecx, dword [esp + esi*4 + 0x74]
test ecx, ecx
je 0x421ac7
mov ecx, dword [ecx + 0x48]
call fcn.00416cd0
mov eax, dword [esp + 0x44]
inc esi
cmp esi, eax
jl 0x421ab3
xor esi, esi
test ebx, ebx
jle 0x421aea
mov ecx, dword [esp + esi*4 + 0x84]
test ecx, ecx
je 0x421ae5
mov ecx, dword [ecx + 0x48]
call fcn.00416cd0
inc esi
cmp esi, ebx
jl 0x421ad2
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x10], 0
lea edx, [esp + 0x2c]
mov ecx, dword [esp + 0x40]
cmovne ecx, eax
lea eax, [esp + 0x80]
push 0
push ecx
mov ecx, dword [esp + 0x40]
push eax
call fcn.0041f750
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
test eax, eax
jne 0x421a96
mov esi, dword [esp + 0x2c]
mov ecx, esi
mov edx, dword [esp + 0x1c]
call fcn.0041c070
mov ecx, dword [esp + 0x38]
inc dword [esp + 0x18]
mov dword [esp + edi*4 + 0x84], esi
mov dword [esp + edi*4 + 0xfc], ebx
cmp byte [ecx + 0x11], 0
je 0x421b7d
mov edx, dword [esi + 4]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x38]
push dword [eax + 4]
push 5
call fcn.0041ae40
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x421a96
mov eax, dword [esp + 0x80]
mov dword [esp + 0x40], eax
inc edi
mov eax, 1
cmp edi, dword [esp + 0x48]
jl 0x4219c4
mov edi, dword [esp + 0x18]
xor ecx, ecx
test edi, edi
jle 0x421be7
mov eax, dword [esp + ecx*4 + 0x84]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x48]
mov dword [esp + ecx*4 + 0x110], edx
mov dword [esp + ecx*4 + 0xe0], edx
mov ax, word [eax + 0x1c]
mov word [esp + ecx*2 + 0xb0], ax
xor eax, eax
test ecx, ecx
jle 0x421be2
nop
cmp dword [esp + eax*4 + 0x110], edx
je 0x421d79
inc eax
cmp eax, ecx
jl 0x421bd0
inc ecx
cmp ecx, edi
jl 0x421ba2
xor esi, esi
mov dword [esp + 0x2c], esi
test edi, edi
jle 0x421caf
mov ebx, dword [esp + 0x18]
xor edi, edi
lea ecx, [edi + 1]
cmp ebx, ecx
jle 0x421c34
xor esi, esi
nop dword [eax]
nop dword [eax + eax]
lea edx, [ecx*4]
mov eax, dword [esp + edx + 0xe0]
cmp eax, dword [esp + esi + 0xe0]
jae 0x421c2b
mov edi, ecx
mov esi, edx
inc ecx
cmp ecx, ebx
jl 0x421c10
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + edi*4 + 0xe0]
mov dword [esp + 0x3c], eax
mov dword [esp + edi*4 + 0xe0], 0xffffffff
cmp edi, esi
je 0x421c9a
jle 0x421c6f
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x2c]
mov eax, dword [esp + edi*4 + 0x84]
inc edx
add edx, edi
mov ecx, dword [eax + 0x48]
xor eax, eax
mov word [ecx + 0x1c], ax
call fcn.00411b70
mov eax, dword [esp + esi*4 + 0x84]
mov ecx, dword [eax + 0x48]
mov ax, word [esp + edi*2 + 0xb0]
mov edi, dword [esp + 0x3c]
mov edx, edi
mov word [ecx + 0x1c], ax
call fcn.00411b70
mov eax, dword [esp + esi*4 + 0x84]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x18]
inc esi
mov dword [esp + 0x2c], esi
cmp esi, edi
jl 0x421bf5
mov ebx, dword [esp + 0x24]
test byte [esp + 0x1c], 8
mov eax, dword [esp + edi*4 + 0x80]
mov ecx, dword [esp + 0x64]
mov eax, dword [eax + 4]
bswap eax
mov dword [ecx], eax
jne 0x421cf7
mov ecx, dword [esp + 0x44]
cmp ecx, edi
je 0x421cf7
cmp edi, ecx
lea edx, [esp + 0x74]
lea eax, [esp + 0x84]
cmovle eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + edi*4 + 0x80]
mov ecx, dword [eax + 0x38]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
cmp byte [edx + 0x11], 0
je 0x421efc
mov esi, dword [esp + 0x84]
xor edi, edi
mov dword [esp + 0x64], 0
mov eax, dword [esi + 0x38]
movzx ecx, word [esi + 0x16]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xc]
add ecx, eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ecx
test ebx, ebx
jle 0x421f03
xor eax, eax
mov dword [esp + 0x40], eax
nop word [eax + eax]
mov edx, dword [esp + 0x10]
mov edx, dword [edx + edi*4]
mov dword [esp + 0x28], edx
cmp edi, dword [esp + 0x1c]
jne 0x421dd5
inc ecx
mov dword [esp + 0x30], ecx
cmp ecx, dword [esp + 0x18]
jge 0x421da1
mov edx, dword [esp + ecx*4 + 0x84]
jmp 0x421da5
push 0x56cfb4
push 0x10634
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0040bbc0
add esp, 0x14
mov edi, 0xb
jmp 0x421a9a
mov edx, dword [esp + ecx*4 + 0x74]
movzx eax, word [edx + 0x16]
xor ecx, ecx
cmp dword [esp + 0x60], ecx
sete cl
add ecx, eax
movzx eax, byte [edx + 0xc]
add eax, dword [esp + 0x1c]
add eax, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
cmp edi, dword [esp + eax + 0xc0]
jne 0x421e00
mov eax, dword [esp + 0x64]
inc eax
mov dword [esp + 0x64], eax
shl eax, 2
cmp dword [esp + 0x60], 0
mov dword [esp + 0x40], eax
mov esi, dword [esp + eax + 0x84]
je 0x421eef
cmp ecx, dword [esp + 0x18]
jge 0x421e26
mov eax, dword [esi + 4]
cmp eax, dword [esp + ecx*4 + 0x110]
jne 0x421e26
mov eax, dword [esp + 0x2c]
cmp edx, eax
jb 0x421e26
add eax, dword [esp + 0x3c]
cmp edx, eax
jb 0x421eeb
cmp word [esp + 0x70], 0
jne 0x421e50
mov edx, dword [edx]
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x38]
push eax
push dword [esi + 4]
bswap edx
push 5
call fcn.0041ae40
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x5c]
movzx eax, word [eax + edi*2]
test ax, ax
jne 0x421e77
mov edx, edi
lea ecx, [esp + 0x50]
call fcn.00420730
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x50]
movzx eax, ax
cmp ax, word [esi + 0x10]
jbe 0x421edf
cmp dword [esp + 0x14], 0
jne 0x421a96
lea eax, [esp + 0xe0]
push eax
push dword [esp + 0x2c]
mov eax, dword [esi + 0x50]
push esi
call eax
movzx eax, word [esp + 0xfc]
add esp, 0xc
cmp eax, dword [esp + 0xec]
jae 0x421eeb
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x20]
mov ecx, dword [esi + 0x34]
push eax
movzx eax, word [esp + 0xf6]
push dword [esi + 4]
push 3
mov edx, dword [eax + edx - 4]
bswap edx
call fcn.0041ae40
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x421ee3
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x421a96
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
inc edi
cmp edi, ebx
jl 0x421d50
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x18]
xor edi, edi
lea eax, [ecx - 1]
test eax, eax
jle 0x42208e
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [esp + edi*4 + 0xc0]
mov edx, dword [esp + 0x10]
mov esi, dword [edx + eax*4]
lea edx, [edx + eax*4]
mov ecx, dword [esp + edi*4 + 0x84]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x70]
movzx eax, word [edx + eax*2]
movzx edx, ax
mov dword [esp + 0x98], eax
movzx eax, cx
mov ecx, dword [esp + 0x64]
add edx, eax
mov eax, dword [ebp + 8]
add eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
cmp byte [ecx + 8], 0
jne 0x421f7d
mov ecx, dword [ecx + 0x38]
mov eax, dword [esi]
mov dword [ecx + 8], eax
jmp 0x42203d
cmp dword [esp + 0x60], 0
je 0x42201e
lea eax, [esp + 0x110]
push eax
mov eax, dword [esp + 0x40]
push dword [eax - 4]
mov eax, dword [ecx + 0x50]
push ecx
call eax
mov eax, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [esp + 0x114]
mov esi, eax
mov ecx, dword [esp + 0x110]
add eax, 4
mov dword [esp + 0x3c], eax
test edx, edx
ja 0x42200b
jb 0x421fc6
cmp ecx, 0x7f
ja 0x421fda
and cl, 0x7f
mov byte [eax], cl
mov eax, 1
lea edx, [eax + 4]
xor eax, eax
jmp 0x422041
test edx, edx
ja 0x42200b
jb 0x421fe8
cmp ecx, 0x3fff
ja 0x42200b
mov eax, ecx
and cl, 0x7f
shrd eax, edx, 7
shr edx, 7
or al, 0x80
mov edx, dword [esp + 0x3c]
mov byte [edx], al
mov eax, 2
mov byte [edx + 1], cl
lea edx, [eax + 4]
xor eax, eax
jmp 0x422041
push edx
push ecx
mov ecx, eax
call fcn.0040d4b0
add esp, 8
lea edx, [eax + 4]
xor eax, eax
jmp 0x422041
sub esi, 4
cmp word [esp + 0x98], 4
jne 0x422041
mov eax, dword [esp + 0x34]
push esi
push eax
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
movzx edx, ax
mov eax, dword [esp + 0x1c]
add dword [esp + 0x6c], edx
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x68]
push dword [ecx + 4]
mov ecx, dword [esp + 0x3c]
push eax
push edx
mov edx, dword [esp + 0x78]
push esi
lea edx, [edx + edi]
call fcn.004205d0
mov eax, dword [esp + 0x34]
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
jne 0x421a96
mov ecx, dword [esp + 0x18]
inc edi
lea eax, [ecx - 1]
cmp edi, eax
jl 0x421f20
mov esi, dword [esp + 0x84]
mov eax, 1
sub eax, ecx
mov dword [esp + 0x6c], eax
cmp eax, ecx
jge 0x422185
cdq
lea edi, [esp + 0xd4]
mov ecx, eax
xor ecx, edx
sub ecx, edx
add edi, ecx
cmp byte [edi], 0
jne 0x422163
cmp dword [esp + 0x6c], 0
jge 0x4220d5
mov eax, dword [esp + ecx*4 + 0xf8]
cmp eax, dword [esp + ecx*4 + 0xbc]
jl 0x422163
test ecx, ecx
jne 0x4220e6
mov edx, dword [esp + 0xc0]
xor ebx, ebx
xor eax, eax
jmp 0x422115
cmp ecx, dword [esp + 0x44]
jge 0x4220fc
xor ebx, ebx
cmp dword [esp + 0x60], ebx
sete bl
add ebx, dword [esp + ecx*4 + 0xf8]
mov edx, dword [esp + ecx*4 + 0xc0]
xor eax, eax
cmp dword [esp + 0x60], eax
sete al
add eax, dword [esp + ecx*4 + 0xbc]
sub edx, eax
lea esi, [ecx*4]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + esi + 0x88]
push edx
push eax
mov edx, ebx
call fcn.00420a30
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4221f2
mov eax, dword [esp + esi + 0x84]
mov cx, word [esp + 0x4c]
sub cx, word [esp + esi + 0x9c]
mov ebx, dword [esp + 0x50]
mov byte [edi], 1
mov word [eax + 0x14], cx
mov eax, dword [esp + 0x6c]
inc eax
mov dword [esp + 0x6c], eax
cmp eax, dword [esp + 0x18]
jl 0x4220a1
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x84]
mov dword [esp + 0x10], eax
cmp dword [ebp + 0xc], 0
je 0x4221ff
mov ebx, dword [esp + 0x34]
cmp word [ebx + 0x16], 0
jne 0x4221ff
movzx eax, byte [ebx + 9]
cmp ax, word [esi + 0x14]
ja 0x4221ff
or edx, 0xffffffff
mov ecx, esi
call fcn.0041b360
mov ecx, dword [esp + 0x84]
mov edx, ebx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
call fcn.00420e90
mov edi, dword [esp + 0x24]
add esp, 4
test edi, edi
jne 0x42225a
mov ecx, dword [esp + 0x84]
mov edx, ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x34]
call fcn.0041fd70
add esp, 4
mov edi, eax
jmp 0x42225a
mov edi, dword [esp + 0x58]
mov dword [esp + 0x10], edi
jmp 0x421a96
mov ecx, dword [esp + 0x38]
cmp byte [ecx + 0x11], 0
je 0x422256
cmp word [esp + 0x70], 0
mov ebx, dword [esp + 0x18]
jne 0x422250
xor esi, esi
test ebx, ebx
jle 0x422250
nop dword [eax + eax]
mov eax, dword [esp + esi*4 + 0x84]
lea edx, [esp + 0x20]
push edx
push dword [eax + 4]
mov eax, dword [eax + 0x38]
push 5
mov edx, dword [eax + 8]
bswap edx
call fcn.0041ae40
mov ecx, dword [esp + 0x44]
inc esi
add esp, 0xc
cmp esi, ebx
jl 0x422220
mov edi, dword [esp + 0x20]
jmp 0x42225e
mov edi, dword [esp + 0x14]
jmp 0x42225e
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov esi, ebx
cmp ebx, eax
jge 0x421a9e
nop dword [eax]
mov ecx, dword [esp + esi*4 + 0x74]
test edi, edi
jne 0x42228e
push dword [ecx + 4]
mov edx, ecx
mov ecx, dword [ecx + 0x34]
call fcn.0041fd70
mov edi, eax
add esp, 4
mov eax, dword [esp + 0x44]
inc esi
cmp esi, eax
jl 0x422270
jmp 0x421a9e