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

Disassembly:
sub esp, 0x148
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x58], edx
push 0x40
lea eax, [esp + 0x9c]
mov dword [esp + 0x20], 0
mov edi, ecx
mov dword [esp + 0x24], 0
xor ebp, ebp
mov dword [esp + 0x40], edi
push ebx
push eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0xfc], ebx
mov byte [esp + 0x100], bl
call fcn.0054f8e0
mov eax, dword [edi + 0x34]
add esp, 0xc
mov dword [esp + 0x34], eax
cmp dword [esp + 0x15c], ebx
jne 0x48e68a
lea eax, [ebp + 7]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret
movzx ecx, word [edi + 0x18]
movzx edx, byte [edi + 0xc]
lea esi, [edx + ecx]
cmp esi, 2
jae 0x48e6a0
mov dword [esp + 0x38], ebx
jmp 0x48e6d7
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x48e6ae
mov dword [esp + 0x38], ebx
jmp 0x48e6c9
cmp eax, esi
jne 0x48e6c4
mov eax, dword [esp + 0x164]
add esi, 0xfffffffe
add esi, eax
mov dword [esp + 0x38], esi
jmp 0x48e6d0
dec eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x164]
mov esi, 2
sub esi, eax
lea eax, [esi + 1]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
sub eax, edx
lea edx, [eax + esi]
cmp edx, ecx
jne 0x48e6f8
movzx ecx, byte [edi + 9]
add ecx, 8
jmp 0x48e70c
mov eax, dword [edi + 0x40]
mov ax, word [eax + edx*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 + 0x5c], ecx
mov edx, dword [ecx]
bswap edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x64], edx
nop
lea edi, [esi*4]
test ebp, ebp
jne 0x48f90f
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x68]
push ebp
add eax, edi
push ebp
push eax
call fcn.00487ff0
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], ebp
test ebp, ebp
jne 0x48f90f
lea ebp, [esp + 0x68]
mov ecx, dword [ebp + edi]
cmp dword [ecx + 0x14], ebx
jge 0x48e778
call fcn.00487b50
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
test eax, eax
jne 0x48e8a9
mov eax, dword [ebp + edi]
mov ebp, dword [esp + 0x1c]
add ebp, 4
movzx eax, word [eax + 0x18]
add ebp, eax
mov eax, esi
dec esi
mov dword [esp + 0x1c], ebp
test eax, eax
je 0x48e8c4
mov ebp, dword [esp + 0x3c]
mov dl, byte [ebp + 0xc]
test dl, dl
je 0x48e7eb
mov ecx, dword [esp + 0x38]
movzx eax, word [ebp + 0x1c]
add ecx, esi
cmp ecx, eax
jne 0x48e7eb
mov eax, dword [ebp + 0x24]
push eax
mov dword [esp + esi*4 + 0xfc], eax
push ebp
mov ecx, dword [eax]
mov eax, dword [ebp + 0x4c]
bswap ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x6c], ecx
call eax
mov edx, dword [esp + 0x58]
add esp, 8
movzx eax, ax
mov byte [ebp + 0xc], bl
mov ebp, dword [esp + 0x14]
mov dword [esp + esi*4 + 0xdc], eax
jmp 0x48e720
mov ecx, dword [esp + 0x38]
movzx eax, dl
sub ecx, eax
mov eax, dword [ebp + 0x40]
add ecx, esi
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [ebp + 0x1a]
movzx edi, cx
and edi, eax
add edi, dword [ebp + 0x38]
push edi
push ebp
mov dword [esp + esi*4 + 0x100], edi
mov eax, dword [edi]
bswap eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x4c]
call eax
mov edx, dword [esp + 0x3c]
add esp, 8
movzx ebp, ax
mov dword [esp + esi*4 + 0xdc], ebp
test byte [edx + 0x18], 0xc
je 0x48e878
mov eax, dword [esp + 0x3c]
mov ecx, edi
sub ecx, dword [eax + 0x38]
lea eax, [ecx + ebp]
cmp eax, dword [edx + 0x28]
jg 0x48e878
mov eax, dword [esp + 0x15c]
push ebp
add eax, ecx
push edi
push eax
call fcn.0054f360
mov eax, dword [esp + 0x48]
add esp, 0xc
sub edi, dword [eax + 0x38]
add edi, dword [esp + 0x15c]
mov dword [esp + esi*4 + 0xf8], edi
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x24]
push eax
push ebp
mov ebp, dword [esp + 0x44]
mov ecx, ebp
movzx eax, byte [ebp + 0xc]
sub edx, eax
add edx, esi
call fcn.0048d7f0
mov ebp, dword [esp + 0x2c]
add esp, 8
mov edx, dword [esp + 0x50]
mov dword [esp + 0x14], ebp
jmp 0x48e720
push edi
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.0054f8e0
mov ebp, dword [esp + 0x20]
add esp, 0xc
xor ebx, ebx
jmp 0x48f43e
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.00471370
mov ebp, eax
add esp, 8
mov dword [esp + 0xa0], ebp
test ebp, ebp
jne 0x48e8f9
lea ebp, [eax + 7]
xor ebx, ebx
jmp 0x48f43e
mov ecx, dword [esp + 0x68]
lea eax, [esi*4]
add eax, ebp
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa4], eax
lea eax, [eax + esi*2]
mov dword [esp + 0x40], eax
movzx eax, byte [ecx + 8]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x54], eax
mov al, byte [ecx + 2]
mov byte [esp + 0x13], al
movzx eax, al
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x44], eax
cmp dword [esp + 0x18], eax
jle 0x48eb80
nop dword [eax + eax]
shl eax, 2
mov dword [esp + 0x74], eax
mov edi, dword [esp + eax + 0x68]
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 + 0x80], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x7c], ebp
mov ecx, dword [eax + 0x38]
mov al, byte [ebp]
mov dword [esp + 0x1c], esi
cmp al, byte [ecx]
jne 0x48ed00
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.0054f8e0
add esp, 0xc
cmp byte [edi + 0xc], 0
jbe 0x48ea5b
movzx edx, word [edi + 0x1c]
cmp dword [esp + 0x2c], edx
jb 0x48ecd6
test edx, edx
je 0x48ea1e
mov edi, dword [esp + 0x28]
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
sub edx, 1
jne 0x48e9e7
mov edi, dword [esp + 0x48]
mov dword [esp + 0x98], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1c], esi
xor edx, edx
cmp byte [edi + 0xc], dl
jbe 0x48ea5b
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 0x48ea36
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x7c]
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 0x48eab2
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x80]
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
movzx eax, bx
movzx ecx, cx
and ecx, eax
mov eax, dword [esp + 0xa0]
add ecx, ebp
mov dword [eax + edi*4], ecx
inc edi
cmp esi, edx
jb 0x48ea80
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x98], edi
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x98]
mov dword [esp + edx + 0x118], ebp
cmp eax, dword [esp + 0x4c]
jge 0x48eb71
cmp byte [esp + 0x13], 0
jne 0x48eb71
movzx eax, word [esp + edx + 0xdc]
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0x40]
push eax
push dword [esp + edx + 0xfc]
add esi, ebx
mov word [ecx + ebp*2], ax
add ebx, eax
push esi
mov dword [esp + 0x3c], ebx
call fcn.0054f360
mov ecx, dword [esp + 0x60]
add esp, 0xc
mov edx, dword [esp + 0xa4]
movzx eax, cx
add eax, esi
mov esi, dword [esp + 0xa0]
mov dword [esi + ebp*4], eax
mov ax, word [edx + ebp*2]
sub ax, cx
mov word [edx + ebp*2], ax
cmp byte [edi + 8], 0
movzx ecx, ax
jne 0x48eb48
mov eax, dword [edi + 0x38]
mov ecx, dword [esi + ebp*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
jmp 0x48eb65
cmp ecx, 4
jae 0x48eb65
mov eax, dword [esp + 0x40]
mov byte [eax + ebx], 0
inc ebx
inc word [edx + ebp*2]
cmp word [edx + ebp*2], 4
jb 0x48eb51
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x44]
inc ebp
mov dword [esp + 0x98], ebp
inc eax
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0x18]
jl 0x48e950
mov eax, dword [esp + 0x54]
xor edx, edx
movzx ebp, ax
xor ebx, ebx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], ebx
mov eax, dword [eax + 0x28]
add eax, 0xfffffff4
add ebp, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], ebp
test eax, eax
jle 0x48ec7a
mov ecx, eax
lea esi, [esp + 0x118]
lea edi, [esp + 0x104]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + ebx*4 + 0x68]
mov ecx, dword [esp + ebx*4 + 0x118]
mov eax, dword [esi + 0x3c]
mov dword [esp + edx*4 + 0xa8], eax
mov dword [esp + edx*4 + 0xc0], ecx
test edx, edx
je 0x48ebef
cmp ecx, dword [esp + edx*4 + 0xbc]
jne 0x48ebef
dec edx
mov dword [esp + 0x2c], edx
cmp byte [esp + 0x13], 0
jne 0x48ec13
mov eax, dword [esp + 0x3c]
inc edx
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 0x3c]
mov dword [esp + edx*4 + 0xa8], eax
lea eax, [ecx + 1]
mov dword [esp + edx*4 + 0xc0], eax
mov edi, ebp
lea eax, [esp + 0xdc]
sub edi, dword [esi + 0x14]
lea eax, [eax + ebx*4]
xor ebp, ebp
mov dword [esp + 0x4c], eax
cmp byte [esi + 0xc], 0
mov dword [eax], edi
jbe 0x48ec60
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 0x48ec33
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov dword [eax], edi
mov eax, dword [esp + 0x18]
inc ebx
mov ebp, dword [esp + 0x40]
inc edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], edx
cmp ebx, eax
jl 0x48ebc1
lea esi, [esp + 0x104]
xor ebx, ebx
sub esi, 4
mov dword [esp + 0x48], ebx
mov dword [esp + 0x30], esi
mov edx, eax
mov dword [esp + 0x28], edx
test eax, eax
jle 0x48ef4a
mov ecx, dword [esp + 0x98]
mov esi, 1
xor ebp, ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x1c], ebp
lea eax, [esp + 0xdc]
add eax, ebp
mov dword [esp + 0x4c], eax
mov edi, dword [eax]
cmp edi, dword [esp + 0x40]
jle 0x48ee04
lea ebx, [esp + 0xe0]
add ebx, ebp
jmp 0x48ed3d
push 0x5a3f24
push 0x12161
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00474200
add esp, 0x14
mov ebp, 0xb
xor ebx, ebx
jmp 0x48f43e
push 0x5a3f24
push 0x12149
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00474200
add esp, 0x14
mov ebp, 0xb
xor ebx, ebx
jmp 0x48f43e
mov edx, dword [esp + 0x28]
lea eax, [esp + 0xdc]
add eax, ebp
cmp esi, edx
jl 0x48ed60
lea edx, [esi + 1]
mov dword [esp + 0x28], edx
cmp edx, 5
jg 0x48eef6
mov dword [ebx], 0
mov edi, dword [eax]
mov dword [esp + ebp + 0x108], ecx
mov edx, dword [esp + 0xa4]
lea eax, [esp + 0x104]
add eax, ebp
mov dword [esp + 0x2c], eax
mov esi, dword [eax]
movzx eax, word [edx + esi*2 - 2]
lea ebp, [esi - 1]
test ax, ax
jne 0x48ed9b
mov edx, ebp
lea ecx, [esp + 0x98]
call fcn.0048dbe0
mov edx, dword [esp + 0xa4]
movzx eax, ax
mov ecx, dword [esp + 0x4c]
movzx eax, ax
add eax, 2
sub edi, eax
cmp byte [esp + 0x13], 0
mov dword [ecx], edi
jne 0x48eddd
cmp esi, dword [esp + 0x98]
jge 0x48eddb
movzx eax, word [edx + esi*2]
test ax, ax
jne 0x48edd3
mov edx, esi
lea ecx, [esp + 0x98]
call fcn.0048dbe0
movzx eax, ax
movzx eax, ax
add eax, 2
jmp 0x48eddd
xor eax, eax
mov edx, dword [esp + 0x2c]
add dword [ebx], eax
mov ecx, dword [esp + 0x98]
mov esi, dword [esp + 0x44]
mov dword [edx], ebp
mov ebp, dword [esp + 0x1c]
cmp edi, dword [esp + 0x40]
jg 0x48ed30
mov ebx, dword [esp + 0x48]
jmp 0x48ee11
lea edx, [esp + 0x104]
add edx, ebp
mov dword [esp + 0x2c], edx
mov esi, dword [edx]
cmp esi, ecx
jge 0x48eeb0
mov ebx, dword [esp + 0xa4]
movzx eax, word [ebx + esi*2]
test ax, ax
jne 0x48ee47
mov edx, esi
lea ecx, [esp + 0x98]
call fcn.0048dbe0
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x2c]
movzx eax, ax
movzx eax, ax
add eax, 2
add edi, eax
cmp edi, dword [esp + 0x40]
jg 0x48eea8
inc esi
mov dword [esp + ebp + 0xdc], edi
cmp byte [esp + 0x13], 0
mov dword [edx], esi
jne 0x48ee99
cmp esi, ecx
jge 0x48ee97
movzx eax, word [ebx + esi*2]
test ax, ax
jne 0x48ee8f
mov edx, esi
lea ecx, [esp + 0x98]
call fcn.0048dbe0
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x2c]
movzx eax, ax
movzx eax, ax
add eax, 2
jmp 0x48ee99
xor eax, eax
sub dword [esp + ebp + 0xe0], eax
cmp esi, ecx
jl 0x48ee22
mov ebx, dword [esp + 0x48]
cmp esi, ecx
jl 0x48eebc
mov esi, dword [esp + 0x44]
mov edx, esi
mov dword [esp + 0x28], edx
jmp 0x48eed7
test ebx, ebx
jle 0x48eec9
mov eax, dword [esp + 0x30]
mov eax, dword [eax + ebp]
jmp 0x48eecb
xor eax, eax
cmp esi, eax
jle 0x48ef20
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
inc ebx
add ebp, 4
inc esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x44], esi
cmp ebx, edx
jl 0x48ecb2
mov esi, dword [esp + 0x30]
jmp 0x48ef4e
push 0x5a3f24
push 0x121c6
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00474200
add esp, 0x14
mov ebp, 0xb
xor ebx, ebx
jmp 0x48f43e
push 0x5a3f24
push 0x121e7
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00474200
add esp, 0x14
mov ebp, 0xb
xor ebx, ebx
jmp 0x48f43e
mov dword [esp + 0x30], esi
lea eax, [edx - 1]
mov ecx, eax
mov dword [esp + 0x1c], eax
test ecx, ecx
jle 0x48f0ac
nop
shl ecx, 2
lea eax, [esp + 0xdc]
add eax, ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x7c], eax
mov ebx, dword [esi + ecx]
mov edi, dword [eax]
lea eax, [esp + ecx + 0xd8]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x48], eax
mov eax, dword [eax]
lea esi, [ebx - 1]
mov edx, esi
mov dword [esp + 0x2c], eax
sub edx, dword [esp + 0x60]
inc edx
cmp word [ecx + edx*2], 0
lea ebp, [ecx + edx*2]
jne 0x48efb8
lea ecx, [esp + 0x98]
call fcn.0048dbe0
mov ecx, dword [esp + 0xa4]
cmp word [ecx + esi*2], 0
mov dword [esp + 0x80], esi
mov dword [esp + 0x74], esi
jne 0x48efd8
mov edx, esi
lea ecx, [esp + 0x98]
call fcn.0048dbe0
test edi, edi
je 0x48f022
cmp dword [esp + 0x164], 0
mov edx, ebx
jne 0x48f06b
mov ecx, dword [esp + 0x28]
mov eax, 2
dec ecx
cmp dword [esp + 0x1c], ecx
mov ecx, 0
cmove eax, ecx
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov eax, dword [esp + 0xa4]
movzx eax, word [eax + esi*2]
sub ecx, eax
movzx eax, word [ebp]
add eax, 2
add eax, edi
cmp eax, ecx
jg 0x48f06b
movzx eax, word [ebp]
mov ecx, 0xfffffffe
mov edx, dword [esp + 0x30]
add eax, 2
mov ebx, dword [esp + 0x74]
add edi, eax
mov eax, dword [esp + 0xa4]
sub ebp, 2
movzx eax, word [eax + esi*2]
sub ecx, eax
mov eax, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
mov dword [edx + ecx], esi
sub esi, 1
mov edx, dword [esp + 0x80]
jns 0x48efb1
jmp 0x48f06f
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x30]
mov dword [ecx], edi
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
mov ecx, dword [esp + 0x1c]
cmp ecx, 1
jbe 0x48f095
lea eax, [ecx*4]
mov eax, dword [esi + eax - 4]
jmp 0x48f097
xor eax, eax
cmp edx, eax
jle 0x48f114
dec ecx
mov dword [esp + 0x1c], ecx
test ecx, ecx
jg 0x48ef60
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x68]
xor esi, esi
mov eax, dword [eax + 0x38]
lea ebp, [esi + 1]
movzx ebx, byte [eax]
mov dword [esp + 0x60], ebx
test edx, edx
jle 0x48f252
nop word [eax + eax]
mov edi, dword [esp + 0x18]
cmp esi, edi
jge 0x48f1ad
mov edi, dword [esp + esi*4 + 0x68]
mov dword [esp + esi*4 + 0x84], edi
mov dword [esp + esi*4 + 0x68], 0
mov dword [esp + 0x1c], edi
mov ecx, dword [edi + 0x48]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x48f142
mov eax, dword [edx + 0x1c]
cmp eax, dword [ecx + 0x18]
jb 0x48f142
cmp dword [edx + 0x68], 0
je 0x48f13e
call fcn.00480640
jmp 0x48f16b
push 0x5a3f24
push 0x12211
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00474200
add esp, 0x14
mov ebp, 0xb
xor ebx, ebx
jmp 0x48f43e
xor edx, edx
jmp 0x48f16d
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x14], eax
test eax, eax
je 0x48f151
mov edx, eax
jmp 0x48f171
mov eax, dword [edx + 0x9c]
cmp eax, dword [edx + 0xa8]
jbe 0x48f166
call fcn.004820d0
jmp 0x48f16b
call fcn.00482040
mov edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x58]
xor ecx, ecx
sub eax, dword [esp + 0x38]
inc dword [esp + 0x20]
cmp esi, eax
mov eax, dword [edi + 0x48]
sete cl
mov dword [esp + 0x24], edx
inc ecx
movsx eax, word [eax + 0x1e]
cmp eax, ecx
je 0x48f19c
test edx, edx
je 0x48f417
test edx, edx
je 0x48f247
mov ebp, dword [esp + 0x14]
jmp 0x48f43a
cmp dword [esp + 0x164], 0
lea edx, [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
cmovne eax, ebp
push 0
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.0048c300
mov edx, eax
add esp, 0xc
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], edx
test edx, edx
jne 0x48f929
mov edi, dword [esp + 0x1c]
mov edx, ebx
mov ecx, edi
call fcn.00487e90
mov ecx, dword [esp + 0x34]
inc dword [esp + 0x20]
mov eax, dword [esp + 0x98]
mov dword [esp + esi*4 + 0x84], edi
cmp byte [ecx + 0x11], 0
mov dword [esp + esi*4 + 0x118], eax
je 0x48f23f
mov edx, dword [edi + 4]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x40]
push dword [eax + 4]
push 5
call fcn.00486870
mov eax, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x48f1a4
mov edx, dword [esp + 0x64]
mov dword [esp + 0x50], edx
inc esi
cmp esi, dword [esp + 0x28]
jl 0x48f0d0
mov ebp, dword [esp + 0x20]
xor ecx, ecx
test ebp, ebp
jle 0x48f34b
mov eax, dword [esp + ecx*4 + 0x84]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x48]
mov dword [esp + ecx*4 + 0x140], edx
mov dword [esp + ecx*4 + 0x12c], edx
mov ax, word [eax + 0x1c]
mov word [esp + ecx*2 + 0xf8], ax
xor eax, eax
test ecx, ecx
jle 0x48f2a2
nop dword [eax]
cmp dword [esp + eax*4 + 0x140], edx
je 0x48f483
inc eax
cmp eax, ecx
jl 0x48f290
inc ecx
cmp ecx, ebp
jl 0x48f260
xor ebx, ebx
nop dword [eax]
xor esi, esi
lea ecx, [esi + 1]
cmp ebp, ecx
jle 0x48f2e0
xor edi, edi
nop dword [eax + eax]
lea edx, [ecx*4]
mov eax, dword [esp + edx + 0x12c]
cmp eax, dword [esp + edi + 0x12c]
jae 0x48f2db
mov esi, ecx
mov edi, edx
inc ecx
cmp ecx, ebp
jl 0x48f2c0
mov edi, dword [esp + esi*4 + 0x12c]
mov dword [esp + esi*4 + 0x12c], 0xffffffff
cmp esi, ebx
je 0x48f33e
jle 0x48f317
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0x30]
mov eax, dword [esp + esi*4 + 0x84]
inc edx
add edx, esi
mov ecx, dword [eax + 0x48]
xor eax, eax
mov word [ecx + 0x1c], ax
call fcn.0047c410
mov eax, dword [esp + ebx*4 + 0x84]
mov edx, edi
mov ecx, dword [eax + 0x48]
mov ax, word [esp + esi*2 + 0xf8]
mov word [ecx + 0x1c], ax
call fcn.0047c410
mov eax, dword [esp + ebx*4 + 0x84]
mov dword [eax + 4], edi
inc ebx
cmp ebx, ebp
jl 0x48f2b0
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + ebp*4 + 0x80]
mov ecx, dword [esp + 0x5c]
mov eax, dword [eax + 4]
bswap eax
mov dword [ecx], eax
test bl, 8
jne 0x48f38f
mov ecx, dword [esp + 0x18]
cmp ecx, ebp
je 0x48f38f
lea edx, [esp + 0x68]
lea eax, [esp + 0x84]
cmovge eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + ebp*4 + 0x80]
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 0x48f5a4
mov esi, dword [esp + 0x84]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x5c], 0
movzx ebx, word [esi + 0x18]
movzx eax, byte [esi + 0xc]
add ebx, eax
cmp dword [esp + 0x98], edi
jle 0x48f5a0
xor edx, edx
mov eax, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], eax
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx + ebp*4]
mov dword [esp + 0x58], ecx
cmp ebp, ebx
jne 0x48f4b5
xor edx, edx
cmp byte [esp + 0x13], dl
sete dl
nop
inc edi
cmp edi, dword [esp + 0x20]
jge 0x48f48f
mov esi, dword [esp + edi*4 + 0x84]
jmp 0x48f493
push 0x5a3f24
push 0x12232
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00474200
mov ebp, 0xb
add esp, 0x14
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x48f456
mov edx, eax
xor ecx, ecx
call fcn.00471640
xor esi, esi
test edi, edi
jle 0x48f944
mov ecx, dword [esp + esi*4 + 0x68]
test ecx, ecx
je 0x48f93b
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x48f936
call fcn.0047ffc0
jmp 0x48f93b
push 0x5a3f24
push 0x12260
jmp 0x48f421
mov esi, dword [esp + edi*4 + 0x68]
movzx eax, word [esi + 0x18]
movzx ecx, byte [esi + 0xc]
add eax, edx
add ecx, eax
add ebx, ecx
cmp ebp, ebx
je 0x48f400
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
cmp ebp, dword [esp + edx + 0x104]
jne 0x48f4e8
mov eax, dword [esp + 0x5c]
inc eax
cmp byte [esp + 0x13], 0
mov dword [esp + 0x5c], eax
lea edx, [eax*4]
mov eax, dword [esp + edx + 0x84]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], eax
je 0x48f58e
cmp edi, dword [esp + 0x20]
jge 0x48f50c
mov eax, dword [eax + 4]
cmp eax, dword [esp + edi*4 + 0x140]
mov eax, dword [esp + 0x28]
jne 0x48f50c
cmp ecx, dword [esi + 0x38]
jb 0x48f50c
cmp ecx, dword [esi + 0x3c]
jb 0x48f58e
cmp word [esp + 0x54], 0
jne 0x48f536
lea edx, [esp + 0x24]
push edx
push dword [eax + 4]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x3c]
push 5
bswap edx
call fcn.00486870
mov eax, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa4]
movzx eax, word [eax + ebp*2]
test ax, ax
jne 0x48f557
mov edx, ebp
lea ecx, [esp + 0x98]
call fcn.0048dbe0
movzx eax, ax
mov ecx, dword [esp + 0x28]
cmp ax, word [ecx + 0x10]
jbe 0x48f57e
lea eax, [esp + 0x24]
mov edx, esi
push eax
push dword [esp + 0x5c]
call fcn.00486f00
mov edx, dword [esp + 0x2c]
add esp, 8
mov dword [esp + 0x14], edx
jmp 0x48f582
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x48f1a4
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
inc ebp
cmp ebp, dword [esp + 0x98]
jl 0x48f3e0
mov ebp, dword [esp + 0x20]
lea eax, [ebp - 1]
xor esi, esi
test eax, eax
jle 0x48f728
mov eax, dword [esp + esi*4 + 0x104]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
lea ecx, [ecx + eax*4]
mov ebp, dword [esp + esi*4 + 0x84]
mov ebx, dword [esp + 0x15c]
add ebx, dword [esp + 0x78]
movzx eax, word [edx + eax*2]
mov edi, dword [ecx]
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0x54]
movzx edx, bp
mov ebp, dword [esp + 0x60]
add edx, eax
cmp byte [ebp + 8], 0
jne 0x48f605
mov ecx, dword [ebp + 0x38]
mov eax, dword [edi]
mov dword [ecx + 8], eax
jmp 0x48f6a9
cmp byte [esp + 0x13], 0
je 0x48f690
lea eax, [esp + 0x140]
push eax
push dword [ecx - 4]
mov eax, dword [ebp + 0x50]
push ebp
call eax
mov edx, dword [esp + 0x150]
add esp, 0xc
mov ecx, dword [esp + 0x140]
mov edi, ebx
test edx, edx
ja 0x48f67c
jb 0x48f63f
cmp ecx, 0x7f
ja 0x48f651
mov eax, 1
and cl, 0x7f
mov byte [ebx + 4], cl
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x48f6a9
test edx, edx
ja 0x48f67c
jb 0x48f65f
cmp ecx, 0x3fff
ja 0x48f67c
mov eax, ecx
and cl, 0x7f
shrd eax, edx, 7
mov byte [ebx + 5], cl
or al, 0x80
mov byte [ebx + 4], al
mov eax, 2
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x48f6a9
push edx
push ecx
lea ecx, [ebx + 4]
call fcn.00475aa0
add esp, 8
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x48f6a9
sub edi, 4
cmp eax, 4
jne 0x48f6a9
mov eax, dword [esp + 0x3c]
push edi
push eax
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
movzx edx, ax
add dword [esp + 0x78], edx
xor eax, eax
cmp dword [esp + 0xc0], esi
jg 0x48f6c7
cmp eax, 6
jge 0x48f6c7
inc eax
cmp dword [esp + eax*4 + 0xc0], esi
jle 0x48f6b8
mov ecx, dword [esp + eax*4 + 0xa8]
cmp ecx, edi
jb 0x48f6d9
lea eax, [edx + edi]
cmp ecx, eax
jb 0x48f719
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x24]
push eax
push dword [ebp + 4]
push ebx
push edx
mov edx, dword [esp + 0x48]
push edi
lea edx, [edx + esi]
call fcn.0048d910
mov ebp, dword [esp + 0x38]
add esp, 0x14
mov dword [esp + 0x14], ebp
test ebp, ebp
jne 0x48f43a
mov ebx, dword [esp + 0x20]
inc esi
lea eax, [ebx - 1]
cmp esi, eax
jl 0x48f5b1
jmp 0x48f72c
push 0x5a3f24
push 0x122fd
jmp 0x48f421
mov ebx, dword [esp + 0x20]
mov ebp, 1
sub ebp, ebx
cmp ebp, ebx
jge 0x48f817
mov ebx, dword [esp + 0x104]
mov eax, ebp
lea edi, [esp + 0xf0]
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
add edi, ecx
cmp byte [edi], 0
jne 0x48f808
lea esi, [ecx*4]
test ebp, ebp
jns 0x48f77c
mov eax, dword [esp + esi + 0x114]
cmp eax, dword [esp + esi + 0x100]
jl 0x48f808
test ecx, ecx
jne 0x48f788
xor edx, edx
mov ecx, ebx
xor eax, eax
jmp 0x48f7c0
cmp ecx, dword [esp + 0x18]
jge 0x48f7a0
xor edx, edx
cmp byte [esp + 0x13], dl
sete dl
add edx, dword [esp + esi + 0x114]
jmp 0x48f7a7
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + esi + 0x104]
xor eax, eax
cmp byte [esp + 0x13], al
sete al
add eax, dword [esp + esi + 0x100]
sub ecx, eax
lea ebx, [esp + 0x98]
push ebx
push ecx
mov ecx, dword [esp + esi + 0x8c]
push eax
call fcn.0048e030
mov ebx, dword [esp + 0x110]
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
test eax, eax
jne 0x48f1a4
mov eax, dword [esp + esi + 0x84]
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + esi + 0xdc]
mov byte [edi], 1
mov dword [eax + 0x14], ecx
inc ebp
cmp ebp, dword [esp + 0x20]
jl 0x48f742
mov ebx, dword [esp + 0x20]
cmp dword [esp + 0x160], 0
je 0x48f889
mov ebp, dword [esp + 0x3c]
cmp word [ebp + 0x18], 0
jne 0x48f889
mov ecx, dword [esp + 0x84]
movzx eax, byte [ebp + 9]
cmp eax, dword [ecx + 0x14]
jg 0x48f889
or edx, 0xffffffff
call fcn.00487130
mov ecx, dword [esp + 0x84]
mov edx, ebp
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
call fcn.0048e540
mov edx, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x14], edx
test edx, edx
jne 0x48f8d9
mov ecx, dword [esp + 0x84]
mov edx, ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x34]
call fcn.0048cd60
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
jmp 0x48f8d9
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 0x11], 0
je 0x48f8d5
cmp word [esp + 0x54], 0
jne 0x48f8d5
xor esi, esi
test ebx, ebx
jle 0x48f8d5
mov eax, dword [esp + esi*4 + 0x84]
lea edx, [esp + 0x24]
push edx
push dword [eax + 4]
mov eax, dword [eax + 0x38]
push 5
mov edx, dword [eax + 8]
bswap edx
call fcn.00486870
mov ecx, dword [esp + 0x40]
inc esi
add esp, 0xc
cmp esi, ebx
jl 0x48f8a1
mov edx, dword [esp + 0x24]
mov dword [esp + 0x14], edx
jmp 0x48f8d9
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov esi, ebx
cmp ebx, edi
jge 0x48f906
mov ecx, dword [esp + esi*4 + 0x68]
test edx, edx
jne 0x48f8fd
push dword [ecx + 4]
mov edx, ecx
mov ecx, dword [ecx + 0x34]
call fcn.0048cd60
add esp, 4
mov edx, eax
inc esi
cmp esi, edi
jl 0x48f8e3
mov dword [esp + 0x14], edx
mov ebp, dword [esp + 0x14]
jmp 0x48f442
lea eax, [edi + 4]
push eax
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.0054f8e0
add esp, 0xc
xor ebx, ebx
jmp 0x48f43e
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
jmp 0x48f442
call fcn.0047c200
inc esi
cmp esi, edi
jl 0x48f460
xor esi, esi
test ebx, ebx
jle 0x48f975
nop word [eax + eax]
mov ecx, dword [esp + esi*4 + 0x84]
test ecx, ecx
je 0x48f970
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x48f96b
call fcn.0047ffc0
jmp 0x48f970
call fcn.0047c200
inc esi
cmp esi, ebx
jl 0x48f950
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x148
ret