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

Disassembly:
sub esp, 0x144
mov eax, dword [0x5340e4]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x15c]
xor eax, eax
push edi
mov edi, dword [esp + 0x158]
xor ebx, ebx
push 0x40
mov dword [esp + 0x14], eax
xor ebp, ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x14c], eax
mov byte [esp + 0x150], al
lea eax, [esp + 0x9c]
push ebx
push eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], ebx
call fcn.004e7970
mov eax, dword [edi + 0x34]
add esp, 0xc
mov dword [esp + 0x34], eax
test esi, esi
jne 0x44964c
lea eax, [esi + 7]
jmp 0x44ab25
movzx edx, word [edi + 0x18]
movzx ecx, byte [edi + 0xc]
lea esi, [ecx + edx]
cmp esi, 2
jae 0x449662
mov dword [esp + 0x40], ebx
jmp 0x44969c
mov eax, dword [esp + 0x15c]
test eax, eax
jne 0x449673
mov dword [esp + 0x40], ebx
jmp 0x44968e
cmp eax, esi
jne 0x449689
mov eax, dword [esp + 0x168]
add esi, 0xfffffffe
add esi, eax
mov dword [esp + 0x40], esi
jmp 0x449695
dec eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x168]
mov esi, 2
sub esi, eax
lea eax, [esi + 1]
mov dword [esp + 0x68], esi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
sub eax, ecx
lea ecx, [eax + esi]
cmp ecx, edx
jne 0x4496bd
movzx ecx, byte [edi + 9]
add ecx, 8
jmp 0x4496d1
mov eax, dword [edi + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x1a]
movzx ecx, cx
and ecx, eax
add ecx, dword [edi + 0x38]
mov dword [esp + 0x3c], ecx
mov edi, dword [ecx]
xor ecx, ecx
bswap edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x5c], edi
test ecx, ecx
jne 0x44970d
push ecx
lea eax, [esp + 0xf0]
lea eax, [eax + esi*4]
push eax
push edi
push dword [esp + 0x40]
call fcn.0045ec40
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], ecx
lea edi, [esi*4]
test ecx, ecx
jne 0x44a987
mov eax, dword [esp + edi + 0xec]
cmp dword [eax + 0x14], ebx
jge 0x449743
push eax
call fcn.0044b7d0
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x449874
mov eax, dword [esp + edi + 0xec]
movzx eax, word [eax + 0x18]
add eax, 4
add ebp, eax
mov eax, esi
dec esi
mov dword [esp + 0x18], ebp
test eax, eax
je 0x449880
mov edi, dword [esp + 0x2c]
mov dl, byte [edi + 0xc]
test dl, dl
je 0x4497b6
mov eax, dword [esp + 0x40]
movzx ecx, word [edi + 0x1c]
add eax, esi
cmp eax, ecx
jne 0x4497b6
mov eax, dword [edi + 0x24]
push eax
mov dword [esp + esi*4 + 0x7c], eax
mov edi, dword [eax]
mov eax, dword [esp + 0x30]
bswap edi
push eax
mov dword [esp + 0x40], edi
mov eax, dword [eax + 0x4c]
mov dword [esp + 0x64], edi
call eax
mov ecx, dword [esp + 0x34]
add esp, 8
movzx eax, ax
mov dword [esp + esi*4 + 0xf8], eax
mov byte [ecx + 0xc], bl
mov ecx, dword [esp + 0x10]
jmp 0x4496e6
mov ecx, dword [esp + 0x40]
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 + 0x1a]
mov edi, dword [edi + 0x38]
movzx ecx, cx
and ecx, eax
add edi, ecx
push edi
mov dword [esp + esi*4 + 0x7c], edi
mov eax, dword [edi]
bswap eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [eax + 0x4c]
call eax
mov edx, dword [esp + 0x3c]
add esp, 8
movzx ebp, ax
mov dword [esp + esi*4 + 0xf8], ebp
test byte [edx + 0x18], 0xc
je 0x44983f
mov eax, dword [esp + 0x2c]
mov ecx, edi
sub ecx, dword [eax + 0x38]
lea eax, [ecx + ebp]
cmp eax, dword [edx + 0x28]
jg 0x44983f
mov eax, dword [esp + 0x60]
push ebp
add eax, ecx
push edi
push eax
call fcn.004e73f0
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov eax, dword [esp + 0x60]
sub eax, dword [ecx + 0x38]
add eax, edi
mov dword [esp + esi*4 + 0x78], eax
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
push ebp
mov ebp, dword [esp + 0x34]
movzx eax, byte [ebp + 0xc]
sub ecx, eax
add ecx, esi
push ecx
push ebp
call fcn.00454760
mov ecx, dword [esp + 0x30]
add esp, 0x10
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
jmp 0x4496e6
lea eax, [esi*4]
jmp 0x44a98a
mov eax, dword [esp + 0x34]
lea esi, [ebp + 3]
and esi, 0xfffffffc
mov eax, dword [eax + 0x24]
lea ecx, [esi + esi*2]
lea eax, [eax + ecx*2]
cdq
push edx
push eax
call fcn.0049b7f0
add esp, 8
mov dword [esp + 0xa0], eax
test eax, eax
jne 0x4498b7
mov ebp, 7
mov dword [esp + 0x10], ebp
jmp 0x44aa05
mov ecx, dword [esp + 0xec]
lea eax, [eax + esi*4]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0xa4], eax
lea eax, [eax + esi*2]
mov dword [esp + 0x4c], eax
movzx eax, byte [ecx + 8]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x50], eax
mov al, byte [ecx + 2]
mov byte [esp + 0x17], al
movzx eax, al
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x1c], eax
test ebp, ebp
jle 0x449b41
nop word [eax + eax]
shl eax, 2
mov dword [esp + 0x64], eax
mov edi, dword [esp + eax + 0xec]
mov dword [esp + 0x48], edi
movzx eax, word [edi + 0x1a]
mov ebp, dword [edi + 0x38]
mov ecx, eax
movzx esi, word [edi + 0x12]
movzx edx, word [edi + 0x18]
add esi, ebp
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x24], ebp
mov ecx, dword [eax + 0x38]
mov al, byte [ebp]
mov dword [esp + 0x18], esi
cmp al, byte [ecx]
jne 0x449d5a
movzx eax, byte [edi + 0xc]
mov ecx, dword [esp + 0xa4]
add eax, edx
add eax, eax
push eax
mov eax, dword [esp + 0x9c]
push 0
lea eax, [ecx + eax*2]
push eax
call fcn.004e7970
mov al, byte [edi + 0xc]
add esp, 0xc
test al, al
je 0x449a26
movzx edx, word [edi + 0x1c]
cmp dword [esp + 0x58], edx
jb 0x449d2e
test edx, edx
je 0x4499ea
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x98]
nop dword [eax + eax]
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 + 0xa0]
add ecx, ebp
mov dword [eax + ebx*4], ecx
inc ebx
sub edx, 1
jne 0x4499b0
mov edi, dword [esp + 0x48]
mov dword [esp + 0x98], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x18], esi
mov al, byte [edi + 0xc]
xor edx, edx
test al, al
je 0x449a26
mov ebx, dword [esp + 0x98]
lea ecx, [edi + 0x24]
mov esi, dword [esp + 0xa0]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [esi + ebx*4], eax
inc edx
movzx eax, byte [edi + 0xc]
inc ebx
cmp edx, eax
jl 0x449a01
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x98], ebx
mov ebx, dword [esp + 0x30]
movzx eax, word [edi + 0x12]
movzx ecx, word [edi + 0x18]
add eax, ebp
lea edx, [eax + ecx*2]
cmp esi, edx
jae 0x449a74
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x98]
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 + 0xa0]
add ecx, ebp
mov dword [eax + ebx*4], ecx
inc ebx
cmp esi, edx
jb 0x449a42
mov edi, dword [esp + 0x48]
mov dword [esp + 0x98], ebx
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x98]
mov dword [esp + ecx + 0x120], edx
cmp eax, dword [esp + 0x68]
jge 0x449b30
cmp byte [esp + 0x17], 0
jne 0x449b30
movzx eax, word [esp + ecx + 0xf8]
mov esi, dword [esp + 0xa4]
mov ebp, dword [esp + 0x4c]
push eax
push dword [esp + ecx + 0x7c]
mov word [esi + edx*2], ax
lea esi, [ebx + ebp]
add ebx, eax
push esi
mov dword [esp + 0x3c], ebx
call fcn.004e73f0
mov eax, dword [esp + 0x5c]
add esp, 0xc
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0xa0]
movzx eax, ax
add eax, esi
mov esi, dword [esp + 0x50]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0xa4]
sub word [eax + edx*2], si
cmp byte [edi + 8], 0
jne 0x449b09
mov eax, dword [edi + 0x38]
mov ecx, dword [ecx + edx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
jmp 0x449b24
cmp word [eax + edx*2], 4
jae 0x449b24
mov byte [ebx + ebp], 0
inc ebx
inc word [eax + edx*2]
cmp word [eax + edx*2], 4
jb 0x449b10
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x1c]
inc edx
mov dword [esp + 0x98], edx
mov ebp, dword [esp + 0x44]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, ebp
jl 0x449910
mov eax, dword [esp + 0x50]
xor ebx, ebx
movzx ecx, ax
xor edx, edx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edx
mov eax, dword [eax + 0x28]
add eax, 0xfffffff4
add eax, ecx
mov dword [esp + 0x30], eax
test ebp, ebp
jle 0x449c48
nop dword [eax]
mov esi, dword [esp + edx*4 + 0xec]
mov ecx, dword [esp + edx*4 + 0x120]
mov dword [esp + 0x64], ecx
mov eax, dword [esi + 0x3c]
mov dword [esp + ebx*4 + 0xa8], eax
mov dword [esp + ebx*4 + 0xc0], ecx
test ebx, ebx
je 0x449ba5
cmp ecx, dword [esp + ebx*4 + 0xbc]
jne 0x449ba5
dec ebx
mov dword [esp + 0x1c], ebx
cmp byte [esp + 0x17], 0
jne 0x449bc9
mov eax, dword [esp + 0x2c]
inc ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [eax + 0x3c]
mov dword [esp + ebx*4 + 0xa8], eax
lea eax, [ecx + 1]
mov dword [esp + ebx*4 + 0xc0], eax
mov edi, dword [esp + 0x30]
lea eax, [esp + 0xf8]
sub edi, dword [esi + 0x14]
lea eax, [eax + edx*4]
cmp byte [esi + 0xc], 0
mov dword [esp + 0x68], eax
mov dword [eax], edi
mov dword [esp + 0x4c], 0
jbe 0x449c2b
mov ebx, dword [esp + 0x4c]
lea ebp, [esi + 0x24]
push dword [ebp]
mov eax, dword [esi + 0x4c]
push esi
call eax
movzx eax, ax
lea ebp, [ebp + 4]
add eax, 2
inc ebx
add edi, eax
add esp, 8
movzx eax, byte [esi + 0xc]
cmp ebx, eax
jl 0x449bf5
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x44]
mov dword [eax], edi
mov dword [esp + edx*4 + 0x10c], ecx
inc ebx
inc edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edx
cmp edx, ebp
jl 0x449b70
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], 0
mov edx, ebp
mov dword [esp + 0x24], edx
test ebp, ebp
jle 0x449f00
mov ecx, dword [esp + 0x98]
mov ebx, 1
mov dword [esp + 0x18], ebx
xor ebp, ebp
mov edi, dword [esp + ebp + 0xf8]
cmp edi, eax
jle 0x449daf
nop
cmp ebx, edx
jl 0x449cad
lea edx, [ebx + 1]
mov dword [esp + 0x24], edx
cmp edx, 5
jg 0x449ea8
mov dword [esp + ebp + 0xfc], 0
mov edi, dword [esp + ebp + 0xf8]
mov dword [esp + ebp + 0x110], ecx
mov esi, dword [esp + ebp + 0x10c]
mov ecx, dword [esp + 0xa4]
lea ebx, [esi - 1]
movzx eax, word [ecx + ebx*2]
test ax, ax
jne 0x449ce2
lea eax, [esp + 0x98]
push ebx
push eax
call fcn.00450ef0
mov ecx, dword [esp + 0xac]
add esp, 8
movzx eax, ax
movzx eax, ax
add eax, 2
sub edi, eax
cmp byte [esp + 0x17], 0
mov dword [esp + ebp + 0xf8], edi
jne 0x449d88
cmp esi, dword [esp + 0x98]
jge 0x449d86
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x449d26
lea eax, [esp + 0x98]
push esi
push eax
call fcn.00450ef0
add esp, 8
movzx eax, ax
movzx eax, ax
add eax, 2
jmp 0x449d88
push 0x51e124
push 0x13256
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00444580
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x44a9a1
push 0x51e124
push 0x1323e
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00444580
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x44a9a1
xor eax, eax
add dword [esp + ebp + 0xfc], eax
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x24]
mov dword [esp + ebp + 0x10c], ebx
mov ebx, dword [esp + 0x18]
cmp edi, dword [esp + 0x30]
jg 0x449c80
mov esi, dword [esp + ebp + 0x10c]
cmp esi, ecx
jge 0x449e60
mov edx, dword [esp + 0xa4]
movzx eax, word [edx + esi*2]
test ax, ax
jne 0x449df0
lea eax, [esp + 0x98]
push esi
push eax
call fcn.00450ef0
mov ecx, dword [esp + 0xa0]
add esp, 8
mov edx, dword [esp + 0xa4]
movzx eax, ax
movzx eax, ax
add eax, 2
add edi, eax
cmp edi, dword [esp + 0x30]
jg 0x449e88
inc esi
mov dword [esp + ebp + 0xf8], edi
cmp byte [esp + 0x17], 0
mov dword [esp + ebp + 0x10c], esi
jne 0x449e51
cmp esi, ecx
jge 0x449e4f
movzx eax, word [edx + esi*2]
test ax, ax
jne 0x449e47
lea eax, [esp + 0x98]
push esi
push eax
call fcn.00450ef0
mov ecx, dword [esp + 0xa0]
add esp, 8
mov edx, dword [esp + 0xa4]
movzx eax, ax
movzx eax, ax
add eax, 2
jmp 0x449e51
xor eax, eax
sub dword [esp + ebp + 0xfc], eax
cmp esi, ecx
jl 0x449dc5
mov edx, ebx
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x1c]
inc ebx
inc eax
mov dword [esp + 0x18], ebx
add ebp, 4
mov dword [esp + 0x1c], eax
cmp eax, edx
jge 0x449f00
mov eax, dword [esp + 0x30]
jmp 0x449c70
cmp esi, ecx
jge 0x449e60
cmp dword [esp + 0x1c], 0
jle 0x449e9c
mov eax, dword [esp + ebp + 0x108]
jmp 0x449e9e
xor eax, eax
cmp esi, eax
jle 0x449ed4
mov edx, dword [esp + 0x24]
jmp 0x449e66
push 0x51e124
push 0x132bb
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00444580
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x44a9a1
push 0x51e124
push 0x132dc
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00444580
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x44a9a1
lea eax, [edx - 1]
mov ecx, eax
mov dword [esp + 0x18], eax
test ecx, ecx
jle 0x44a04d
lea edi, [ecx*4]
mov ecx, dword [esp + 0xa4]
mov ebx, dword [esp + edi + 0xf8]
lea eax, [esp + 0x10c]
mov ebp, dword [esp + edi + 0xf4]
sub eax, 4
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], edi
mov esi, dword [eax + edi]
mov dword [esp + 0x54], esi
dec esi
mov eax, esi
sub eax, dword [esp + 0x70]
inc eax
cmp word [ecx + eax*2], 0
lea ecx, [ecx + eax*2]
mov dword [esp + 0x1c], ecx
jne 0x449f71
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00450ef0
mov ecx, dword [esp + 0x24]
add esp, 8
mov eax, dword [esp + 0xa4]
movzx eax, word [eax + esi*2]
test ax, ax
jne 0x449f99
lea eax, [esp + 0x98]
push esi
push eax
call fcn.00450ef0
mov ecx, dword [esp + 0x24]
add esp, 8
movzx eax, ax
movzx edx, word [ecx]
movzx edi, ax
mov dword [esp + 0x4c], edi
test ebx, ebx
je 0x449fda
cmp dword [esp + 0x168], 0
jne 0x44a009
mov ecx, dword [esp + 0x24]
add edx, ebx
dec ecx
mov eax, 2
cmp dword [esp + 0x18], ecx
mov ecx, 0
cmove eax, ecx
mov ecx, ebp
sub ecx, eax
lea eax, [edx + 2]
sub ecx, edi
cmp eax, ecx
jg 0x44a009
mov ecx, dword [esp + 0x1c]
mov eax, 0xfffffffe
lea ebx, [edx + 2]
sub eax, edi
mov edx, esi
mov edi, dword [esp + 0x58]
add ebp, eax
mov eax, dword [esp + 0x48]
sub ecx, 2
sub esi, 1
mov dword [esp + 0x54], edx
mov dword [esp + 0x1c], ecx
mov dword [eax + edi], edx
jns 0x449f71
jmp 0x44a015
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x18]
mov dword [esp + edi + 0xf8], ebx
mov dword [esp + edi + 0xf4], ebp
cmp ecx, 1
jbe 0x44a032
mov eax, dword [eax + edi - 4]
jmp 0x44a034
xor eax, eax
cmp edx, eax
jle 0x44a0bc
dec ecx
mov dword [esp + 0x18], ecx
test ecx, ecx
jg 0x449f11
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0xec]
xor esi, esi
mov eax, dword [eax + 0x38]
lea ebp, [esi + 1]
movzx ebx, byte [eax]
mov dword [esp + 0x4c], ebx
test edx, edx
jle 0x44a1fb
nop dword [eax + eax]
cmp esi, dword [esp + 0x44]
jge 0x44a153
mov edi, dword [esp + esi*4 + 0xec]
mov dword [esp + esi*4 + 0xd8], edi
mov dword [esp + esi*4 + 0xec], 0
mov dword [esp + 0x18], edi
mov ecx, dword [edi + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x44a0ec
mov eax, dword [edx + 0x1c]
cmp eax, dword [ecx + 0x18]
jb 0x44a0ec
cmp dword [edx + 0x68], 0
je 0x44a0e8
push ecx
call fcn.004c9360
jmp 0x44a116
push 0x51e124
push 0x13308
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00444580
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x44a9a1
xor edx, edx
jmp 0x44a11b
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x10], eax
test eax, eax
je 0x44a0fb
mov edx, eax
jmp 0x44a11f
mov eax, dword [edx + 0x9c]
push ecx
cmp eax, dword [edx + 0xa8]
jbe 0x44a111
call fcn.0046e3d0
jmp 0x44a116
call fcn.0046f6a0
add esp, 4
mov edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x15c]
xor ecx, ecx
sub eax, dword [esp + 0x40]
inc dword [esp + 0x28]
cmp esi, eax
mov eax, dword [edi + 0x48]
sete cl
mov dword [esp + 0x20], edx
inc ecx
cmp dword [eax + 0x20], ecx
jne 0x44a3f0
test edx, edx
jne 0x44a99d
jmp 0x44a1f0
cmp dword [esp + 0x168], 0
mov eax, dword [esp + 0x38]
push 0
cmovne eax, ebp
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x44]
call fcn.00446400
mov edx, eax
add esp, 0x14
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], edx
test edx, edx
jne 0x44a99d
mov edi, dword [esp + 0x18]
push ebx
push edi
call fcn.004e2ac0
mov ecx, dword [esp + 0x3c]
add esp, 8
inc dword [esp + 0x28]
mov eax, dword [esp + 0x98]
mov dword [esp + esi*4 + 0xd8], edi
cmp byte [ecx + 0x11], 0
mov dword [esp + esi*4 + 0x120], eax
je 0x44a1e8
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x30]
push dword [eax + 4]
push 5
push dword [edi + 4]
push ecx
call fcn.00472680
mov eax, dword [esp + 0x34]
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x44a99d
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
inc esi
cmp esi, dword [esp + 0x24]
jl 0x44a070
mov edx, dword [esp + 0x28]
xor ecx, ecx
test edx, edx
jle 0x44a21b
mov eax, dword [esp + ecx*4 + 0xd8]
mov eax, dword [eax + 4]
mov dword [esp + ecx*4 + 0x134], eax
inc ecx
cmp ecx, edx
jl 0x44a205
lea esi, [edx - 1]
xor ebp, ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebp
test esi, esi
jle 0x44a327
mov eax, esi
lea edi, [ebp + 1]
mov ebx, ebp
mov dword [esp + 0x70], edi
mov esi, edi
cmp edi, edx
jge 0x44a315
mov ebp, dword [esp + 0x28]
nop dword [eax]
mov eax, dword [esp + esi*4 + 0xd8]
mov ecx, esi
mov edx, dword [esp + ebx*4 + 0xd8]
mov eax, dword [eax + 4]
cmp eax, dword [edx + 4]
cmovae ecx, ebx
inc esi
mov ebx, ecx
cmp esi, ebp
jl 0x44a250
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x48], ebx
cmp ebx, ebp
je 0x44a30d
mov edi, dword [esp + 0x34]
xor edx, edx
mov eax, dword [0x5322e0]
mov ecx, dword [esp + ebx*4 + 0xd8]
mov esi, dword [esp + ebp*4 + 0xd8]
div dword [edi + 0x24]
mov ebx, dword [ecx + 4]
mov edx, dword [esi + 0x48]
inc eax
mov ecx, dword [ecx + 0x48]
mov ebp, dword [esi + 4]
push eax
movzx esi, word [edx + 0x1c]
movzx edi, word [ecx + 0x1c]
push edx
mov word [edx + 0x1c], di
call fcn.0049eef0
mov eax, dword [esp + 0x50]
push ebp
mov eax, dword [esp + eax*4 + 0xe4]
mov eax, dword [eax + 0x48]
push eax
mov word [eax + 0x1c], si
call fcn.0049eef0
mov esi, dword [esp + 0x28]
push ebx
mov eax, dword [esp + esi*4 + 0xec]
mov eax, dword [eax + 0x48]
push eax
mov word [eax + 0x1c], di
call fcn.0049eef0
mov eax, dword [esp + esi*4 + 0xf0]
add esp, 0x18
mov edi, dword [esp + 0x70]
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x48]
mov eax, dword [esp + eax*4 + 0xd8]
mov dword [eax + 4], ebp
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov ebp, edi
mov dword [esp + 0x18], ebp
cmp ebp, eax
jl 0x44a232
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + edx*4 + 0xd4]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 4]
bswap eax
mov dword [ecx], eax
test bl, 8
jne 0x44a372
mov ecx, dword [esp + 0x44]
cmp ecx, edx
je 0x44a372
lea eax, [esp + 0xd8]
lea esi, [esp + 0xec]
cmovge eax, esi
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + eax*4 + 0xd4]
mov ecx, dword [eax + 0x38]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x11], 0
je 0x44a59d
mov esi, dword [esp + 0xd8]
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x3c], 0
movzx ebp, word [esi + 0x18]
movzx eax, byte [esi + 0xc]
add ebp, eax
cmp dword [esp + 0x98], ebx
jle 0x44a5a4
xor eax, eax
mov edx, esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], edx
nop word [eax + eax]
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx + ebx*4]
mov dword [esp + 0x18], ecx
cmp ebx, ebp
jne 0x44a449
xor edx, edx
cmp byte [esp + 0x17], dl
sete dl
nop
inc edi
cmp edi, dword [esp + 0x28]
jge 0x44a424
mov esi, dword [esp + edi*4 + 0xd8]
jmp 0x44a42b
test edx, edx
jne 0x44a99d
push 0x51e124
push 0x13329
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00444580
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x44a9a1
mov esi, dword [esp + edi*4 + 0xec]
movzx eax, word [esi + 0x18]
movzx ecx, byte [esi + 0xc]
add eax, edx
add ecx, eax
add ebp, ecx
cmp ebx, ebp
je 0x44a3e0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
cmp ebx, dword [esp + eax + 0x10c]
jne 0x44a478
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
shl eax, 2
cmp byte [esp + 0x17], 0
mov dword [esp + 0x38], eax
mov edx, dword [esp + eax + 0xd8]
mov dword [esp + 0x24], edx
je 0x44a58f
cmp edi, dword [esp + 0x28]
jge 0x44a498
mov eax, dword [edx + 4]
cmp eax, dword [esp + edi*4 + 0x134]
jne 0x44a498
cmp ecx, dword [esi + 0x38]
jb 0x44a498
cmp ecx, dword [esi + 0x3c]
jb 0x44a58b
cmp word [esp + 0x50], 0
jne 0x44a4c7
lea eax, [esp + 0x20]
push eax
push dword [edx + 4]
mov eax, dword [ecx]
push 5
bswap eax
push eax
push dword [esp + 0x44]
call fcn.00472680
mov eax, dword [esp + 0x34]
add esp, 0x14
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa4]
movzx eax, word [eax + ebx*2]
test ax, ax
jne 0x44a4ef
lea eax, [esp + 0x98]
push ebx
push eax
call fcn.00450ef0
mov edx, dword [esp + 0x2c]
add esp, 8
movzx eax, ax
cmp ax, word [edx + 0x10]
jbe 0x44a579
cmp dword [esp + 0x10], 0
jne 0x44a99d
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x1c]
mov eax, dword [edx + 0x50]
push edx
call eax
movzx eax, word [esp + 0x9c]
add esp, 0xc
cmp eax, dword [esp + 0x8c]
jae 0x44a587
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x18]
cmp ecx, edx
jae 0x44a543
add eax, ecx
cmp eax, edx
ja 0x44a5ff
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
movzx eax, word [esp + 0x96]
push dword [edx + 4]
mov eax, dword [eax + ecx - 4]
push 3
bswap eax
push eax
push dword [edx + 0x34]
call fcn.00472680
mov eax, dword [esp + 0x34]
add esp, 0x14
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
jmp 0x44a57d
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x44a99d
jmp 0x44a58b
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
inc ebx
cmp ebx, dword [esp + 0x98]
jl 0x44a3c0
mov esi, dword [esp + 0xd8]
xor ebp, ebp
cmp dword [esp + 0x1c], ebp
jle 0x44a747
mov edi, dword [esp + ebp*4 + 0x10c]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + ebp*4 + 0xd8]
mov ebx, dword [esp + 0x6c]
add ebx, dword [esp + 0x60]
mov esi, dword [eax + edi*4]
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x50]
movzx edx, cx
mov ecx, dword [esp + 0x3c]
movzx eax, word [eax + edi*2]
add edx, eax
cmp byte [ecx + 8], 0
jne 0x44a62b
mov ecx, dword [ecx + 0x38]
mov eax, dword [esi]
mov dword [ecx + 8], eax
jmp 0x44a6dd
push 0x51e124
push 0x117f7
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00444580
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x44a9a1
cmp byte [esp + 0x17], 0
je 0x44a6c4
lea eax, [esp + 0x80]
dec edi
push eax
mov eax, dword [esp + 0xa4]
push dword [eax + edi*4]
mov eax, dword [ecx + 0x50]
push ecx
call eax
mov edx, dword [esp + 0x90]
mov esi, ebx
mov ecx, dword [esp + 0x8c]
add esp, 0xc
add ebx, 4
test edx, edx
ja 0x44a6b2
jb 0x44a674
cmp ecx, 0x7f
ja 0x44a688
mov eax, 1
and cl, 0x7f
mov byte [ebx], cl
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x44a6dd
test edx, edx
ja 0x44a6b2
jb 0x44a696
cmp ecx, 0x3fff
ja 0x44a6b2
mov eax, ecx
and cl, 0x7f
shrd eax, edx, 7
mov byte [ebx + 1], cl
or al, 0x80
mov byte [ebx], al
mov eax, 2
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x44a6dd
push edx
push ecx
push ebx
call fcn.00472f10
add esp, 0xc
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x44a6dd
sub esi, 4
cmp eax, 4
jne 0x44a6dd
mov eax, dword [esp + 0x2c]
push esi
push eax
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
movzx edx, ax
add dword [esp + 0x6c], edx
xor eax, eax
cmp dword [esp + eax*4 + 0xc0], edi
jg 0x44a6f2
inc eax
cmp eax, 6
jl 0x44a6e3
mov ecx, dword [esp + eax*4 + 0xa8]
cmp esi, ecx
jae 0x44a708
lea eax, [edx + esi]
cmp eax, ecx
ja 0x44a7a7
mov eax, dword [esp + 0x3c]
push dword [eax + 4]
mov eax, dword [esp + 0x44]
push ebx
push edx
push esi
add eax, ebp
push eax
push dword [esp + 0x40]
call fcn.004606c0
add esp, 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
test eax, eax
jne 0x44a99d
inc ebp
cmp ebp, dword [esp + 0x1c]
jl 0x44a5b0
mov esi, dword [esp + 0xd8]
mov ebx, dword [esp + 0x28]
mov edi, 1
sub edi, ebx
mov dword [esp + 0x3c], edi
cmp edi, ebx
jge 0x44a870
mov ebp, dword [esp + 0x10c]
mov eax, edi
lea ebx, [esp + 0x148]
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
add ebx, ecx
cmp byte [ebx], 0
jne 0x44a858
test edi, edi
jns 0x44a798
mov eax, dword [esp + ecx*4 + 0x11c]
cmp eax, dword [esp + ecx*4 + 0x108]
jl 0x44a858
test ecx, ecx
jne 0x44a7d3
xor eax, eax
mov esi, ebp
xor edx, edx
jmp 0x44a80b
push 0x51e124
push 0x133f1
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00444580
mov ebp, 0xb
add esp, 0x14
mov dword [esp + 0x10], ebp
jmp 0x44a9a1
cmp ecx, dword [esp + 0x44]
jge 0x44a7eb
xor eax, eax
cmp byte [esp + 0x17], al
sete al
add eax, dword [esp + ecx*4 + 0x11c]
jmp 0x44a7f2
mov eax, dword [esp + 0x98]
mov esi, dword [esp + ecx*4 + 0x10c]
xor edx, edx
cmp byte [esp + 0x17], dl
sete dl
add edx, dword [esp + ecx*4 + 0x108]
sub esi, edx
lea edi, [ecx*4]
lea ecx, [esp + 0x98]
push ecx
push esi
push edx
push eax
push dword [esp + edi + 0xe8]
call fcn.00454910
add esp, 0x14
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
test eax, eax
jne 0x44a99d
mov eax, dword [esp + edi + 0xd8]
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + edi + 0xf8]
mov edi, dword [esp + 0x3c]
mov byte [ebx], 1
mov dword [eax + 0x14], ecx
mov ebx, dword [esp + 0x28]
inc edi
mov dword [esp + 0x3c], edi
cmp edi, ebx
jl 0x44a765
mov esi, dword [esp + 0xd8]
cmp dword [esp + 0x164], 0
je 0x44a8ec
mov ebp, dword [esp + 0x2c]
cmp word [ebp + 0x18], 0
jne 0x44a8ec
movzx eax, byte [ebp + 9]
cmp eax, dword [esi + 0x14]
jg 0x44a8ec
push 0xffffffffffffffff
push esi
call fcn.00453d20
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push ebp
push dword [esp + 0xe8]
call fcn.00452eb0
mov edx, dword [esp + 0x34]
add esp, 0x14
mov dword [esp + 0x10], edx
test edx, edx
jne 0x44a94a
mov eax, dword [esp + 0xd8]
push dword [eax + 4]
push eax
push dword [eax + 0x34]
call fcn.0045cea0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x10], edx
jmp 0x44a94a
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x11], 0
je 0x44a946
cmp word [esp + 0x50], 0
jne 0x44a946
xor esi, esi
test ebx, ebx
jle 0x44a946
nop dword [eax]
mov eax, dword [esp + esi*4 + 0xd8]
lea edx, [esp + 0x20]
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.00472680
mov ecx, dword [esp + 0x48]
inc esi
add esp, 0x14
cmp esi, ebx
jl 0x44a910
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], edx
jmp 0x44a94a
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x44]
mov esi, ebx
cmp ebx, ebp
jge 0x44a99d
nop dword [eax + eax]
mov eax, dword [esp + esi*4 + 0xec]
test edx, edx
jne 0x44a97c
push dword [eax + 4]
push eax
push dword [eax + 0x34]
call fcn.0045cea0
add esp, 0xc
mov edx, eax
inc esi
cmp esi, ebp
jl 0x44a960
mov dword [esp + 0x10], edx
jmp 0x44a99d
lea eax, [edi + 4]
push eax
lea eax, [esp + 0xf0]
push 0
push eax
call fcn.004e7970
add esp, 0xc
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0xa0]
test ebx, ebx
je 0x44aa05
cmp dword [0x5320f0], 0
je 0x44a9fb
mov eax, dword [0x536de8]
test eax, eax
je 0x44a9cc
push eax
call dword [0x532140]
add esp, 4
push ebx
call dword [0x53211c]
sub dword [0x536d88], eax
dec dword [0x536dac]
push ebx
call dword [0x532114]
mov eax, dword [0x536de8]
add esp, 8
test eax, eax
je 0x44aa05
push eax
call dword [0x532148]
jmp 0x44aa02
push ebx
call dword [0x532114]
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x44], ebx
jle 0x44aa93
mov ebp, dword [esp + 0x44]
nop word [eax + eax]
mov edx, dword [esp + ebx*4 + 0xec]
test edx, edx
je 0x44aa8a
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x44aa81
mov ecx, dword [edx + 0x14]
dec dword [ecx + 0x80]
mov eax, dword [ecx + 0x90]
mov dword [edx + 0x10], eax
mov esi, dword [ecx + 0x40]
mov dword [ecx + 0x90], edx
push dword [edx + 4]
mov eax, dword [edx + 0x18]
push dword [ecx + 0xac]
mov edi, dword [esi]
dec eax
push dword [ecx + 0xa8]
push 0
push eax
call fcn.004e6670
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x44aa8a
push edx
call fcn.0049efc0
add esp, 4
inc ebx
cmp ebx, ebp
jl 0x44aa20
mov ebp, dword [esp + 0x10]
xor ebx, ebx
cmp dword [esp + 0x28], ebx
jle 0x44ab23
mov ebp, dword [esp + 0x28]
nop dword [eax]
nop word [eax + eax]
mov edx, dword [esp + ebx*4 + 0xd8]
test edx, edx
je 0x44ab1a
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x44ab11
mov ecx, dword [edx + 0x14]
dec dword [ecx + 0x80]
mov eax, dword [ecx + 0x90]
mov dword [edx + 0x10], eax
mov esi, dword [ecx + 0x40]
mov dword [ecx + 0x90], edx
push dword [edx + 4]
mov eax, dword [edx + 0x18]
push dword [ecx + 0xac]
mov edi, dword [esi]
dec eax
push dword [ecx + 0xa8]
push 0
push eax
call fcn.004e6670
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x44ab1a
push edx
call fcn.0049efc0
add esp, 4
inc ebx
cmp ebx, ebp
jl 0x44aab0
mov ebp, dword [esp + 0x10]
mov eax, ebp
mov ecx, dword [esp + 0x150]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e56df
add esp, 0x144
ret