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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x517748]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
mov eax, ecx
mov dword [esp + 0x18], 0
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x40], eax
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x88], esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x118], 0
mov byte [esp + 0x11c], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x30], ecx
push edi
test esi, esi
jne 0x45abad
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004c0564
mov esp, ebp
pop ebp
ret
movzx edi, word [eax + 0x12]
movzx ecx, byte [eax + 1]
lea esi, [ecx + edi]
cmp esi, 2
jge 0x45abc1
xor edx, edx
jmp 0x45abde
test edx, edx
je 0x45abd4
cmp edx, esi
jne 0x45abd3
mov eax, dword [ebp + 0x10]
lea edx, [eax - 2]
add edx, esi
jmp 0x45abd7
dec edx
mov eax, dword [ebp + 0x10]
mov esi, 2
sub esi, eax
lea eax, [esi + 1]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x38], eax
mov eax, edx
sub eax, ecx
lea ecx, [eax + esi]
cmp ecx, edi
jne 0x45ac06
mov eax, dword [esp + 0x44]
movzx ecx, byte [eax + 5]
mov eax, dword [eax + 0x38]
add ecx, 8
add ecx, eax
jmp 0x45ac21
mov edx, dword [esp + 0x44]
mov eax, dword [edx + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edx + 0x14]
movzx ecx, cx
and ecx, eax
add ecx, dword [edx + 0x38]
mov edi, dword [ecx]
bswap edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x74], edi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], 0
cmp edi, dword [eax + 0x2c]
jbe 0x45ac6a
push 0x50b368
push 0xedd4
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00443bc0
add esp, 0x14
mov edi, 0xb
jmp 0x45acf3
lea ecx, [esp + 0x18]
mov edx, edi
push 0
push ecx
mov ecx, dword [eax]
call fcn.0044f3e0
mov edi, eax
add esp, 8
mov dword [esp + 0xc], edi
test edi, edi
jne 0x45acf7
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 8]
mov dword [esp + esi*4 + 0xfc], eax
cmp byte [eax], 0
jne 0x45acf1
mov ecx, dword [edx + 8]
mov edi, dword [esp + 0x40]
cmp edi, dword [ecx + 0x54]
je 0x45acc6
mov eax, dword [edx + 4]
cmp edi, 1
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x34], eax
setne al
dec al
mov dword [ecx + 0x48], edx
and al, 0x64
mov dword [ecx + 0x54], edi
mov byte [ecx + 5], al
mov ecx, dword [esp + esi*4 + 0xfc]
call fcn.00455260
mov edi, eax
mov dword [esp + 0xc], edi
test edi, edi
je 0x45acf1
mov ecx, dword [esp + esi*4 + 0xfc]
test ecx, ecx
je 0x45acf7
mov ecx, dword [ecx + 0x48]
call fcn.0044f830
jmp 0x45acf7
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x24], edi
test edi, edi
jne 0x45ae5f
mov eax, dword [esp + esi*4 + 0xfc]
movzx ecx, word [eax + 0x12]
movzx eax, byte [eax + 1]
inc eax
add eax, dword [esp + 0x20]
add ecx, eax
mov eax, esi
dec esi
mov dword [esp + 0x20], ecx
test eax, eax
je 0x45ae80
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x6c]
movzx ecx, word [edx + 0x16]
lea eax, [edi + esi]
cmp eax, ecx
jne 0x45ad75
cmp byte [edx + 1], 0
je 0x45ad75
mov eax, dword [edx + 0x20]
push eax
mov dword [esp + esi*4 + 0x94], eax
push edx
mov edi, dword [eax]
mov eax, dword [edx + 0x4c]
bswap edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x7c], edi
call eax
movzx eax, ax
add esp, 8
mov dword [esp + esi*4 + 0x78], eax
mov eax, dword [esp + 0x44]
mov byte [eax + 1], 0
jmp 0x45ac31
movzx eax, byte [edx + 1]
mov ecx, edi
sub ecx, eax
mov eax, dword [edx + 0x40]
add ecx, esi
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edx + 0x14]
movzx ecx, cx
and ecx, eax
mov eax, dword [edx + 0x38]
add eax, ecx
push eax
mov dword [esp + esi*4 + 0x94], eax
push edx
mov ecx, dword [eax]
mov eax, dword [edx + 0x4c]
bswap ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x7c], ecx
call eax
movzx edi, ax
add esp, 8
mov eax, dword [esp + 0x34]
mov dword [esp + esi*4 + 0x78], edi
test byte [eax + 0x16], 4
je 0x45ae12
mov eax, dword [esp + 0x44]
mov edx, dword [esp + esi*4 + 0x90]
mov ecx, edx
mov ebx, dword [esp + 0x34]
sub ecx, dword [eax + 0x38]
lea eax, [edi + ecx]
cmp eax, dword [ebx + 0x24]
mov ebx, 0
jg 0x45ae39
mov eax, dword [esp + 0x8c]
push edi
push edx
add eax, ecx
push eax
call fcn.004c54b0
mov ecx, dword [esp + 0x50]
add esp, 0xc
mov eax, dword [esp + 0x8c]
sub eax, dword [ecx + 0x38]
add dword [esp + esi*4 + 0x90], eax
jmp 0x45ae16
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x24]
push eax
movzx eax, byte [ecx + 1]
sub edx, eax
push edi
add edx, esi
call fcn.00459d40
mov edi, dword [esp + 0x48]
add esp, 8
jmp 0x45ac31
push 0x50b368
push 0x10213
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00443bc0
add esp, 0x14
mov dword [esp + 0xc], 0xb
lea eax, [esi*4 + 4]
push eax
lea eax, [esp + 0x100]
push 0
push eax
call fcn.004c6800
add esp, 0xc
xor eax, eax
jmp 0x45b2bd
mov eax, dword [esp + 0x34]
lea esi, [ecx + 3]
and esi, 0xfffffffc
mov eax, dword [eax + 0x20]
lea ecx, [esi + esi*2]
lea ecx, [eax + ecx*2]
call fcn.00441790
mov dword [esp + 0x10], eax
mov dword [esp + 0x54], eax
test eax, eax
jne 0x45aeb1
mov dword [esp + 0xc], 7
jmp 0x45b2bd
mov ecx, dword [esp + 0xfc]
lea eax, [eax + esi*4]
mov dword [esp + 0x58], eax
lea eax, [eax + esi*2]
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], ecx
movzx eax, byte [ecx + 4]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x68], eax
movzx eax, byte [ecx + 3]
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x38], eax
jle 0x45b0f0
shl eax, 2
mov dword [esp + 0x3c], eax
mov edi, dword [esp + eax + 0xfc]
mov dword [esp + 0x70], edi
movzx eax, word [edi + 0x14]
mov edx, dword [edi + 0x38]
movzx esi, word [edi + 0xe]
mov dword [esp + 0x20], eax
add esi, edx
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x48], edx
mov dword [esp + 0x18], esi
mov ecx, dword [eax + 0x38]
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x45b293
movzx eax, byte [edi + 1]
movzx ecx, word [edi + 0x12]
add ecx, eax
mov eax, dword [esp + 0x58]
add ecx, ecx
push ecx
push 0
lea eax, [eax + ebx*2]
push eax
call fcn.004c6800
add esp, 0xc
cmp byte [edi + 1], 0
jbe 0x45afc4
movzx edx, word [edi + 0x16]
test edx, edx
jle 0x45af98
mov edi, dword [esp + 0x48]
mov ax, word [esi]
add esi, 2
mov ebx, dword [esp + 0x20]
mov ch, al
mov cl, ah
movzx eax, cx
movzx ecx, bx
mov ebx, dword [esp + 0x1c]
and eax, ecx
mov ecx, dword [esp + 0x10]
add eax, edi
mov dword [ecx + ebx*4], eax
inc ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x4c], ebx
dec edx
jne 0x45af61
mov edi, dword [esp + 0x70]
mov dword [esp + 0x18], esi
xor edx, edx
cmp byte [edi + 1], dl
jbe 0x45afc4
mov esi, dword [esp + 0x10]
lea ecx, [edi + 0x20]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [esi + ebx*4], eax
inc edx
movzx eax, byte [edi + 1]
inc ebx
mov dword [esp + 0x4c], ebx
cmp edx, eax
jl 0x45afa6
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
movzx eax, word [edi + 0xe]
xor edx, edx
add eax, dword [esp + 0x48]
movzx ecx, word [edi + 0x12]
lea eax, [eax + ecx*2]
mov ecx, eax
sub ecx, esi
inc ecx
shr ecx, 1
cmp esi, eax
cmova ecx, edx
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x45b027
mov edi, ecx
jmp 0x45aff0
mov ax, word [esi]
lea esi, [esi + 2]
mov ebx, dword [esp + 0x20]
mov ch, al
mov cl, ah
inc edx
movzx eax, cx
movzx ecx, bx
mov ebx, dword [esp + 0x1c]
and eax, ecx
mov ecx, dword [esp + 0x10]
add eax, dword [esp + 0x48]
mov dword [ecx + ebx*4], eax
inc ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x4c], ebx
cmp edx, edi
jb 0x45aff0
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + ecx + 0xb4], ebx
cmp dword [esp + 0x2c], eax
jge 0x45b0dd
cmp dword [esp + 0x60], 0
jne 0x45b0dd
movzx eax, word [esp + ecx + 0x78]
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x14]
push eax
mov word [ecx + ebx*2], ax
mov ecx, dword [esp + 0x60]
add esi, ecx
add ecx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], ecx
push dword [esp + eax + 0x94]
push esi
call fcn.004c54b0
mov eax, dword [esp + 0x74]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x58]
movzx eax, ax
add eax, esi
mov dword [ecx + ebx*4], eax
mov eax, dword [esp + 0x68]
sub word [edx + ebx*2], ax
cmp byte [edi + 4], 0
jne 0x45b0ad
mov eax, dword [edi + 0x38]
mov ecx, dword [ecx + ebx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
jmp 0x45b0d4
cmp word [edx + ebx*2], 4
jae 0x45b0d4
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x14]
lea esp, [esp]
mov byte [ecx + eax], 0
inc eax
inc word [edx + ebx*2]
cmp word [edx + ebx*2], 4
jb 0x45b0c0
mov dword [esp + 0x5c], eax
inc ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x38]
jl 0x45aef1
mov eax, dword [esp + 0x68]
xor ecx, ecx
movzx edx, ax
mov eax, dword [esp + 0x34]
add edx, 0xfffffff4
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + 0x24]
add edx, eax
mov dword [esp + 0x5c], edx
cmp dword [esp + 0x38], ecx
jle 0x45b1a9
jmp 0x45b120
mov esi, dword [esp + ecx*4 + 0xfc]
mov edi, edx
movzx eax, word [esi + 0x10]
sub edi, eax
lea eax, [esp + 0x78]
lea eax, [eax + ecx*4]
mov dword [eax], edi
mov dword [esp + 0x70], eax
js 0x45b349
cmp byte [esi + 1], 0
mov dword [esp + 0x14], 0
jbe 0x45b18c
lea ebx, [esi + 0x20]
push dword [ebx]
mov eax, dword [esi + 0x4c]
push esi
call eax
mov ecx, dword [esp + 0x1c]
lea ebx, [ebx + 4]
movzx eax, ax
inc ecx
add eax, 2
mov dword [esp + 0x1c], ecx
add edi, eax
add esp, 8
movzx eax, byte [esi + 1]
cmp ecx, eax
jl 0x45b153
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
mov dword [eax], edi
mov eax, dword [esp + ecx*4 + 0xb4]
mov dword [esp + ecx*4 + 0xa0], eax
inc ecx
mov dword [esp + 0x3c], ecx
cmp ecx, dword [esp + 0x38]
jl 0x45b120
mov ecx, dword [esp + 0x38]
mov eax, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], 0
test ecx, ecx
jle 0x45b47e
xor edx, edx
lea ecx, [esp + 0xa0]
mov edi, 1
mov dword [esp + 0x10], edx
sub ecx, 4
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x5c]
cmp dword [esp + edx + 0x78], ecx
jle 0x45b37b
mov edi, edi
cmp edi, eax
jl 0x45b213
lea eax, [edi + 1]
mov dword [esp + 0x48], eax
cmp eax, 5
jg 0x45b57c
mov dword [esp + edx + 0x7c], 0
mov dword [esp + edx + 0xa4], ebx
mov esi, dword [esp + edx + 0xa0]
mov ecx, dword [esp + 0x58]
lea edi, [esi - 1]
movzx eax, word [ecx + edi*2]
test ax, ax
jne 0x45b248
mov edx, edi
lea ecx, [esp + 0x4c]
call fcn.0045a000
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
movzx eax, ax
mov dword [esp + 0x1c], ebx
movzx eax, ax
add eax, 2
sub dword [esp + edx + 0x78], eax
cmp dword [esp + 0x60], 0
jne 0x45b35a
cmp esi, ebx
jge 0x45b358
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x45b284
mov edx, esi
lea ecx, [esp + 0x4c]
call fcn.0045a000
mov ebx, dword [esp + 0x4c]
movzx eax, ax
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x10]
movzx eax, ax
add eax, 2
jmp 0x45b35a
push 0x50b368
push 0x10257
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00443bc0
mov dword [esp + 0x20], 0xb
add esp, 0x14
mov eax, dword [esp + 0x10]
mov ecx, eax
call fcn.004418a0
mov edi, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x30], esi
test edi, edi
jle 0x45befb
jmp 0x45b2e0
mov ecx, dword [esp + esi*4 + 0xfc]
test ecx, ecx
je 0x45beee
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x18], 0x20
mov ebx, dword [ecx + 0x10]
je 0x45be8b
dec dword [ebx + 0x80]
mov eax, dword [ebx + 0x90]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0xa0]
mov esi, dword [ebx + 0x40]
mov dword [ebx + 0x90], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x14]
mov edi, dword [esi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.004c88c0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [esp + 0x40]
add esp, 0x10
mov edi, dword [esp + 0x38]
jmp 0x45be90
push 0x50b368
push 0x102ba
jmp 0x45b29d
xor eax, eax
add dword [esp + edx + 0x7c], eax
mov eax, dword [esp + 0x5c]
cmp dword [esp + edx + 0x78], eax
mov eax, dword [esp + 0x48]
mov dword [esp + edx + 0xa0], edi
mov edi, dword [esp + 0x20]
jg 0x45b1f0
cmp dword [esp + edx + 0xa0], ebx
jge 0x45b428
mov edi, dword [esp + 0x58]
lea esp, [esp]
mov esi, dword [esp + edx + 0xa0]
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x45b3ba
mov edx, esi
lea ecx, [esp + 0x4c]
call fcn.0045a000
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x58]
movzx eax, ax
movzx ecx, ax
mov eax, dword [esp + edx + 0x78]
add ecx, 2
add eax, ecx
cmp eax, dword [esp + 0x5c]
jg 0x45b41c
inc esi
mov dword [esp + edx + 0x78], eax
cmp dword [esp + 0x60], 0
mov dword [esp + edx + 0xa0], esi
jne 0x45b410
cmp esi, ebx
jge 0x45b40e
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x45b402
mov edx, esi
lea ecx, [esp + 0x4c]
call fcn.0045a000
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x58]
movzx eax, ax
mov edx, dword [esp + 0x10]
movzx ecx, ax
add ecx, 2
jmp 0x45b410
xor ecx, ecx
sub dword [esp + edx + 0x7c], ecx
cmp esi, ebx
jl 0x45b390
mov edi, dword [esp + 0x20]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + edx + 0xa0]
cmp ecx, ebx
jl 0x45b43b
mov eax, edi
mov dword [esp + 0x48], eax
jmp 0x45b459
cmp dword [esp + 0x2c], 0
jle 0x45b44b
mov eax, dword [esp + 0x14]
mov eax, dword [eax + edx]
jmp 0x45b44d
xor eax, eax
cmp ecx, eax
jle 0x45b5ab
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
add edx, 4
inc ecx
mov dword [esp + 0x10], edx
inc edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edi
cmp ecx, eax
jl 0x45b1e0
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], edx
dec eax
mov ecx, eax
mov dword [esp + 0x18], eax
test ecx, ecx
jle 0x45b629
lea ecx, [ecx]
shl ecx, 2
mov dword [esp + 0x20], ecx
mov eax, dword [esp + ecx + 0x74]
mov edi, dword [esp + ecx + 0x78]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xa0]
sub eax, 4
mov dword [esp + 0x2c], eax
mov esi, dword [ecx + eax]
mov eax, dword [esp + 0x58]
dec esi
mov edx, esi
sub edx, dword [esp + 0x60]
inc edx
lea ebx, [edx + edx]
cmp word [ebx + eax], 0
mov dword [esp + 0x14], ebx
jne 0x45b4e0
lea ecx, [esp + 0x4c]
call fcn.0045a000
jmp 0x45b4e0
mov edx, dword [esp + 0x58]
cmp word [edx + esi*2], 0
jne 0x45b4fa
mov edx, esi
lea ecx, [esp + 0x4c]
call fcn.0045a000
mov edx, dword [esp + 0x58]
test edi, edi
je 0x45b543
cmp dword [ebp + 0x10], 0
jne 0x45b5da
movzx eax, word [edx + esi*2]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
dec edx
mov ebx, dword [esp + 0x14]
sub ecx, eax
cmp dword [esp + 0x18], edx
mov eax, 2
mov edx, 0
cmove eax, edx
mov edx, dword [esp + 0x58]
sub ecx, eax
movzx eax, word [ebx + edx]
add eax, 2
add eax, edi
cmp eax, ecx
jg 0x45b5da
movzx eax, word [ebx + edx]
mov ecx, 0xfffffffe
add eax, 2
sub ebx, 2
add edi, eax
mov dword [esp + 0x14], ebx
movzx eax, word [edx + esi*2]
mov edx, dword [esp + 0x20]
sub ecx, eax
mov eax, dword [esp + 0x1c]
add eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov dword [edx + ecx], esi
dec esi
jns 0x45b4e0
jmp 0x45b5e2
push 0x50b368
push 0x102c6
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00443bc0
add esp, 0x14
mov dword [esp + 0xc], 0xb
mov eax, dword [esp + 0x54]
jmp 0x45b2bd
push 0x50b368
push 0x102ea
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00443bc0
mov eax, dword [esp + 0x68]
add esp, 0x14
mov dword [esp + 0xc], 0xb
jmp 0x45b2bd
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + edx + 0x78], edi
mov dword [esp + edx + 0x74], eax
cmp ecx, 1
jle 0x45b5fd
mov eax, dword [esp + 0x2c]
mov eax, dword [edx + eax - 4]
jmp 0x45b5ff
xor eax, eax
mov esi, dword [esp + 0x2c]
cmp dword [edx + esi], eax
jle 0x45b6af
dec ecx
mov dword [esp + 0x18], ecx
test ecx, ecx
jg 0x45b490
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0xfc]
xor edi, edi
mov eax, dword [eax + 0x38]
movzx eax, byte [eax]
mov dword [esp + 0x3c], eax
lea eax, [edi + 1]
cmp dword [esp + 0x48], edi
jle 0x45b7b8
lea esp, [esp]
cmp edi, dword [esp + 0x38]
jge 0x45b719
mov eax, dword [esp + edi*4 + 0xfc]
mov dword [esp + edi*4 + 0x108], eax
mov dword [esp + edi*4 + 0xfc], 0
mov dword [esp + 0x14], eax
mov esi, dword [eax + 0x48]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0xc], edx
test edx, edx
jne 0x45b704
test byte [esi + 0x18], 4
je 0x45b6e2
mov eax, dword [ecx + 0x1c]
cmp eax, dword [esi + 0x14]
jb 0x45b6e2
cmp dword [ecx + 0x68], edx
je 0x45b6de
mov ecx, esi
call fcn.0044b7f0
test eax, eax
je 0x45b6de
mov ecx, esi
call fcn.0044e7a0
jmp 0x45b6fe
push 0x50b368
push 0x10314
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00443bc0
mov eax, dword [esp + 0x68]
add esp, 0x14
mov dword [esp + 0xc], 0xb
jmp 0x45b2bd
xor edx, edx
jmp 0x45b700
mov eax, dword [ecx + 0x9c]
cmp eax, dword [ecx + 0xa0]
mov ecx, esi
jbe 0x45b6f9
call fcn.0044fcd0
jmp 0x45b6fe
call fcn.0044fbf0
mov edx, eax
mov dword [esp + 0xc], edx
inc dword [esp + 0x28]
mov dword [esp + 0x24], edx
test edx, edx
jne 0x45b2b9
jmp 0x45b7a8
cmp dword [ebp + 0x10], 0
lea edx, [esp + 0x14]
mov ecx, dword [esp + 0x40]
cmovne ecx, eax
lea eax, [esp + 0x74]
push 0
push ecx
mov ecx, dword [esp + 0x3c]
push eax
call fcn.00458f40
add esp, 0xc
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], eax
test eax, eax
jne 0x45b2b9
mov esi, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x3c]
call fcn.00455570
mov ecx, dword [esp + 0x34]
inc dword [esp + 0x28]
mov dword [esp + edi*4 + 0x108], esi
mov dword [esp + edi*4 + 0xb4], ebx
cmp byte [ecx + 0x11], 0
je 0x45b7a0
mov edx, dword [esi + 0x54]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x48]
push dword [eax + 0x54]
push 5
call fcn.00454490
mov eax, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
jne 0x45b2b9
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], eax
inc edi
mov eax, 1
cmp edi, dword [esp + 0x48]
jl 0x45b650
mov edi, dword [esp + 0x28]
xor ecx, ecx
test edi, edi
jle 0x45b807
mov eax, dword [esp + ecx*4 + 0x108]
mov edx, dword [eax + 0x54]
mov eax, dword [eax + 0x48]
mov dword [esp + ecx*4 + 0xe0], edx
mov dword [esp + ecx*4 + 0xc8], edx
mov ax, word [eax + 0x18]
mov word [esp + ecx*2 + 0x90], ax
xor eax, eax
test ecx, ecx
jle 0x45b802
nop
cmp dword [esp + eax*4 + 0xe0], edx
je 0x45b995
inc eax
cmp eax, ecx
jl 0x45b7f0
inc ecx
cmp ecx, edi
jl 0x45b7c2
xor esi, esi
mov dword [esp + 0x14], esi
test edi, edi
jle 0x45b8cf
mov ebx, dword [esp + 0x28]
xor edi, edi
lea ecx, [edi + 1]
cmp ebx, ecx
jle 0x45b854
xor esi, esi
jmp 0x45b830
lea edx, [ecx*4]
mov eax, dword [esp + edx + 0xc8]
cmp eax, dword [esp + esi + 0xc8]
jae 0x45b84b
mov edi, ecx
mov esi, edx
inc ecx
cmp ecx, ebx
jl 0x45b830
mov esi, dword [esp + 0x14]
mov eax, dword [esp + edi*4 + 0xc8]
mov dword [esp + 0x14], eax
mov dword [esp + edi*4 + 0xc8], 0xffffffff
cmp edi, esi
je 0x45b8ba
jle 0x45b88f
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0x2c]
mov eax, dword [esp + edi*4 + 0x108]
inc edx
add edx, edi
mov ecx, dword [eax + 0x48]
xor eax, eax
mov word [ecx + 0x18], ax
call fcn.0044a030
mov eax, dword [esp + esi*4 + 0x108]
mov ecx, dword [eax + 0x48]
mov ax, word [esp + edi*2 + 0x90]
mov edi, dword [esp + 0x14]
mov edx, edi
mov word [ecx + 0x18], ax
call fcn.0044a030
mov eax, dword [esp + esi*4 + 0x108]
mov dword [eax + 0x54], edi
mov edi, dword [esp + 0x28]
inc esi
mov dword [esp + 0x14], esi
cmp esi, edi
jl 0x45b815
mov ebx, dword [esp + 0x1c]
test byte [esp + 0x3c], 8
mov eax, dword [esp + edi*4 + 0x104]
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + 0x54]
bswap eax
mov dword [ecx], eax
jne 0x45b91a
mov ecx, dword [esp + 0x38]
cmp ecx, edi
je 0x45b91a
cmp edi, ecx
lea edx, [esp + 0xfc]
lea eax, [esp + 0x108]
cmovle eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + edi*4 + 0x104]
mov ecx, dword [eax + 0x38]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x34]
cmp byte [edx + 0x11], 0
je 0x45bb02
mov esi, dword [esp + 0x108]
xor edi, edi
mov dword [esp + 0x30], 0
mov eax, dword [esi + 0x38]
movzx ecx, word [esi + 0x12]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 1]
add ecx, eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], ecx
test ebx, ebx
jle 0x45bb09
xor eax, eax
mov dword [esp + 0x40], eax
lea esp, [esp]
mov edx, dword [esp + 0x10]
mov edx, dword [edx + edi*4]
mov dword [esp + 0x20], edx
cmp edi, dword [esp + 0x18]
jne 0x45b9db
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esp + 0x28]
jge 0x45b9a4
mov edx, dword [esp + ecx*4 + 0x108]
jmp 0x45b9ab
push 0x50b368
push 0x1035f
jmp 0x45b29d
mov edx, dword [esp + ecx*4 + 0xfc]
movzx eax, byte [edx + 1]
movzx ecx, word [edx + 0x12]
add ecx, eax
xor eax, eax
cmp dword [esp + 0x60], eax
sete al
add eax, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
cmp edi, dword [esp + eax + 0xa0]
jne 0x45ba06
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
shl eax, 2
cmp dword [esp + 0x60], 0
mov dword [esp + 0x40], eax
mov esi, dword [esp + eax + 0x108]
je 0x45baf5
cmp ecx, dword [esp + 0x28]
jge 0x45ba2c
mov eax, dword [esi + 0x54]
cmp eax, dword [esp + ecx*4 + 0xe0]
jne 0x45ba2c
mov eax, dword [esp + 0x14]
cmp edx, eax
jb 0x45ba2c
add eax, dword [esp + 0x3c]
cmp edx, eax
jb 0x45baf1
cmp word [esp + 0x68], 0
jne 0x45ba56
mov edx, dword [edx]
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x34]
push eax
push dword [esi + 0x54]
bswap edx
push 5
call fcn.00454490
mov eax, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
movzx eax, word [eax + edi*2]
test ax, ax
jne 0x45ba7d
mov edx, edi
lea ecx, [esp + 0x4c]
call fcn.0045a000
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x4c]
movzx eax, ax
cmp ax, word [esi + 0xc]
jbe 0x45bae5
cmp dword [esp + 0xc], 0
jne 0x45b2b9
lea eax, [esp + 0xc8]
push eax
push dword [esp + 0x24]
mov eax, dword [esi + 0x50]
push esi
call eax
movzx eax, word [esp + 0xe4]
add esp, 0xc
cmp eax, dword [esp + 0xd4]
jae 0x45baf1
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
mov ecx, dword [esi + 0x34]
push eax
movzx eax, word [esp + 0xde]
push dword [esi + 0x54]
push 3
mov edx, dword [eax + edx - 4]
bswap edx
call fcn.00454490
mov eax, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x45bae9
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x45b2b9
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
inc edi
cmp edi, ebx
jl 0x45b970
mov esi, dword [esp + 0x108]
mov eax, dword [esp + 0x28]
xor edi, edi
dec eax
test eax, eax
jle 0x45bc8e
jmp 0x45bb20
mov eax, dword [esp + edi*4 + 0xa0]
mov edx, dword [esp + 0x10]
mov esi, dword [edx + eax*4]
lea edx, [edx + eax*4]
mov ecx, dword [esp + edi*4 + 0x108]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x68]
movzx eax, word [edx + eax*2]
movzx edx, ax
mov dword [esp + 0x3c], eax
movzx eax, cx
mov ecx, dword [esp + 0x30]
add edx, eax
mov eax, dword [esp + 0x8c]
add eax, dword [esp + 0x64]
mov dword [esp + 0x18], eax
cmp byte [ecx + 4], 0
jne 0x45bb7e
mov ecx, dword [ecx + 0x38]
mov eax, dword [esi]
mov dword [ecx + 8], eax
jmp 0x45bc3f
cmp dword [esp + 0x60], 0
je 0x45bc23
lea eax, [esp + 0xe0]
push eax
mov eax, dword [esp + 0x18]
push dword [eax - 4]
mov eax, dword [ecx + 0x50]
push ecx
call eax
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0xe4]
mov esi, eax
mov ecx, dword [esp + 0xe0]
add eax, 4
mov dword [esp + 0x94], edx
mov dword [esp + 0x14], eax
test edx, edx
ja 0x45bc10
jb 0x45bbce
cmp ecx, 0x7f
ja 0x45bbdf
and cl, 0x7f
mov byte [eax], cl
mov eax, 1
lea edx, [eax + 4]
xor eax, eax
jmp 0x45bc43
test edx, edx
ja 0x45bc10
jb 0x45bbed
cmp ecx, 0x3fff
ja 0x45bc10
mov eax, ecx
and cl, 0x7f
shrd eax, edx, 7
shr edx, 7
or al, 0x80
mov edx, dword [esp + 0x14]
mov byte [edx], al
mov eax, 2
mov byte [edx + 1], cl
lea edx, [eax + 4]
xor eax, eax
jmp 0x45bc43
push edx
push ecx
mov ecx, eax
call fcn.004454d0
add esp, 8
lea edx, [eax + 4]
xor eax, eax
jmp 0x45bc43
sub esi, 4
cmp word [esp + 0x3c], 4
jne 0x45bc43
mov eax, dword [esp + 0x44]
push esi
push eax
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
movzx edx, ax
mov eax, dword [esp + 0x18]
add dword [esp + 0x64], edx
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x34]
push dword [ecx + 0x54]
mov ecx, dword [esp + 0x4c]
push eax
push edx
mov edx, dword [esp + 0x7c]
push esi
lea edx, [edx + edi]
call fcn.00459e70
mov eax, dword [esp + 0x38]
add esp, 0x14
mov dword [esp + 0xc], eax
test eax, eax
jne 0x45b2b9
mov eax, dword [esp + 0x28]
inc edi
dec eax
cmp edi, eax
jl 0x45bb20
mov esi, dword [esp + 0x108]
mov edi, dword [esp + 0x28]
mov eax, 1
sub eax, edi
mov dword [esp + 0x64], eax
cmp eax, edi
jge 0x45bd8a
cdq
lea edi, [esp + 0x11c]
mov ecx, eax
xor ecx, edx
sub ecx, edx
add edi, ecx
cmp byte [edi], 0
jne 0x45bd66
cmp dword [esp + 0x64], 0
jge 0x45bcd9
mov eax, dword [esp + ecx*4 + 0xb0]
cmp eax, dword [esp + ecx*4 + 0x9c]
jl 0x45bd66
test ecx, ecx
jne 0x45bcea
mov edx, dword [esp + 0xa0]
xor ebx, ebx
xor eax, eax
jmp 0x45bd19
cmp ecx, dword [esp + 0x38]
jge 0x45bd00
xor ebx, ebx
cmp dword [esp + 0x60], ebx
sete bl
add ebx, dword [esp + ecx*4 + 0xb0]
mov edx, dword [esp + ecx*4 + 0xa0]
xor eax, eax
cmp dword [esp + 0x60], eax
sete al
add eax, dword [esp + ecx*4 + 0x9c]
sub edx, eax
lea esi, [ecx*4]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + esi + 0x10c]
push edx
push eax
mov edx, ebx
call fcn.0045a640
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
mov dword [esp + 0x24], ebx
test ebx, ebx
jne 0x45b5a2
mov eax, dword [esp + esi + 0x108]
mov cx, word [esp + 0x5c]
sub cx, word [esp + esi + 0x78]
mov ebx, dword [esp + 0x4c]
mov byte [edi], 1
mov word [eax + 0x10], cx
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x28]
inc eax
mov dword [esp + 0x64], eax
cmp eax, edi
jl 0x45bca5
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x108]
mov dword [esp + 0x10], eax
cmp dword [ebp + 0xc], 0
je 0x45bdf1
mov ebx, dword [esp + 0x44]
cmp word [ebx + 0x12], 0
jne 0x45bdf1
movzx eax, byte [ebx + 5]
cmp ax, word [esi + 0x10]
ja 0x45bdf1
mov ecx, esi
call fcn.00454a30
mov ecx, dword [esp + 0x108]
mov edx, ebx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
call fcn.0045aa50
mov edi, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0xc], edi
test edi, edi
jne 0x45be48
mov ecx, dword [esp + 0x108]
mov edx, ecx
push dword [ecx + 0x54]
mov ecx, dword [ecx + 0x34]
call fcn.00459560
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
jmp 0x45be48
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x11], 0
je 0x45be44
cmp word [esp + 0x68], 0
jne 0x45be44
xor esi, esi
test edi, edi
jle 0x45be44
lea esp, [esp]
mov eax, dword [esp + esi*4 + 0x108]
lea edx, [esp + 0x24]
push edx
push dword [eax + 0x54]
mov eax, dword [eax + 0x38]
push 5
mov edx, dword [eax + 8]
bswap edx
call fcn.00454490
mov ecx, dword [esp + 0x40]
inc esi
add esp, 0xc
cmp esi, edi
jl 0x45be10
mov edi, dword [esp + 0x24]
mov dword [esp + 0xc], edi
jmp 0x45be48
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
cmp esi, ebx
jge 0x45b2b9
jmp 0x45be60
mov ecx, dword [esp + esi*4 + 0xfc]
test edi, edi
jne 0x45be7d
push dword [ecx + 0x54]
mov edx, ecx
mov ecx, dword [ecx + 0x34]
call fcn.00459560
add esp, 4
mov edi, eax
inc esi
cmp esi, ebx
jl 0x45be60
mov dword [esp + 0xc], edi
jmp 0x45b2b9
call fcn.00449e00
cmp dword [ebx + 0x80], 0
jne 0x45beee
mov eax, dword [ebx + 0xd4]
cmp dword [eax + 0xc], 0
jne 0x45beee
mov al, byte [ebx + 0x11]
cmp al, 6
je 0x45bee7
test al, al
je 0x45bee7
cmp al, 2
jb 0x45bed3
mov eax, dword [0x66bb38]
test eax, eax
je 0x45bebf
call eax
mov ecx, ebx
call fcn.00450300
mov eax, dword [0x66bb3c]
test eax, eax
je 0x45bee7
call eax
jmp 0x45bee7
cmp byte [ebx + 4], 0
jne 0x45bee7
push 0
xor edx, edx
mov ecx, ebx
call fcn.0044c820
add esp, 4
mov ecx, ebx
call fcn.0044c680
inc esi
mov dword [esp + 0x30], esi
cmp esi, edi
jl 0x45b2e0
mov edi, dword [esp + 0x28]
xor esi, esi
mov dword [esp + 0x30], esi
test edi, edi
jle 0x45bfe2
lea ecx, [ecx]
mov ecx, dword [esp + esi*4 + 0x108]
test ecx, ecx
je 0x45bfd5
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x18], 0x20
mov ebx, dword [ecx + 0x10]
je 0x45bf72
dec dword [ebx + 0x80]
mov eax, dword [ebx + 0x90]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0xa0]
mov esi, dword [ebx + 0x40]
mov dword [ebx + 0x90], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x14]
mov edi, dword [esi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.004c88c0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [esp + 0x40]
add esp, 0x10
mov edi, dword [esp + 0x28]
jmp 0x45bf77
call fcn.00449e00
cmp dword [ebx + 0x80], 0
jne 0x45bfd5
mov eax, dword [ebx + 0xd4]
cmp dword [eax + 0xc], 0
jne 0x45bfd5
mov al, byte [ebx + 0x11]
cmp al, 6
je 0x45bfce
test al, al
je 0x45bfce
cmp al, 2
jb 0x45bfba
mov eax, dword [0x66bb38]
test eax, eax
je 0x45bfa6
call eax
mov ecx, ebx
call fcn.00450300
mov eax, dword [0x66bb3c]
test eax, eax
je 0x45bfce
call eax
jmp 0x45bfce
cmp byte [ebx + 4], 0
jne 0x45bfce
push 0
xor edx, edx
mov ecx, ebx
call fcn.0044c820
add esp, 4
mov ecx, ebx
call fcn.0044c680
inc esi
mov dword [esp + 0x30], esi
cmp esi, edi
jl 0x45bf10
mov ecx, dword [esp + 0x124]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c0564
mov esp, ebp
pop ebp
ret