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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4fa7e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x14]
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ecx + 0x34]
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0x104], esi
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], al
mov dword [ebp - 0x98], edi
cmp esi, eax
jne 0x452035
pop edi
mov eax, 7
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b3861
mov esp, ebp
pop ebp
ret
movzx esi, word [ecx + 0x12]
push ebx
movzx ebx, byte [ecx + 1]
lea edi, [ebx + esi]
cmp edi, 2
jl 0x452060
cmp dword [ebp + 8], eax
je 0x452059
mov eax, dword [ebp + 8]
cmp eax, edi
jne 0x452058
lea eax, [edi + edx - 2]
jmp 0x452059
dec eax
mov edi, 2
sub edi, edx
mov dword [ebp - 0xc0], eax
sub eax, ebx
add eax, edi
lea edx, [edi + 1]
mov dword [ebp - 0xac], edx
cmp eax, esi
jne 0x452084
movzx eax, byte [ecx + 6]
mov ecx, dword [ecx + 0x38]
lea eax, [eax + ecx + 8]
jmp 0x45209f
mov edx, dword [ecx + 0x40]
lea esi, [edx + eax*2]
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
shl edx, 8
or eax, edx
movzx edx, word [ecx + 0x14]
and eax, edx
add eax, dword [ecx + 0x38]
movzx ebx, byte [eax]
movzx ecx, byte [eax + 1]
movzx edx, byte [eax + 2]
shl ebx, 8
or ebx, ecx
mov ecx, dword [ebp - 0x98]
shl ebx, 8
mov dword [ebp - 0xbc], eax
movzx eax, byte [eax + 3]
or ebx, edx
push 0
lea esi, [ebp + edi*4 - 0xe0]
shl ebx, 8
or ebx, eax
push esi
push ecx
mov dword [ebp - 0xc4], ebx
call fcn.004512f0
add esp, 0xc
mov dword [ebp - 0x8c], eax
test eax, eax
jne 0x452281
mov esi, dword [esi]
movzx eax, byte [esi + 1]
add eax, dword [ebp - 0x94]
movzx edx, word [esi + 0x12]
mov ecx, edi
lea eax, [eax + edx + 1]
dec edi
mov dword [ebp - 0x94], eax
test ecx, ecx
je 0x45229f
mov ebx, dword [ebp - 0xcc]
movzx edx, word [ebx + 0x16]
mov eax, dword [ebp - 0xc0]
add eax, edi
cmp eax, edx
jne 0x45217a
cmp byte [ebx + 1], 0
je 0x45217a
mov eax, dword [ebx + 0x20]
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 2]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 3]
shl ecx, 8
mov dword [ebp + edi*4 - 0xec], eax
or ecx, edx
push eax
mov eax, ebx
mov dword [ebp - 0xc4], ecx
call fcn.00406a20
movzx eax, ax
add esp, 4
mov dword [ebp + edi*4 - 0x40], eax
mov byte [ebx + 1], 0
jmp 0x452254
movzx ecx, byte [ebx + 1]
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebx + 0x40]
sub edx, ecx
add edx, edi
movzx esi, byte [eax + edx*2 + 1]
lea eax, [eax + edx*2]
movzx eax, byte [eax]
shl eax, 8
or esi, eax
movzx eax, word [ebx + 0x14]
and esi, eax
add esi, dword [ebx + 0x38]
movzx eax, byte [esi]
movzx ecx, byte [esi + 1]
movzx edx, byte [esi + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 3]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
mov dword [ebp - 0xc4], eax
push esi
mov eax, ebx
mov dword [ebp + edi*4 - 0xec], esi
call fcn.00406a20
mov ecx, dword [ebp - 0x98]
movzx eax, ax
add esp, 4
test byte [ecx + 0x16], 4
mov dword [ebp - 0xb8], eax
mov dword [ebp + edi*4 - 0x40], eax
je 0x45222d
mov edx, dword [ebp - 0xb8]
mov eax, esi
sub eax, dword [ebx + 0x38]
add edx, eax
cmp edx, dword [ecx + 0x24]
jg 0x45303e
mov ecx, dword [ebp - 0xb8]
push ecx
push esi
mov esi, dword [ebp - 0x104]
lea edx, [esi + eax]
push edx
call fcn.004b3cc0
sub esi, dword [ebx + 0x38]
add esp, 0xc
add dword [ebp + edi*4 - 0xec], esi
movzx edx, byte [ebx + 1]
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0xc0]
sub eax, edx
push ecx
add eax, edi
push eax
mov esi, ebx
call fcn.00433350
add esp, 0xc
mov ecx, dword [ebp - 0x98]
mov ebx, dword [ebp - 0xc4]
push 0
lea esi, [ebp + edi*4 - 0xe0]
push esi
push ecx
call fcn.004512f0
add esp, 0xc
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x4520f0
lea edx, [edi*4 + 4]
push edx
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.004b4310
add esp, 0xc
jmp 0x453077
mov edx, dword [ebp - 0x98]
lea esi, [eax + 3]
mov eax, dword [edx + 0x20]
and esi, 0xfffffffc
lea ecx, [esi + esi*2]
lea eax, [eax + ecx*2]
call fcn.0040ec30
mov dword [ebp - 0xb0], eax
test eax, eax
jne 0x4522d2
mov dword [ebp - 0x8c], 7
jmp 0x453077
lea eax, [eax + esi*4]
lea ecx, [eax + esi*2]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xe0]
movzx edx, byte [eax + 5]
add dx, dx
add dx, dx
cmp dword [ebp - 0xac], 0
mov dword [ebp - 0x9c], ecx
movzx ecx, dx
movzx edx, byte [eax + 3]
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0x88], 0
jle 0x452552
mov eax, dword [ebp - 0xac]
dec eax
mov dword [ebp - 0xd0], eax
jmp 0x452330
mov ecx, dword [ebp - 0x88]
mov esi, dword [ebp + ecx*4 - 0xe0]
mov al, byte [esi + 1]
movzx edx, word [esi + 0x12]
movzx ecx, al
add edx, ecx
mov dword [ebp - 0xa4], edx
test al, al
je 0x4523ec
mov dword [ebp - 0x94], 0
test edx, edx
jle 0x45246a
mov edi, dword [ebp - 0xa0]
nop
movzx eax, byte [esi + 1]
dec eax
mov ecx, dword [ebp - 0x94]
js 0x452391
lea ebx, [esi + eax*2 + 0x16]
movzx edx, word [ebx]
cmp edx, ecx
jg 0x45238b
je 0x4523e6
dec ecx
sub ebx, 2
dec eax
jns 0x452381
mov edx, dword [esi + 0x40]
movzx eax, byte [edx + ecx*2]
lea ecx, [edx + ecx*2]
movzx ecx, byte [ecx + 1]
movzx edx, word [esi + 0x14]
shl eax, 8
or eax, ecx
and eax, edx
add eax, dword [esi + 0x38]
mov ecx, dword [ebp - 0xb0]
mov dword [ecx + edi*4], eax
push eax
mov eax, esi
call fcn.00406a20
mov edx, dword [ebp - 0xa8]
mov word [edx + edi*2], ax
mov eax, dword [ebp - 0x94]
inc eax
add esp, 4
inc edi
mov dword [ebp - 0x94], eax
cmp eax, dword [ebp - 0xa4]
jl 0x452370
jmp 0x452464
mov eax, dword [esi + eax*4 + 0x20]
jmp 0x4523ad
mov eax, dword [esi + 0x38]
movzx ecx, word [esi + 0xe]
mov dword [ebp - 0x94], eax
movzx eax, word [esi + 0x14]
test edx, edx
jle 0x45246a
mov edi, dword [ebp - 0xa0]
mov ebx, ecx
add ebx, dword [ebp - 0x94]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xa4], edx
nop
movzx edx, byte [ebx]
movzx ecx, byte [ebx + 1]
mov eax, dword [ebp - 0x94]
shl edx, 8
or ecx, edx
and ecx, dword [ebp - 0xd4]
add eax, ecx
mov ecx, dword [ebp - 0xb0]
mov dword [ecx + edi*4], eax
push eax
mov eax, esi
call fcn.00406a20
mov edx, dword [ebp - 0xa8]
mov word [edx + edi*2], ax
add esp, 4
inc edi
add ebx, 2
dec dword [ebp - 0xa4]
jne 0x452420
mov dword [ebp - 0xa0], edi
mov eax, dword [ebp - 0x88]
mov ebx, dword [ebp - 0xa0]
mov dword [ebp + eax*4 - 0x84], ebx
cmp eax, dword [ebp - 0xd0]
jge 0x45253f
cmp dword [ebp - 0xb4], 0
jne 0x45253f
movzx eax, word [ebp + eax*4 - 0x40]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xa8]
add edx, ecx
add ecx, eax
push eax
mov word [edi + ebx*2], ax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xc8], ecx
mov ecx, dword [ebp + eax*4 - 0xec]
push ecx
push edx
mov dword [ebp - 0xd4], edx
call fcn.004b3cc0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb0]
movzx edx, ax
add edx, dword [ebp - 0xd4]
add esp, 0xc
mov dword [ecx + ebx*4], edx
sub word [edi + ebx*2], ax
cmp byte [esi + 5], 0
mov ax, word [edi + ebx*2]
jne 0x45250c
mov eax, dword [esi + 0x38]
mov ecx, dword [ecx + ebx*4]
mov edx, dword [eax + 8]
mov dword [ecx], edx
jmp 0x452532
cmp ax, 4
jae 0x452532
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x9c]
mov byte [ecx + eax], 0
inc eax
mov edx, 4
mov dword [ebp - 0xc8], eax
mov word [edi + ebx*2], dx
mov eax, dword [ebp - 0x88]
inc ebx
mov dword [ebp - 0xa0], ebx
inc eax
mov dword [ebp - 0x88], eax
cmp eax, dword [ebp - 0xac]
jl 0x452330
movzx eax, word [ebp - 0xb8]
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + 0x24]
mov edi, dword [ebp - 0xa0]
lea esi, [edx + eax - 0xc]
mov dword [ebp - 0xd4], eax
xor ecx, ecx
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xe8], esi
test edi, edi
jle 0x4525bc
mov edx, dword [ebp - 0xa8]
movzx edx, word [edx + ecx*2]
lea eax, [eax + edx + 2]
cmp eax, esi
jle 0x4525b7
sub eax, edx
sub eax, 2
cmp dword [ebp - 0xb4], 0
mov dword [ebp + ebx*4 - 0x40], eax
mov dword [ebp + ebx*4 - 0x2c], ecx
je 0x4525ab
dec ecx
inc ebx
xor eax, eax
cmp ebx, 4
jg 0x45264e
inc ecx
cmp ecx, edi
jl 0x452582
mov dword [ebp + ebx*4 - 0x2c], edi
inc ebx
mov dword [ebp + ebx*4 - 0x44], eax
lea edi, [ebx - 1]
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x88], edi
test edi, edi
jle 0x452693
lea esp, [esp]
mov edx, dword [ebp + edi*4 - 0x40]
mov esi, dword [ebp + edi*4 - 0x44]
mov eax, dword [ebp + edi*4 - 0x30]
dec eax
mov ecx, eax
sub ecx, dword [ebp - 0xb4]
inc ecx
test edx, edx
je 0x45262d
cmp dword [ebp + 0x14], 0
jne 0x452676
mov edi, dword [ebp - 0xa8]
movzx edi, word [edi + eax*2]
mov ebx, esi
sub ebx, edi
mov edi, dword [ebp - 0xa8]
movzx edi, word [edi + ecx*2]
lea edi, [edi + edx + 2]
sub ebx, 2
cmp edi, ebx
mov edi, dword [ebp - 0x88]
jg 0x452676
mov ebx, dword [ebp - 0xa8]
movzx ecx, word [ebx + ecx*2]
movzx eax, word [ebx + eax*2]
lea edx, [edx + ecx + 2]
mov ecx, 0xfffffffe
sub ecx, eax
add esi, ecx
dec dword [ebp + edi*4 - 0x30]
jmp 0x4525e8
push 0x4ea714
push 0xea4b
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00424860
add esp, 0x10
mov dword [ebp - 0x8c], 0xb
jmp 0x453077
mov ebx, dword [ebp - 0x9c]
mov dword [ebp + edi*4 - 0x40], edx
mov dword [ebp + edi*4 - 0x44], esi
dec edi
mov dword [ebp - 0x88], edi
test edi, edi
jg 0x4525e0
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 0x48], 1
ja 0x4526ab
push 0x4ea714
push 0xea86
jmp 0x452658
mov edx, dword [eax + 0x38]
movzx eax, byte [edx]
xor edi, edi
mov dword [ebp - 0xa4], eax
test ebx, ebx
jle 0x4527e2
cmp edi, dword [ebp - 0xac]
jge 0x452734
mov eax, dword [ebp + edi*4 - 0xe0]
mov dword [ebp + edi*4 - 0x100], eax
mov dword [ebp - 0x9c], eax
mov eax, dword [eax + 0x44]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x94]
mov dword [ebp + edi*4 - 0xe0], 0
cmp edx, dword [ecx + 0x98]
jbe 0x45271c
push eax
call fcn.00447800
inc dword [ebp - 0x90]
add esp, 4
mov dword [ebp - 0x8c], eax
test eax, eax
jmp 0x4527d3
call fcn.00447650
inc dword [ebp - 0x90]
mov dword [ebp - 0x8c], eax
test eax, eax
jmp 0x4527d3
cmp dword [ebp + 0x14], 0
mov eax, 1
jne 0x452745
mov eax, dword [ebp - 0xc4]
mov edx, dword [ebp - 0x98]
push 0
push eax
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x9c]
push ecx
push edx
call fcn.0044d090
add esp, 0x14
mov dword [ebp - 0x8c], eax
test eax, eax
jne 0x453077
mov eax, dword [ebp - 0xa4]
mov esi, dword [ebp - 0x9c]
push eax
call fcn.00433040
mov ecx, dword [ebp - 0xa0]
inc dword [ebp - 0x90]
mov dword [ebp + edi*4 - 0x84], ecx
mov ecx, dword [ebp - 0x98]
add esp, 4
cmp byte [ecx + 0x11], 0
mov dword [ebp + edi*4 - 0x100], esi
je 0x4527d9
mov eax, dword [ebp - 0xcc]
lea edx, [ebp - 0x8c]
push edx
mov edx, dword [eax + 0x48]
mov eax, dword [esi + 0x48]
push edx
push 5
call fcn.00448500
add esp, 0xc
cmp dword [ebp - 0x8c], 0
jne 0x453077
inc edi
cmp edi, ebx
jl 0x4526c1
mov esi, dword [ebp - 0x90]
xor eax, eax
test esi, esi
jle 0x452828
mov edi, edi
mov ecx, dword [ebp + eax*4 - 0x100]
mov edx, dword [ecx + 0x48]
mov ecx, dword [ecx + 0x44]
mov cx, word [ecx + 0x18]
mov word [ebp + eax*2 - 0x18], cx
xor ecx, ecx
mov dword [ebp + eax*4 - 0x6c], edx
mov dword [ebp + eax*4 - 0x54], edx
test eax, eax
jle 0x452823
cmp dword [ebp + ecx*4 - 0x6c], edx
je 0x452911
inc ecx
cmp ecx, eax
jl 0x452814
inc eax
cmp eax, esi
jl 0x4527f0
xor ecx, ecx
mov dword [ebp - 0x88], ecx
test esi, esi
jle 0x452a6a
xor ebx, ebx
lea eax, [ebx + 1]
cmp esi, eax
jle 0x452870
xor edx, edx
jmp 0x452850
lea ecx, [eax*4]
mov edi, dword [ebp + ecx - 0x54]
cmp edi, dword [ebp + edx - 0x54]
jae 0x452865
mov ebx, eax
mov edx, ecx
inc eax
cmp eax, esi
jl 0x452850
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp + ebx*4 - 0x54]
mov dword [ebp - 0xc4], edx
mov dword [ebp + ebx*4 - 0x54], 0xffffffff
cmp ebx, ecx
je 0x452a5b
jle 0x452977
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ebp + ebx*4 - 0x100]
mov esi, dword [edx + 0x44]
mov edx, dword [esi]
lea edi, [ecx + ebx + 1]
mov ecx, dword [esi + 0x14]
xor eax, eax
push edi
mov word [esi + 0x18], ax
mov eax, dword [esi + 0x1c]
push ecx
mov ecx, dword [eax + 0x28]
push edx
push ecx
call dword [0x4fbc6c]
movzx eax, word [esi + 0x18]
add esp, 0x10
mov dword [esi + 0x14], edi
test al, 2
je 0x452977
test al, 4
je 0x452977
mov ecx, dword [esi + 0x1c]
cmp dword [ecx + 8], esi
jne 0x452900
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4528fd
jmp 0x4528f0
test byte [eax + 0x18], 4
je 0x4528fd
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x4528f0
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x20]
xor edx, edx
cmp eax, edx
je 0x452920
mov edi, dword [esi + 0x24]
mov dword [eax + 0x24], edi
jmp 0x452926
push 0x4ea714
push 0xeabd
jmp 0x452658
mov eax, dword [esi + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x24]
cmp eax, edx
je 0x452935
mov edi, dword [esi + 0x20]
mov dword [eax + 0x20], edi
jmp 0x452947
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
cmp eax, edx
jne 0x452947
cmp byte [ecx + 0x1c], dl
je 0x452947
mov byte [ecx + 0x1d], 2
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
mov eax, dword [ecx]
mov dword [esi + 0x20], eax
cmp eax, edx
je 0x45295b
mov dword [eax + 0x24], esi
jmp 0x452967
mov dword [ecx + 4], esi
cmp byte [ecx + 0x1c], dl
je 0x452967
mov byte [ecx + 0x1d], 1
mov dword [ecx], esi
cmp dword [ecx + 8], edx
jne 0x452977
test byte [esi + 0x18], 4
jne 0x452977
mov dword [ecx + 8], esi
mov ecx, dword [ebp - 0x88]
mov edi, dword [ebp + ecx*4 - 0x100]
mov esi, dword [edi + 0x44]
mov dx, word [ebp + ebx*2 - 0x18]
mov ebx, dword [ebp - 0xc4]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
push ebx
mov word [esi + 0x18], dx
mov edx, dword [esi + 0x1c]
push eax
mov eax, dword [edx + 0x28]
push ecx
push eax
call dword [0x4fbc6c]
movzx eax, word [esi + 0x18]
add esp, 0x10
mov dword [esi + 0x14], ebx
test al, 2
je 0x452a4c
test al, 4
je 0x452a4c
mov ecx, dword [esi + 0x1c]
cmp dword [ecx + 8], esi
jne 0x4529e4
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4529e1
test byte [eax + 0x18], 4
je 0x4529e1
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x4529d4
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4529f3
mov edx, dword [esi + 0x24]
mov dword [eax + 0x24], edx
jmp 0x4529f9
mov eax, dword [esi + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x24]
test eax, eax
je 0x452a08
mov edx, dword [esi + 0x20]
mov dword [eax + 0x20], edx
jmp 0x452a1a
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
test eax, eax
jne 0x452a1a
cmp byte [ecx + 0x1c], al
je 0x452a1a
mov byte [ecx + 0x1d], 2
xor edx, edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
mov eax, dword [ecx]
mov dword [esi + 0x20], eax
cmp eax, edx
je 0x452a30
mov dword [eax + 0x24], esi
jmp 0x452a3c
mov dword [ecx + 4], esi
cmp byte [ecx + 0x1c], dl
je 0x452a3c
mov byte [ecx + 0x1d], 1
mov dword [ecx], esi
cmp dword [ecx + 8], edx
jne 0x452a4c
test byte [esi + 0x18], 4
jne 0x452a4c
mov dword [ecx + 8], esi
mov esi, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x88]
mov dword [edi + 0x48], ebx
inc ecx
mov dword [ebp - 0x88], ecx
cmp ecx, esi
jl 0x452838
mov edi, dword [ebp + esi*4 - 0x104]
mov eax, dword [edi + 0x48]
mov ecx, dword [ebp - 0xbc]
mov edx, eax
shr edx, 0x18
mov byte [ecx], dl
mov edx, eax
shr edx, 0x10
mov byte [ecx + 1], dl
mov edx, eax
shr edx, 8
test byte [ebp - 0xa4], 8
mov byte [ecx + 2], dl
mov byte [ecx + 3], al
jne 0x452ac5
mov eax, dword [ebp - 0xac]
cmp esi, eax
je 0x452ac5
lea ecx, [ebp - 0x100]
jg 0x452ab5
lea ecx, [ebp - 0xe0]
mov eax, dword [ecx + eax*4 - 4]
mov ecx, dword [eax + 0x38]
mov edx, dword [edi + 0x38]
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x98]
cmp byte [ecx + 0x11], 0
je 0x452cc0
mov ebx, dword [ebp - 0x100]
movzx eax, byte [ebx + 1]
movzx edi, word [ebx + 0x12]
mov edx, dword [ebx + 0x38]
add edi, eax
xor eax, eax
mov dword [ebp - 0xc8], edx
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0xa0], eax
jle 0x452cc0
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xb0]
mov esi, dword [ecx + eax*4]
cmp eax, edi
jne 0x452b88
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp eax, dword [ebp - 0x90]
jge 0x452b4e
mov eax, dword [ebp + eax*4 - 0x100]
jmp 0x452b55
mov eax, dword [ebp + eax*4 - 0xe0]
movzx ecx, byte [eax + 1]
movzx edx, word [eax + 0x12]
add edx, ecx
xor ecx, ecx
cmp dword [ebp - 0xb4], ecx
sete cl
add ecx, dword [ebp - 0xbc]
lea edi, [ecx + edx]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xc8], edx
mov ecx, dword [ebp - 0xa4]
cmp eax, dword [ebp + ecx - 0x2c]
jne 0x452bbf
mov ecx, dword [ebp - 0x9c]
inc ecx
mov dword [ebp - 0x9c], ecx
add ecx, ecx
add ecx, ecx
cmp dword [ebp - 0xb4], 0
mov ebx, dword [ebp + ecx - 0x100]
mov dword [ebp - 0xa4], ecx
je 0x452cad
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [ebp - 0x90]
jge 0x452bf0
mov edx, dword [ebx + 0x48]
cmp edx, dword [ebp + ecx*4 - 0x6c]
jne 0x452bf0
mov ecx, dword [ebp - 0xc8]
cmp esi, ecx
jb 0x452bf0
mov edx, dword [ebp - 0xd0]
add edx, ecx
cmp esi, edx
jb 0x452cad
cmp word [ebp - 0xb8], 0
jne 0x452c39
movzx edx, byte [esi + 1]
mov ecx, dword [ebx + 0x48]
lea eax, [ebp - 0x8c]
push eax
movzx eax, byte [esi]
shl eax, 8
or eax, edx
movzx edx, byte [esi + 3]
push ecx
movzx ecx, byte [esi + 2]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp - 0x98]
shl eax, 8
push 5
or eax, edx
call fcn.00448500
mov eax, dword [ebp - 0x88]
add esp, 0xc
mov ecx, dword [ebp - 0xa8]
mov dx, word [ecx + eax*2]
cmp dx, word [ebx + 0xc]
jbe 0x452cad
cmp dword [ebp - 0x8c], 0
jne 0x452cad
push esi
push ebx
lea eax, [ebp - 0x58]
call fcn.004068e0
mov ax, word [ebp - 0x46]
add esp, 8
test ax, ax
je 0x452ca7
mov edx, dword [ebx + 0x48]
movzx ecx, ax
add ecx, esi
lea eax, [ebp - 0x8c]
push eax
movzx eax, byte [ecx + 1]
push edx
movzx edx, byte [ecx]
shl edx, 8
or eax, edx
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
mov ecx, dword [ebx + 0x34]
push 3
call fcn.00448500
add esp, 0xc
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp eax, dword [ebp - 0xa0]
jl 0x452b23
mov eax, dword [ebp - 0x90]
dec eax
xor ebx, ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0xd0], eax
test eax, eax
jle 0x452e2f
lea ecx, [ecx]
mov ecx, dword [ebp + ebx*4 - 0x2c]
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + ecx*4]
mov edx, dword [ebp - 0xa8]
movzx edx, word [edx + ecx*2]
mov esi, dword [ebp - 0x104]
mov edi, dword [ebp + ebx*4 - 0x100]
add esi, dword [ebp - 0xe4]
mov dword [ebp - 0xbc], eax
mov eax, edx
add eax, dword [ebp - 0xd4]
cmp byte [edi + 5], 0
jne 0x452d31
mov ebx, dword [ebp - 0xbc]
mov ecx, dword [edi + 0x38]
mov edx, dword [ebx]
mov dword [ecx + 8], edx
jmp 0x452ddd
cmp dword [ebp - 0xb4], 0
je 0x452dbd
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + ecx*4 - 4]
push ecx
push edi
lea eax, [ebp - 0x70]
call fcn.004068e0
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x70]
add esp, 8
mov ebx, esi
test edx, edx
ja 0x452da9
jb 0x452d68
cmp eax, 0x7f
ja 0x452d7c
and al, 0x7f
mov byte [esi + 4], al
mov eax, 1
add eax, 4
xor esi, esi
jmp 0x452ddd
test edx, edx
ja 0x452da9
jb 0x452d89
cmp eax, 0x3fff
ja 0x452da9
mov ecx, eax
shrd ecx, edx, 7
and al, 0x7f
mov byte [esi + 5], al
or cl, 0x80
mov eax, 2
shr edx, 7
mov byte [esi + 4], cl
add eax, 4
xor esi, esi
jmp 0x452ddd
push edx
push eax
lea ecx, [esi + 4]
call fcn.004026a0
add esp, 8
add eax, 4
xor esi, esi
jmp 0x452ddd
mov ebx, dword [ebp - 0xbc]
sub ebx, 4
cmp edx, 4
jne 0x452ddd
mov eax, dword [ebp - 0xcc]
push ebx
call fcn.00406a20
add esp, 4
movzx eax, ax
mov ecx, dword [edi + 0x48]
add dword [ebp - 0xe4], eax
lea edx, [ebp - 0x8c]
push edx
mov edx, dword [ebp - 0xc0]
push ecx
mov ecx, dword [ebp - 0xcc]
push eax
push ebx
mov ebx, dword [ebp - 0x88]
add edx, ebx
push edx
mov eax, esi
call fcn.00448950
add esp, 0x14
cmp dword [ebp - 0x8c], 0
jne 0x453077
inc ebx
mov dword [ebp - 0x88], ebx
cmp ebx, dword [ebp - 0xd0]
jl 0x452ce0
mov edi, dword [ebp - 0x90]
mov ecx, 1
sub ecx, edi
mov dword [ebp - 0x88], ecx
cmp ecx, edi
jge 0x452f0d
mov ebx, dword [ebp - 0xb4]
mov eax, ecx
cdq
mov esi, eax
xor esi, edx
sub esi, edx
cmp byte [ebp + esi - 0xc], 0
jne 0x452efe
test ecx, ecx
jns 0x452e79
mov eax, dword [ebp + esi*4 - 0x88]
cmp eax, dword [ebp + esi*4 - 0x30]
jl 0x452efe
test esi, esi
jne 0x452e86
mov eax, dword [ebp - 0x2c]
xor edx, edx
xor ecx, ecx
jmp 0x452eb5
cmp esi, dword [ebp - 0xac]
jge 0x452e9e
xor edx, edx
test ebx, ebx
sete dl
add edx, dword [ebp + esi*4 - 0x88]
jmp 0x452ea4
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp + esi*4 - 0x2c]
xor ecx, ecx
test ebx, ebx
sete cl
add ecx, dword [ebp + esi*4 - 0x30]
sub eax, ecx
mov edi, dword [ebp - 0xa8]
mov ebx, dword [ebp + esi*4 - 0x100]
push edi
mov edi, dword [ebp - 0xb0]
push edi
push eax
push ecx
push edx
mov eax, ebx
call fcn.004339e0
mov cx, word [ebp - 0xe8]
mov edi, dword [ebp - 0x90]
add esp, 0x14
sub cx, word [ebp + esi*4 - 0x40]
mov byte [ebp + esi - 0xc], 1
mov word [ebx + 0x10], cx
mov ebx, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x88]
inc ecx
mov dword [ebp - 0x88], ecx
cmp ecx, edi
jl 0x452e50
cmp dword [ebp + 0x10], 0
je 0x452f8b
mov eax, dword [ebp - 0xcc]
cmp word [eax + 0x12], 0
jne 0x452f8b
movzx edx, byte [eax + 6]
mov eax, dword [ebp - 0x100]
cmp dx, word [eax + 0x10]
ja 0x452f8b
mov edi, eax
call fcn.00432690
mov ebx, dword [ebp - 0xcc]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], eax
mov esi, edi
push ecx
mov eax, esi
call fcn.00448af0
mov eax, dword [ebp - 0x8c]
add esp, 4
test eax, eax
jne 0x452f80
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x34]
push edx
push eax
mov eax, esi
call fcn.0044d8d0
add esp, 8
mov dword [ebp - 0x8c], eax
mov edi, dword [ebp - 0x90]
jmp 0x452ffb
mov ebx, dword [ebp - 0x98]
cmp byte [ebx + 0x11], 0
je 0x452ff5
cmp word [ebp - 0xb8], 0
jne 0x452ff5
xor esi, esi
test edi, edi
jle 0x452ff5
jmp 0x452fb0
mov eax, dword [ebp + esi*4 - 0x100]
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x48]
lea edx, [ebp - 0x8c]
push edx
movzx edx, byte [ecx + 8]
push eax
movzx eax, byte [ecx + 9]
shl edx, 8
or eax, edx
movzx edx, byte [ecx + 0xa]
movzx ecx, byte [ecx + 0xb]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
push 5
mov ecx, ebx
call fcn.00448500
inc esi
add esp, 0xc
cmp esi, edi
jl 0x452fb0
mov eax, dword [ebp - 0x8c]
mov esi, edi
cmp edi, dword [ebp - 0xac]
jge 0x453077
lea esp, [esp]
mov ecx, dword [ebp + esi*4 - 0xe0]
test eax, eax
jne 0x45302d
mov edx, dword [ecx + 0x48]
mov eax, dword [ecx + 0x34]
push edx
push eax
mov eax, ecx
call fcn.0044d8d0
add esp, 8
inc esi
cmp esi, dword [ebp - 0xac]
jl 0x453010
mov dword [ebp - 0x8c], eax
jmp 0x453077
push 0x4ea714
push 0xe9c1
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00424860
lea ecx, [edi*4 + 4]
push ecx
lea edx, [ebp - 0xe0]
push 0
push edx
mov dword [ebp - 0x8c], 0xb
call fcn.004b4310
add esp, 0x1c
mov esi, dword [ebp - 0xb0]
call fcn.0040ed30
xor esi, esi
mov dword [ebp - 0x88], esi
cmp dword [ebp - 0xac], esi
jle 0x45316d
jmp 0x4530a0
mov eax, dword [ebp + esi*4 - 0xe0]
test eax, eax
je 0x45315a
mov eax, dword [eax + 0x44]
test byte [eax + 0x18], 0x40
mov ebx, dword [eax + 0x10]
je 0x4530fe
dec dword [ebx + 0x78]
mov ecx, dword [ebx + 0x88]
mov dword [eax + 0xc], ecx
mov esi, dword [ebx + 0x3c]
mov dword [ebx + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 0x98]
mov edi, dword [esi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004b9fa0
push edx
mov edx, dword [edi + 0x48]
push eax
push esi
call edx
mov esi, dword [ebp - 0x88]
add esp, 0x10
jmp 0x453103
call fcn.00404020
cmp dword [ebx + 0x78], 0
jne 0x45315a
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x45315a
mov al, byte [ebx + 0x10]
cmp al, 6
je 0x453155
test al, al
je 0x453155
cmp al, 2
jb 0x453143
mov eax, dword [0x50400c]
test eax, eax
je 0x45312f
call eax
mov eax, ebx
call fcn.0044b4e0
mov eax, dword [0x504010]
test eax, eax
je 0x453155
call eax
jmp 0x453155
cmp byte [ebx + 4], 0
jne 0x453155
push 0
push 0
call fcn.00410ef0
add esp, 8
call fcn.00419be0
inc esi
mov dword [ebp - 0x88], esi
cmp esi, dword [ebp - 0xac]
jl 0x4530a0
xor esi, esi
mov dword [ebp - 0x88], esi
cmp dword [ebp - 0x90], esi
jle 0x45324e
mov eax, dword [ebp + esi*4 - 0x100]
test eax, eax
je 0x45323b
mov eax, dword [eax + 0x44]
test byte [eax + 0x18], 0x40
mov ebx, dword [eax + 0x10]
je 0x4531df
dec dword [ebx + 0x78]
mov ecx, dword [ebx + 0x88]
mov dword [eax + 0xc], ecx
mov esi, dword [ebx + 0x3c]
mov dword [ebx + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 0x98]
mov edi, dword [esi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004b9fa0
push edx
mov edx, dword [edi + 0x48]
push eax
push esi
call edx
mov esi, dword [ebp - 0x88]
add esp, 0x10
jmp 0x4531e4
call fcn.00404020
cmp dword [ebx + 0x78], 0
jne 0x45323b
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x45323b
mov al, byte [ebx + 0x10]
cmp al, 6
je 0x453236
test al, al
je 0x453236
cmp al, 2
jb 0x453224
mov eax, dword [0x50400c]
test eax, eax
je 0x453210
call eax
mov eax, ebx
call fcn.0044b4e0
mov eax, dword [0x504010]
test eax, eax
je 0x453236
call eax
jmp 0x453236
cmp byte [ebx + 4], 0
jne 0x453236
push 0
push 0
call fcn.00410ef0
add esp, 8
call fcn.00419be0
inc esi
mov dword [ebp - 0x88], esi
cmp esi, dword [ebp - 0x90]
jl 0x453181
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x8c]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.004b3861
mov esp, ebp
pop ebp
ret