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

Disassembly:
sub esp, 0x100
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
push edi
mov edi, dword [esp + 0x110]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x70], ebx
mov eax, dword [edi + 0x34]
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xc0], bl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x118], ebx
jne 0x60c143
pop edi
pop ebp
lea eax, [ebx + 7]
pop ebx
add esp, 0x100
ret
movzx edx, word [edi + 0x16]
movzx ecx, byte [edi + 0xc]
push esi
lea esi, [ecx + edx]
cmp esi, 2
jge 0x60c15a
mov dword [esp + 0x54], ebx
jmp 0x60c194
mov eax, dword [esp + 0x118]
test eax, eax
jne 0x60c16b
mov dword [esp + 0x54], ebx
jmp 0x60c186
cmp eax, esi
jne 0x60c181
mov eax, dword [esp + 0x124]
add esi, 0xfffffffe
add esi, eax
mov dword [esp + 0x54], esi
jmp 0x60c18d
dec eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x124]
mov esi, 2
sub esi, eax
lea eax, [esi + 1]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x54]
sub eax, ecx
lea ecx, [eax + esi]
cmp ecx, edx
jne 0x60c1b1
movzx ecx, byte [edi + 9]
add ecx, 8
jmp 0x60c1c5
mov eax, dword [edi + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x18]
movzx ecx, cx
and ecx, eax
add ecx, dword [edi + 0x38]
mov dword [esp + 0x60], ecx
mov edi, dword [ecx]
bswap edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x70], edi
jmp 0x60c1e0
mov eax, dword [esp + 0x40]
cmp edi, dword [eax + 0x2c]
jbe 0x60c215
push 0x6c9afc
push 0xf14e
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00605420
mov edi, 0xb
add esp, 0x14
mov dword [esp + 0x10], edi
jmp 0x60c29b
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push 0
push ecx
push edi
push eax
mov eax, dword [eax + 0xc8]
call eax
mov edi, eax
add esp, 0x10
mov dword [esp + 0x10], edi
test edi, edi
jne 0x60c29b
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 8]
mov dword [esp + esi*4 + 0x64], ecx
cmp byte [ecx], al
jne 0x60c321
mov edi, dword [esp + 0x38]
cmp edi, dword [ecx + 4]
je 0x60c271
mov eax, dword [edx + 4]
cmp edi, 1
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0x40]
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 edi, ecx
push edi
call fcn.0060e3a0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x60c321
test edi, edi
je 0x60c297
push dword [edi + 0x48]
call fcn.0065dcd0
add esp, 4
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x60d30e
mov eax, dword [esp + esi*4 + 0x64]
movzx ecx, word [eax + 0x16]
movzx eax, byte [eax + 0xc]
inc eax
add ebx, eax
mov eax, esi
add ebx, ecx
dec esi
mov dword [esp + 0x14], ebx
test eax, eax
je 0x60c43e
mov edi, dword [esp + 0x114]
mov dl, byte [edi + 0xc]
test dl, dl
je 0x60c32c
mov ecx, dword [esp + 0x54]
movzx eax, word [edi + 0x1a]
add ecx, esi
cmp ecx, eax
jne 0x60c32c
mov eax, dword [edi + 0x24]
push eax
mov dword [esp + esi*4 + 0xa4], eax
mov edi, dword [eax]
mov eax, dword [esp + 0x118]
bswap edi
push eax
mov dword [esp + 0x40], edi
mov eax, dword [eax + 0x4c]
mov dword [esp + 0x78], edi
call eax
movzx eax, ax
add esp, 8
mov dword [esp + esi*4 + 0x78], eax
mov eax, dword [esp + 0x114]
mov byte [eax + 0xc], 0
jmp 0x60c1e0
xor edi, edi
mov dword [esp + 0x10], edi
jmp 0x60c29b
mov ecx, dword [esp + 0x54]
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 + 0xa4], eax
mov edi, dword [eax]
mov eax, dword [esp + 0x118]
bswap edi
push eax
mov dword [esp + 0x40], edi
mov eax, dword [eax + 0x4c]
mov dword [esp + 0x78], edi
call eax
mov edx, dword [esp + 0x48]
add esp, 8
movzx ebx, ax
mov dword [esp + esi*4 + 0x78], ebx
test byte [edx + 0x16], 0xc
je 0x60c3d2
mov eax, dword [esp + 0x114]
mov edi, dword [esp + esi*4 + 0xa0]
mov ecx, edi
sub ecx, dword [eax + 0x38]
lea eax, [ebx + ecx]
cmp eax, dword [edx + 0x24]
jg 0x60c3fe
mov eax, dword [esp + 0x11c]
push ebx
add eax, ecx
push edi
push eax
call sub.MSVCRT.dll_memcpy
mov edx, dword [esp + 0x120]
add esp, 0xc
sub edi, dword [edx + 0x38]
add edi, dword [esp + 0x11c]
mov dword [esp + esi*4 + 0xa0], edi
mov edi, dword [esp + 0x38]
jmp 0x60c3d9
mov edx, dword [esp + 0x114]
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x18]
push eax
movzx eax, byte [edx + 0xc]
sub ecx, eax
push ebx
add ecx, esi
push ecx
push edx
call fcn.00615d50
mov ebx, dword [esp + 0x24]
add esp, 0x10
jmp 0x60c1e0
push 0x6c9afc
push 0x105a9
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00605420
lea eax, [esi*4 + 4]
mov ebp, 0xb
push eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x28], ebp
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x20
jmp 0x60d329
mov eax, dword [esp + 0x40]
lea esi, [ebx + 3]
and esi, 0xfffffffc
mov eax, dword [eax + 0x20]
lea ecx, [esi + esi*2]
lea eax, [eax + ecx*2]
cdq
push edx
push eax
call fcn.0065af30
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
jne 0x60c472
mov ebp, 7
mov dword [esp + 0x10], ebp
jmp 0x60d329
mov ecx, dword [esp + 0x64]
lea edx, [eax + esi*4]
lea eax, [edx + esi*2]
mov dword [esp + 0x34], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], ecx
movzx eax, byte [ecx + 8]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x58], eax
movzx eax, byte [ecx + 3]
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x44], eax
jle 0x60c6aa
nop
mov ecx, dword [ecx + 0x38]
shl eax, 2
mov dword [esp + 0xc8], eax
mov edi, dword [esp + eax + 0x64]
mov dword [esp + 0x1c], edi
mov ebx, dword [edi + 0x38]
movzx eax, word [edi + 0x18]
movzx esi, word [edi + 0x12]
mov dword [esp + 0x5c], eax
add esi, ebx
mov al, byte [ebx]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x14], esi
cmp al, byte [ecx]
jne 0x60c808
movzx eax, byte [edi + 0xc]
movzx ecx, word [edi + 0x16]
add ecx, eax
mov eax, dword [esp + 0x28]
add ecx, ecx
push ecx
push 0
lea eax, [edx + eax*2]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp byte [edi + 0xc], 0
jbe 0x60c582
movzx edx, word [edi + 0x1a]
test edx, edx
jle 0x60c54e
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x28]
movzx eax, ax
mov ebp, eax
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
movzx eax, cx
mov ecx, dword [esp + 0x30]
and eax, ebp
add eax, ebx
mov dword [ecx + edi*4], eax
inc edi
dec edx
jne 0x60c522
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
xor edx, edx
cmp byte [edi + 0xc], dl
jbe 0x60c582
mov ebp, dword [esp + 0x28]
lea ecx, [edi + 0x24]
mov esi, dword [esp + 0x30]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [esi + ebp*4], eax
inc edx
movzx eax, byte [edi + 0xc]
inc ebp
cmp edx, eax
jl 0x60c560
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x20]
movzx eax, word [edi + 0x12]
xor edx, edx
movzx ecx, word [edi + 0x16]
add eax, ebx
lea eax, [eax + ecx*2]
mov ecx, eax
sub ecx, esi
inc ecx
shr ecx, 1
cmp eax, esi
sbb ebx, ebx
not ebx
and ebx, ecx
jbe 0x60c5e5
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x50]
movzx eax, ax
mov dword [esp + 0x14], eax
mov edi, eax
mov ax, word [esi]
lea esi, [esi + 2]
mov ch, al
inc edx
mov cl, ah
movzx eax, cx
mov ecx, dword [esp + 0x28]
and eax, edi
mov edi, dword [esp + 0x30]
add eax, ebp
mov dword [edi + ecx*4], eax
inc ecx
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
cmp edx, ebx
jb 0x60c5b3
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
dec eax
mov dword [esp + ecx + 0xe4], edx
cmp dword [esp + 0x3c], eax
jge 0x60c68f
cmp dword [esp + 0x4c], 0
jne 0x60c68f
movzx eax, word [esp + ecx + 0x78]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x48]
push eax
push dword [esp + ecx + 0xa4]
mov word [esi + edx*2], ax
lea esi, [ebx + ebp]
add ebp, eax
push esi
mov dword [esp + 0x2c], ebp
call sub.MSVCRT.dll_memcpy
mov eax, dword [esp + 0x64]
add esp, 0xc
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
movzx eax, ax
add eax, esi
mov esi, dword [esp + 0x58]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x34]
sub word [eax + edx*2], si
cmp byte [edi + 8], 0
jne 0x60c66f
mov eax, dword [edi + 0x38]
mov ecx, dword [ecx + edx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
jmp 0x60c68a
cmp word [eax + edx*2], 4
jae 0x60c68a
mov byte [ebx + ebp], 0
inc ebp
inc word [eax + edx*2]
cmp word [eax + edx*2], 4
jb 0x60c676
mov dword [esp + 0x20], ebp
inc edx
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
inc eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x44]
jl 0x60c4b0
mov eax, dword [esp + 0x58]
xor edx, edx
movzx ebx, ax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 0x24]
add eax, 0xfffffff4
add ebx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x50], ebx
test eax, eax
jle 0x60c73f
mov ecx, eax
lea esi, [esp + 0xe4]
lea edi, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + edx*4 + 0x64]
mov edi, ebx
xor ebp, ebp
movzx eax, word [esi + 0x14]
sub edi, eax
cmp byte [esi + 0xc], 0
lea eax, [esp + 0x78]
lea eax, [eax + edx*4]
mov dword [eax], edi
mov dword [esp + 0x48], eax
jbe 0x60c732
lea ebx, [esi + 0x24]
push dword [ebx]
mov eax, dword [esi + 0x4c]
push esi
call eax
movzx eax, ax
lea ebx, [ebx + 4]
add eax, 2
inc ebp
add edi, eax
add esp, 8
movzx eax, byte [esi + 0xc]
cmp ebp, eax
jl 0x60c705
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x50]
mov dword [eax], edi
mov eax, dword [esp + 0x44]
inc edx
mov dword [esp + 0x1c], edx
cmp edx, eax
jl 0x60c6e1
xor edi, edi
mov ecx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], edi
test eax, eax
jle 0x60c936
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x8c]
xor ebx, ebx
mov ebp, 1
sub eax, 4
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
cmp dword [esp + ebx + 0x78], eax
jle 0x60c85b
mov edi, edi
cmp ebp, ecx
jl 0x60c7a3
lea ecx, [ebp + 1]
mov dword [esp + 0x20], ecx
cmp ecx, 5
jg 0x60ca2b
mov dword [esp + ebx + 0x7c], 0
mov dword [esp + ebx + 0x90], edx
mov esi, dword [esp + ebx + 0x8c]
mov ecx, dword [esp + 0x34]
lea edi, [esi - 1]
movzx eax, word [ecx + edi*2]
test ax, ax
jne 0x60c7cf
lea eax, [esp + 0x28]
push edi
push eax
call fcn.006129f0
mov ecx, dword [esp + 0x3c]
add esp, 8
movzx eax, ax
movzx eax, ax
add eax, 2
sub dword [esp + ebx + 0x78], eax
cmp dword [esp + 0x4c], 0
jne 0x60c836
cmp esi, dword [esp + 0x28]
jge 0x60c834
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x60c800
lea eax, [esp + 0x28]
push esi
push eax
call fcn.006129f0
add esp, 8
movzx eax, ax
movzx eax, ax
add eax, 2
jmp 0x60c836
push 0x6c9afc
push 0x105ea
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00605420
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x60d2ad
xor eax, eax
add dword [esp + ebx + 0x7c], eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov dword [esp + ebx + 0x8c], edi
cmp dword [esp + ebx + 0x78], eax
jg 0x60c780
mov edi, dword [esp + 0x3c]
cmp dword [esp + ebx + 0x8c], edx
jge 0x60c8f3
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + ebx + 0x8c]
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x60c895
lea eax, [esp + 0x28]
push esi
push eax
call fcn.006129f0
mov edx, dword [esp + 0x30]
add esp, 8
movzx eax, ax
movzx ecx, ax
mov eax, dword [esp + ebx + 0x78]
add ecx, 2
add eax, ecx
cmp eax, dword [esp + 0x50]
jg 0x60c8eb
inc esi
mov dword [esp + ebx + 0x78], eax
mov dword [esp + ebx + 0x8c], esi
test ebp, ebp
jne 0x60c8e3
cmp esi, edx
jge 0x60c8e1
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x60c8d9
lea eax, [esp + 0x28]
push esi
push eax
call fcn.006129f0
mov edx, dword [esp + 0x30]
add esp, 8
movzx eax, ax
movzx ecx, ax
add ecx, 2
jmp 0x60c8e3
xor ecx, ecx
sub dword [esp + ebx + 0x7c], ecx
cmp esi, edx
jl 0x60c870
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + ebx + 0x8c]
cmp ecx, edx
jl 0x60c906
mov ecx, ebp
mov dword [esp + 0x20], ecx
jmp 0x60c921
test edi, edi
jle 0x60c913
mov eax, dword [esp + 0x48]
mov eax, dword [eax + ebx]
jmp 0x60c915
xor eax, eax
cmp ecx, eax
jle 0x60ca57
mov ecx, dword [esp + 0x20]
inc edi
inc ebp
add ebx, 4
mov dword [esp + 0x3c], edi
mov dword [esp + 0x1c], ebp
cmp edi, ecx
jl 0x60c770
lea eax, [ecx - 1]
mov ecx, eax
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x60cabe
jmp 0x60c950
lea eax, [esp + 0x8c]
sub eax, 4
lea edx, [ecx*4]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + edx + 0x78]
mov ebp, dword [esp + edx + 0x74]
mov esi, dword [edx + eax]
mov dword [esp + 0x3c], eax
dec esi
mov eax, esi
mov dword [esp + 0x5c], edx
sub eax, dword [esp + 0x4c]
inc eax
cmp word [ecx + eax*2], 0
lea ebx, [ecx + eax*2]
jne 0x60c9a4
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.006129f0
add esp, 8
jmp 0x60c9a0
mov ecx, dword [esp + 0x34]
cmp word [ecx + esi*2], 0
jne 0x60c9b9
lea eax, [esp + 0x28]
push esi
push eax
call fcn.006129f0
add esp, 8
test edi, edi
je 0x60c9fb
cmp dword [esp + 0x124], 0
jne 0x60ca83
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
dec ecx
sub eax, ecx
mov ecx, ebp
neg eax
sbb eax, eax
and eax, 2
sub ecx, eax
mov eax, dword [esp + 0x34]
movzx eax, word [eax + esi*2]
sub ecx, eax
movzx eax, word [ebx]
add eax, 2
add eax, edi
cmp eax, ecx
jg 0x60ca83
movzx eax, word [ebx]
mov ecx, 0xfffffffe
mov edx, dword [esp + 0x5c]
add eax, 2
add edi, eax
sub ebx, 2
mov eax, dword [esp + 0x34]
movzx eax, word [eax + esi*2]
sub ecx, eax
mov eax, dword [esp + 0x3c]
add ebp, ecx
mov dword [edx + eax], esi
dec esi
jns 0x60c9a0
jmp 0x60ca8b
push 0x6c9afc
push 0x10657
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00605420
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x60d2ad
push 0x6c9afc
push 0x10678
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00605420
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x60d2ad
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x14]
mov dword [esp + edx + 0x78], edi
mov dword [esp + edx + 0x74], ebp
cmp ecx, 1
jle 0x60caa2
mov eax, dword [edx + eax - 4]
jmp 0x60caa4
xor eax, eax
mov esi, dword [esp + 0x3c]
cmp dword [edx + esi], eax
jle 0x60cb39
dec ecx
mov dword [esp + 0x14], ecx
test ecx, ecx
jg 0x60c950
mov eax, dword [esp + 0x64]
xor edi, edi
mov ebp, dword [esp + 0x20]
mov eax, dword [eax + 0x38]
movzx ebx, byte [eax]
mov dword [esp + 0x48], ebx
test ebp, ebp
jle 0x60cc69
lea ebx, [ebx]
cmp edi, dword [esp + 0x44]
jge 0x60cbbb
mov eax, dword [esp + edi*4 + 0x64]
mov dword [esp + edi*4 + 0xac], eax
mov dword [esp + 0x1c], eax
mov dword [esp + edi*4 + 0x64], 0
mov esi, dword [eax + 0x48]
test byte [esi + 0x1c], 4
mov ecx, dword [esi + 0x14]
je 0x60cb77
mov eax, dword [ecx + 0x18]
cmp eax, dword [esi + 0x18]
jb 0x60cb77
cmp dword [ecx + 0x60], 0
je 0x60cb73
push esi
call fcn.0067d9c0
add esp, 4
test eax, eax
je 0x60cb65
push esi
call fcn.0067dab0
add esp, 4
mov dword [esp + 0x10], eax
mov edx, eax
jmp 0x60cba6
push 0x6c9afc
push 0x106a2
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00605420
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x60d2ad
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
jmp 0x60cba6
xor edx, edx
jmp 0x60cba2
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x10], edx
test edx, edx
jne 0x60cba6
mov eax, dword [ecx + 0x94]
push esi
cmp eax, dword [ecx + 0x98]
jbe 0x60cb98
call fcn.00635570
jmp 0x60cb9d
call fcn.00636830
mov edx, eax
add esp, 4
mov dword [esp + 0x10], edx
inc dword [esp + 0x24]
mov dword [esp + 0x18], edx
test edx, edx
jne 0x60d2a9
jmp 0x60cc60
cmp dword [esp + 0x124], 0
mov eax, 1
jne 0x60cbce
mov eax, dword [esp + 0x38]
push 0
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x50]
call fcn.00609eb0
mov edx, eax
add esp, 0x14
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], edx
test edx, edx
jne 0x60d2a9
mov esi, dword [esp + 0x1c]
push ebx
push esi
call fcn.0068ed00
mov ecx, dword [esp + 0x48]
add esp, 8
inc dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + edi*4 + 0xac], esi
cmp byte [ecx + 0x11], 0
mov dword [esp + edi*4 + 0xe4], eax
je 0x60cc58
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x118]
push dword [eax + 4]
push 5
push dword [esi + 4]
push ecx
call fcn.00639180
mov ebp, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x60d2ad
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
inc edi
cmp edi, ebp
jl 0x60cae0
mov ebp, dword [esp + 0x24]
xor ecx, ecx
test ebp, ebp
jle 0x60ccb7
mov eax, dword [esp + ecx*4 + 0xac]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x48]
mov dword [esp + ecx*4 + 0xf8], edx
mov dword [esp + ecx*4 + 0xcc], edx
mov ax, word [eax + 0x1c]
mov word [esp + ecx*2 + 0xa0], ax
xor eax, eax
test ecx, ecx
jle 0x60ccb2
cmp dword [esp + eax*4 + 0xf8], edx
je 0x60ce10
inc eax
cmp eax, ecx
jl 0x60cca0
inc ecx
cmp ecx, ebp
jl 0x60cc73
xor ebx, ebx
test ebp, ebp
jle 0x60cd5c
xor edi, edi
lea ecx, [edi + 1]
cmp ebp, ecx
jle 0x60ccf0
xor esi, esi
lea esp, [esp]
lea edx, [ecx*4]
mov eax, dword [esp + edx + 0xcc]
cmp eax, dword [esp + esi + 0xcc]
jae 0x60cceb
mov edi, ecx
mov esi, edx
inc ecx
cmp ecx, ebp
jl 0x60ccd0
mov ebp, dword [esp + edi*4 + 0xcc]
mov dword [esp + edi*4 + 0xcc], 0xffffffff
cmp edi, ebx
je 0x60cd4f
jle 0x60cd2c
mov eax, dword [esp + 0x40]
xor edx, edx
mov ecx, dword [eax + 0x2c]
mov eax, dword [esp + edi*4 + 0xac]
inc ecx
add ecx, edi
push ecx
mov eax, dword [eax + 0x48]
push eax
mov word [eax + 0x1c], dx
call fcn.0065eae0
add esp, 8
mov esi, dword [esp + ebx*4 + 0xac]
mov ax, word [esp + edi*2 + 0xa0]
push ebp
mov ecx, dword [esi + 0x48]
push ecx
mov word [ecx + 0x1c], ax
call fcn.0065eae0
add esp, 8
mov dword [esi + 4], ebp
mov ebp, dword [esp + 0x24]
inc ebx
cmp ebx, ebp
jl 0x60ccc1
test byte [esp + 0x48], 8
mov ecx, dword [esp + ebp*4 + 0xa8]
mov edx, dword [esp + 0x60]
mov eax, dword [ecx + 4]
bswap eax
mov dword [edx], eax
jne 0x60cd9c
mov edx, dword [esp + 0x44]
cmp edx, ebp
je 0x60cd9c
lea eax, [esp + 0xac]
cmp ebp, edx
jg 0x60cd8c
lea eax, [esp + 0x64]
mov eax, dword [eax + edx*4 - 4]
mov ecx, dword [ecx + 0x38]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov esi, dword [esp + 0x40]
cmp byte [esi + 0x11], 0
je 0x60cf8a
mov eax, dword [esp + 0xac]
xor edi, edi
mov ebx, eax
mov dword [esp + 0x60], 0
mov ecx, dword [eax + 0x38]
movzx edx, word [eax + 0x16]
movzx eax, byte [eax + 0xc]
add edx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esi + 0x24]
xor esi, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x48], eax
cmp dword [esp + 0x28], esi
jle 0x60cf8a
xor eax, eax
mov dword [esp + 0x38], eax
jmp 0x60cdf0
mov ebp, dword [esp + 0x30]
mov ebp, dword [ebp + esi*4]
cmp esi, edx
jne 0x60ce68
inc edi
cmp edi, dword [esp + 0x24]
jge 0x60ce3c
mov edx, dword [esp + edi*4 + 0xac]
jmp 0x60ce40
push 0x6c9afc
push 0x106ec
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00605420
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x60d2ad
mov edx, dword [esp + edi*4 + 0x64]
movzx eax, byte [edx + 0xc]
movzx ecx, word [edx + 0x16]
add ecx, eax
xor eax, eax
cmp dword [esp + 0x4c], eax
sete al
add eax, dword [esp + 0x14]
add eax, ecx
mov ecx, dword [edx + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
cmp esi, dword [esp + eax + 0x8c]
jne 0x60ce93
mov eax, dword [esp + 0x60]
inc eax
mov dword [esp + 0x60], eax
shl eax, 2
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x38], eax
mov ebx, dword [esp + eax + 0xac]
je 0x60cf73
cmp edi, dword [esp + 0x24]
jge 0x60ceb7
mov eax, dword [ebx + 4]
cmp eax, dword [esp + edi*4 + 0xf8]
jne 0x60ceb7
cmp ebp, ecx
jb 0x60ceb7
mov eax, dword [esp + 0x48]
add eax, ecx
cmp ebp, eax
jb 0x60cf6f
cmp word [esp + 0x58], 0
jne 0x60cee3
lea eax, [esp + 0x18]
push eax
push dword [ebx + 4]
mov eax, dword [ebp]
push 5
bswap eax
push eax
push dword [esp + 0x50]
call fcn.00639180
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
movzx eax, word [eax + esi*2]
test ax, ax
jne 0x60cf01
lea eax, [esp + 0x28]
push esi
push eax
call fcn.006129f0
add esp, 8
movzx eax, ax
cmp ax, word [ebx + 0x10]
jbe 0x60cf63
cmp dword [esp + 0x10], 0
jne 0x60d2a9
lea eax, [esp + 0xcc]
push eax
mov eax, dword [ebx + 0x50]
push ebp
push ebx
call eax
movzx eax, word [esp + 0xe8]
add esp, 0xc
cmp eax, dword [esp + 0xd8]
jae 0x60cf6f
lea eax, [esp + 0x18]
push eax
movzx eax, word [esp + 0xe2]
push dword [ebx + 4]
push 3
mov eax, dword [eax + ebp - 4]
bswap eax
push eax
push dword [ebx + 0x34]
call fcn.00639180
mov edx, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0x10], edx
jmp 0x60cf67
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x60d2a9
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
inc esi
mov edx, dword [esp + 0x14]
cmp esi, dword [esp + 0x28]
jl 0x60cdf0
mov ebp, dword [esp + 0x24]
lea eax, [ebp - 1]
xor edi, edi
test eax, eax
jle 0x60d0db
jmp 0x60cfa0
mov eax, dword [esp + edi*4 + 0x8c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
lea ecx, [ecx + eax*4]
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0x11c]
add ebx, dword [esp + 0x74]
movzx eax, word [edx + eax*2]
mov esi, dword [ecx]
movzx edx, bp
mov ebp, dword [esp + edi*4 + 0xac]
add edx, eax
cmp byte [ebp + 8], 0
jne 0x60cfe6
mov ecx, dword [ebp + 0x38]
mov eax, dword [esi]
mov dword [ecx + 8], eax
jmp 0x60d096
cmp dword [esp + 0x4c], 0
je 0x60d07a
lea eax, [esp + 0xf8]
push eax
push dword [ecx - 4]
mov eax, dword [ebp + 0x50]
push ebp
call eax
mov edx, dword [esp + 0x108]
mov esi, ebx
mov ecx, dword [esp + 0x104]
add esp, 0xc
add ebx, 4
mov dword [esp + 0xa4], edx
test edx, edx
ja 0x60d068
jb 0x60d02a
cmp ecx, 0x7f
ja 0x60d03b
mov eax, 1
and cl, 0x7f
mov byte [ebx], cl
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x60d096
test edx, edx
ja 0x60d068
jb 0x60d049
cmp ecx, 0x3fff
ja 0x60d068
mov eax, ecx
and cl, 0x7f
shrd eax, edx, 7
mov byte [ebx + 1], cl
or al, 0x80
shr edx, 7
mov byte [ebx], al
mov eax, 2
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x60d096
push edx
push ecx
push ebx
call fcn.006398a0
add esp, 0xc
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x60d096
sub esi, 4
cmp eax, 4
jne 0x60d096
mov eax, dword [esp + 0x114]
push esi
push eax
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
movzx edx, ax
add dword [esp + 0x74], edx
lea eax, [esp + 0x18]
push eax
push dword [ebp + 4]
mov eax, dword [esp + 0x5c]
push ebx
push edx
push esi
add eax, edi
push eax
push dword [esp + 0x12c]
call fcn.0062ef60
mov ebp, dword [esp + 0x34]
add esp, 0x1c
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x60d2ad
mov ebp, dword [esp + 0x24]
inc edi
lea eax, [ebp - 1]
cmp edi, eax
jl 0x60cfa0
mov esi, 1
sub esi, ebp
cmp esi, ebp
jge 0x60d1c0
lea ebx, [ebx]
mov eax, esi
cdq
mov ecx, eax
lea eax, [esp + 0xc0]
xor ecx, edx
sub ecx, edx
add eax, ecx
mov dword [esp + 0x48], eax
cmp byte [eax], 0
jne 0x60d1b7
test esi, esi
jns 0x60d127
mov eax, dword [esp + ecx*4 + 0xe0]
cmp eax, dword [esp + ecx*4 + 0x88]
jl 0x60d1b7
test ecx, ecx
jne 0x60d138
mov edi, dword [esp + 0x8c]
xor eax, eax
xor edx, edx
jmp 0x60d16d
cmp ecx, dword [esp + 0x44]
jge 0x60d150
xor eax, eax
cmp dword [esp + 0x4c], eax
sete al
add eax, dword [esp + ecx*4 + 0xe0]
jmp 0x60d154
mov eax, dword [esp + 0x28]
mov edi, dword [esp + ecx*4 + 0x8c]
xor edx, edx
cmp dword [esp + 0x4c], edx
sete dl
add edx, dword [esp + ecx*4 + 0x88]
sub edi, edx
lea ebx, [ecx*4]
mov ebp, dword [esp + ebx + 0xac]
lea ecx, [esp + 0x28]
push ecx
push edi
push edx
push eax
push ebp
call fcn.00615f70
mov edi, eax
add esp, 0x14
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
test edi, edi
jne 0x60d2a9
mov eax, dword [esp + 0x48]
mov byte [eax], 1
mov ax, word [esp + 0x50]
sub ax, word [esp + ebx + 0x78]
mov word [ebp + 0x14], ax
mov ebp, dword [esp + 0x24]
inc esi
cmp esi, ebp
jl 0x60d0f0
cmp dword [esp + 0x120], 0
je 0x60d22b
mov esi, dword [esp + 0x114]
cmp word [esi + 0x16], 0
jne 0x60d22b
mov ebx, dword [esp + 0xac]
movzx eax, byte [esi + 9]
cmp ax, word [ebx + 0x14]
ja 0x60d22b
push 0xffffffffffffffff
push ebx
call fcn.00614f80
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push esi
push ebx
call fcn.00614470
mov edx, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0x10], edx
test edx, edx
jne 0x60d27d
push dword [ebx + 4]
push ebx
push dword [ebx + 0x34]
call fcn.0061bc70
mov edx, eax
add esp, 0xc
mov dword [esp + 0x10], edx
jmp 0x60d27d
mov ecx, dword [esp + 0x40]
cmp byte [ecx + 0x11], 0
je 0x60d279
cmp word [esp + 0x58], 0
jne 0x60d279
xor esi, esi
test ebp, ebp
jle 0x60d279
mov eax, dword [esp + esi*4 + 0xac]
lea edx, [esp + 0x18]
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.00639180
mov ecx, dword [esp + 0x54]
inc esi
add esp, 0x14
cmp esi, ebp
jl 0x60d243
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
jmp 0x60d27d
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x44]
mov esi, ebp
cmp ebp, ebx
jge 0x60d2a9
mov eax, dword [esp + esi*4 + 0x64]
test edx, edx
jne 0x60d2a0
push dword [eax + 4]
push eax
push dword [eax + 0x34]
call fcn.0061bc70
add esp, 0xc
mov edx, eax
inc esi
cmp esi, ebx
jl 0x60d287
mov dword [esp + 0x10], edx
mov ebp, dword [esp + 0x10]
cmp dword [0xb26600], 0
je 0x60d2ff
mov eax, dword [0xb2e130]
test eax, eax
je 0x60d2c9
push eax
call dword [0xb2665c]
add esp, 4
mov ebx, dword [esp + 0x30]
push ebx
call dword [0xb26638]
sub dword [0xb2df80], eax
dec dword [0xb2dfa4]
push ebx
call dword [0xb26630]
mov eax, dword [0xb2e130]
add esp, 8
test eax, eax
je 0x60d329
push eax
call dword [0xb26664]
add esp, 4
jmp 0x60d329
push dword [esp + 0x30]
call dword [0xb26630]
add esp, 4
jmp 0x60d329
lea eax, [esi*4 + 4]
push eax
lea eax, [esp + 0x68]
push 0
push eax
call sub.MSVCRT.dll_memset
mov ebp, dword [esp + 0x1c]
add esp, 0xc
xor ebx, ebx
cmp dword [esp + 0x44], ebx
jle 0x60d3a2
mov ebp, dword [esp + 0x44]
lea esp, [esp]
mov edx, dword [esp + ebx*4 + 0x64]
test edx, edx
je 0x60d399
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x60d390
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.00519690
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x60d399
push edx
call fcn.0065ec30
add esp, 4
inc ebx
cmp ebx, ebp
jl 0x60d340
mov ebp, dword [esp + 0x10]
xor ebx, ebx
cmp dword [esp + 0x24], ebx
jle 0x60d417
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + ebx*4 + 0xac]
test edx, edx
je 0x60d40e
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x60d405
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.00519690
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x60d40e
push edx
call fcn.0065ec30
add esp, 4
inc ebx
cmp ebx, ebp
jl 0x60d3b2
mov ebp, dword [esp + 0x10]
pop esi
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x100
ret