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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push ebx
xor ebx, ebx
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x14], bl
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc0], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xe4], edi
mov eax, dword [edi + 0x34]
mov dword [ebp - 0xd0], eax
test ecx, ecx
jne 0x5337dd
pop edi
lea eax, [ecx + 7]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret
movzx edx, word [edi + 0x16]
movzx ecx, byte [edi + 0xc]
push esi
lea esi, [ecx + edx]
cmp esi, 2
jge 0x5337f6
mov dword [ebp - 0x100], ebx
jmp 0x53382a
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x533805
mov dword [ebp - 0x100], ebx
jmp 0x533820
cmp eax, esi
jne 0x533819
mov eax, dword [ebp + 0x18]
add esi, 0xfffffffe
add esi, eax
mov dword [ebp - 0x100], esi
jmp 0x533823
dec eax
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x18]
mov esi, 2
sub esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x100]
sub eax, ecx
lea ecx, [eax + esi]
cmp ecx, edx
jne 0x53384b
movzx ecx, byte [edi + 9]
add ecx, 8
jmp 0x53385f
mov eax, dword [edi + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x18]
movzx ecx, cx
and ecx, eax
add ecx, dword [edi + 0x38]
mov dword [ebp - 0xfc], ecx
mov edi, dword [ecx]
bswap edi
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xf8], edi
jmp 0x533880
mov eax, dword [ebp - 0xd0]
cmp edi, dword [eax + 0x2c]
jbe 0x5338b3
push 0x7c07dc
push 0xf42a
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0052f9a0
add esp, 0x14
mov edi, 0xb
jmp 0x533946
mov eax, dword [eax]
lea ecx, [ebp - 0xb8]
push 0
push ecx
push edi
push eax
mov eax, dword [eax + 0xc8]
call eax
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xa8], edi
test edi, edi
jne 0x53394c
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 8]
mov dword [ebp + esi*4 - 0x24], eax
cmp byte [eax], 0
jne 0x533944
mov ecx, dword [edx + 8]
mov edi, dword [ebp - 0xcc]
cmp edi, dword [ecx + 4]
je 0x533919
mov eax, dword [edx + 4]
cmp edi, 1
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0xd0]
mov dword [ecx + 0x34], eax
setne al
dec al
mov dword [ecx + 0x48], edx
and al, 0x64
mov dword [ecx + 4], edi
mov byte [ecx + 9], al
push dword [ebp + esi*4 - 0x24]
call fcn.00535b30
mov edi, eax
add esp, 4
mov dword [ebp - 0xa8], edi
test edi, edi
je 0x533944
mov eax, dword [ebp + esi*4 - 0x24]
test eax, eax
je 0x53394c
push eax
call fcn.0054f5a0
add esp, 4
jmp 0x53394c
xor edi, edi
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xb4], edi
test edi, edi
jne 0x534ba9
mov eax, dword [ebp + esi*4 - 0x24]
movzx ecx, word [eax + 0x16]
movzx eax, byte [eax + 0xc]
inc eax
add ebx, eax
mov eax, esi
add ebx, ecx
dec esi
mov dword [ebp - 0xac], ebx
test eax, eax
je 0x533ae5
mov edi, dword [ebp - 0xe4]
mov dl, byte [edi + 0xc]
test dl, dl
je 0x5339d6
mov eax, dword [ebp - 0x100]
movzx ecx, word [edi + 0x1a]
add eax, esi
cmp eax, ecx
jne 0x5339d6
mov eax, dword [edi + 0x24]
push eax
mov dword [ebp + esi*4 - 0x10], eax
mov edi, dword [eax]
mov eax, dword [ebp - 0xe4]
bswap edi
push eax
mov dword [ebp - 0xcc], edi
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0xf8], edi
call eax
movzx eax, ax
add esp, 8
mov dword [ebp + esi*4 - 0x4c], eax
mov eax, dword [ebp - 0xe4]
mov byte [eax + 0xc], 0
jmp 0x533880
mov ecx, dword [ebp - 0x100]
movzx eax, dl
sub ecx, eax
mov eax, dword [edi + 0x40]
add ecx, esi
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x18]
movzx ecx, cx
and ecx, eax
mov eax, dword [edi + 0x38]
add eax, ecx
push eax
mov dword [ebp + esi*4 - 0x10], eax
push edi
mov ecx, dword [eax]
mov eax, dword [edi + 0x4c]
bswap ecx
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xf8], ecx
call eax
mov edx, dword [ebp - 0xd0]
add esp, 8
movzx edi, ax
mov dword [ebp + esi*4 - 0x4c], edi
test byte [edx + 0x16], 0xc
je 0x533a74
mov eax, dword [ebp - 0xe4]
mov ebx, dword [ebp + esi*4 - 0x10]
mov ecx, ebx
sub ecx, dword [eax + 0x38]
lea eax, [edi + ecx]
cmp eax, dword [edx + 0x24]
jg 0x533aa5
mov eax, dword [ebp - 0x108]
push edi
add eax, ecx
push ebx
push eax
call fcn.007224a0
mov edx, dword [ebp - 0xe4]
add esp, 0xc
mov eax, dword [ebp - 0x108]
sub eax, dword [edx + 0x38]
add eax, ebx
mov ebx, dword [ebp - 0xac]
mov dword [ebp + esi*4 - 0x10], eax
jmp 0x533a7a
mov edx, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x100]
lea eax, [ebp - 0xb4]
push eax
movzx eax, byte [edx + 0xc]
sub ecx, eax
push edi
add ecx, esi
push ecx
push edx
call fcn.0053ca60
mov edi, dword [ebp - 0xcc]
add esp, 0x10
jmp 0x533880
push 0x7c07dc
push 0x10893
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0052f9a0
lea eax, [esi*4 + 4]
mov dword [ebp - 0xa8], 0xb
push eax
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.00723180
add esp, 0x20
jmp 0x534bbf
mov eax, dword [ebp - 0xd0]
lea esi, [ebx + 3]
and esi, 0xfffffffc
mov eax, dword [eax + 0x20]
lea ecx, [esi + esi*2]
lea eax, [eax + ecx*2]
cdq
push edx
push eax
call fcn.0056a840
add esp, 8
mov dword [ebp - 0xc0], eax
test eax, eax
jne 0x533b1e
mov dword [ebp - 0xa8], 7
jmp 0x534bbf
mov ecx, dword [ebp - 0x24]
lea edx, [eax + esi*4]
lea eax, [edx + esi*2]
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xc4], ecx
movzx eax, byte [ecx + 8]
shl ax, 2
movzx eax, ax
mov dword [ebp - 0x104], eax
movzx eax, byte [ecx + 3]
mov dword [ebp - 0xf4], eax
xor eax, eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xdc], eax
jle 0x533dce
jmp 0x533b70
shl eax, 2
mov dword [ebp - 0xf0], eax
mov edi, dword [ebp + eax - 0x24]
mov dword [ebp - 0xec], edi
movzx eax, word [edi + 0x18]
mov ebx, dword [edi + 0x38]
movzx esi, word [edi + 0x12]
mov dword [ebp - 0xe0], eax
add esi, ebx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xac], esi
mov ecx, dword [eax + 0x38]
mov al, byte [ebx]
cmp al, byte [ecx]
jne 0x533f70
movzx eax, byte [edi + 0xc]
movzx ecx, word [edi + 0x16]
add ecx, eax
mov eax, dword [ebp - 0xc8]
add ecx, ecx
push ecx
push 0
lea eax, [edx + eax*2]
push eax
call fcn.00723180
add esp, 0xc
cmp byte [edi + 0xc], 0
jbe 0x533c66
movzx edx, word [edi + 0x1a]
test edx, edx
jle 0x533c2c
mov eax, dword [ebp - 0xe0]
movzx eax, ax
mov edi, eax
mov ax, word [esi]
add esi, 2
mov ch, al
mov cl, ah
movzx eax, cx
mov ecx, dword [ebp - 0xc8]
and eax, edi
add eax, ebx
mov ebx, dword [ebp - 0xc0]
mov dword [ebx + ecx*4], eax
inc ecx
mov ebx, dword [ebp - 0xe8]
mov dword [ebp - 0xc8], ecx
dec edx
jne 0x533bf0
mov edi, dword [ebp - 0xec]
mov dword [ebp - 0xac], esi
xor edx, edx
cmp byte [edi + 0xc], dl
jbe 0x533c66
mov ebx, dword [ebp - 0xc8]
lea ecx, [edi + 0x24]
mov esi, dword [ebp - 0xc0]
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 0x533c42
mov esi, dword [ebp - 0xac]
mov dword [ebp - 0xc8], ebx
mov ebx, dword [ebp - 0xe8]
movzx eax, word [edi + 0x12]
xor edx, edx
movzx ecx, word [edi + 0x16]
add eax, ebx
lea eax, [eax + ecx*2]
xor ecx, ecx
mov ebx, eax
sub ebx, esi
inc ebx
shr ebx, 1
cmp esi, eax
cmova ebx, ecx
test ebx, ebx
je 0x533cd1
jmp 0x533c90
mov ax, word [esi]
lea esi, [esi + 2]
mov edi, dword [ebp - 0xe0]
mov ch, al
mov cl, ah
inc edx
movzx eax, cx
movzx ecx, di
mov edi, dword [ebp - 0xc0]
and eax, ecx
mov ecx, dword [ebp - 0xc8]
add eax, dword [ebp - 0xe8]
mov dword [edi + ecx*4], eax
inc ecx
mov dword [ebp - 0xc8], ecx
cmp edx, ebx
jb 0x533c90
mov edi, dword [ebp - 0xec]
jmp 0x533cd7
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0xdc]
dec eax
mov dword [ebp + edx - 0xa4], ecx
cmp dword [ebp - 0xd8], eax
jge 0x533daf
cmp dword [ebp - 0xf4], 0
jne 0x533daf
mov esi, dword [ebp - 0xbc]
movzx eax, word [ebp + edx - 0x4c]
mov ebx, dword [ebp - 0xd4]
push eax
push dword [ebp + edx - 0x10]
mov word [esi + ecx*2], ax
mov esi, dword [ebp - 0xb8]
add esi, ebx
add ebx, eax
push esi
mov dword [ebp - 0xd4], ebx
call fcn.007224a0
mov eax, dword [ebp - 0x104]
add esp, 0xc
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xbc]
movzx eax, ax
add eax, esi
mov esi, dword [ebp - 0xc0]
mov dword [esi + ecx*4], eax
mov eax, dword [ebp - 0x104]
sub word [edx + ecx*2], ax
cmp byte [edi + 8], 0
jne 0x533d81
mov eax, dword [edi + 0x38]
mov ecx, dword [esi + ecx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc8]
inc ecx
mov dword [ebp - 0xc8], ecx
jmp 0x533db5
cmp word [edx + ecx*2], 4
jae 0x533da6
mov eax, dword [ebp - 0xb8]
mov edi, edi
mov byte [eax + ebx], 0
inc ebx
inc word [edx + ecx*2]
cmp word [edx + ecx*2], 4
jb 0x533d90
mov dword [ebp - 0xd4], ebx
inc ecx
mov dword [ebp - 0xc8], ecx
jmp 0x533db5
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp eax, dword [ebp - 0xdc]
jl 0x533b70
mov eax, dword [ebp - 0x104]
xor edx, edx
movzx ebx, ax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xac], edx
mov eax, dword [eax + 0x24]
add eax, 0xfffffff4
add ebx, eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe8], ebx
test eax, eax
jle 0x533e90
mov ecx, eax
lea esi, [ebp - 0xa4]
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
mov edi, edi
mov esi, dword [ebp + edx*4 - 0x24]
mov edi, ebx
mov dword [ebp - 0xb8], 0
movzx eax, word [esi + 0x14]
sub edi, eax
cmp byte [esi + 0xc], 0
lea eax, [ebp - 0x4c]
lea eax, [eax + edx*4]
mov dword [eax], edi
mov dword [ebp - 0xf0], eax
jbe 0x533e7f
lea ebx, [esi + 0x24]
lea ecx, [ecx]
push dword [ebx]
mov eax, dword [esi + 0x4c]
push esi
call eax
mov ecx, dword [ebp - 0xb8]
lea ebx, [ebx + 4]
movzx eax, ax
inc ecx
add eax, 2
mov dword [ebp - 0xb8], ecx
add edi, eax
add esp, 8
movzx eax, byte [esi + 0xc]
cmp ecx, eax
jl 0x533e40
mov eax, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xac]
mov ebx, dword [ebp - 0xe8]
mov dword [eax], edi
mov eax, dword [ebp - 0xdc]
inc edx
mov dword [ebp - 0xac], edx
cmp edx, eax
jl 0x533e10
mov dword [ebp - 0xd4], 0
mov ecx, eax
mov dword [ebp - 0xd8], ecx
test eax, eax
jle 0x5340c3
mov edx, dword [ebp - 0xc8]
lea eax, [ebp - 0x60]
xor ebx, ebx
mov edi, 1
sub eax, 4
mov dword [ebp - 0xec], edi
mov dword [ebp - 0xf0], eax
lea esp, [esp]
mov eax, dword [ebp - 0xe8]
cmp dword [ebp + ebx - 0x4c], eax
jle 0x533fc9
cmp edi, ecx
jl 0x533f02
lea ecx, [edi + 1]
mov dword [ebp - 0xd8], ecx
cmp ecx, 5
jg 0x5341d7
mov dword [ebp + ebx - 0x48], 0
mov dword [ebp + ebx - 0x5c], edx
mov esi, dword [ebp + ebx - 0x60]
mov ecx, dword [ebp - 0xbc]
lea edi, [esi - 1]
movzx eax, word [ecx + edi*2]
test ax, ax
jne 0x533f31
lea eax, [ebp - 0xc8]
push edi
push eax
call fcn.00539b70
mov ecx, dword [ebp - 0xbc]
add esp, 8
movzx eax, ax
movzx eax, ax
add eax, 2
sub dword [ebp + ebx - 0x4c], eax
cmp dword [ebp - 0xf4], 0
jne 0x533f9f
cmp esi, dword [ebp - 0xc8]
jge 0x533f9d
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x533f68
lea eax, [ebp - 0xc8]
push esi
push eax
call fcn.00539b70
add esp, 8
movzx eax, ax
movzx eax, ax
add eax, 2
jmp 0x533f9f
push 0x7c07dc
push 0x108d4
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0052f9a0
add esp, 0x14
mov dword [ebp - 0xa8], 0xb
jmp 0x534b44
xor eax, eax
add dword [ebp + ebx - 0x48], eax
mov eax, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xd8]
mov dword [ebp + ebx - 0x60], edi
mov edi, dword [ebp - 0xec]
cmp dword [ebp + ebx - 0x4c], eax
jg 0x533ee0
cmp dword [ebp + ebx - 0x60], edx
jge 0x53406e
mov edi, dword [ebp - 0xbc]
lea esp, [esp]
mov esi, dword [ebp + ebx - 0x60]
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x534006
lea eax, [ebp - 0xc8]
push esi
push eax
call fcn.00539b70
mov edx, dword [ebp - 0xc8]
add esp, 8
movzx eax, ax
movzx ecx, ax
mov eax, dword [ebp + ebx - 0x4c]
add ecx, 2
add eax, ecx
cmp eax, dword [ebp - 0xe8]
jg 0x534068
inc esi
mov dword [ebp + ebx - 0x4c], eax
cmp dword [ebp - 0xf4], 0
mov dword [ebp + ebx - 0x60], esi
jne 0x53405c
cmp esi, edx
jge 0x53405a
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x534052
lea eax, [ebp - 0xc8]
push esi
push eax
call fcn.00539b70
mov edx, dword [ebp - 0xc8]
add esp, 8
movzx eax, ax
movzx ecx, ax
add ecx, 2
jmp 0x53405c
xor ecx, ecx
sub dword [ebp + ebx - 0x48], ecx
cmp esi, edx
jl 0x533fe0
mov edi, dword [ebp - 0xec]
mov ecx, dword [ebp + ebx - 0x60]
cmp ecx, edx
jl 0x534080
mov ecx, edi
mov dword [ebp - 0xd8], ecx
jmp 0x5340a4
cmp dword [ebp - 0xd4], 0
jle 0x534094
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + ebx]
jmp 0x534096
xor eax, eax
cmp ecx, eax
jle 0x534204
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd4]
inc edi
inc eax
mov dword [ebp - 0xec], edi
add ebx, 4
mov dword [ebp - 0xd4], eax
cmp eax, ecx
jl 0x533ed0
lea eax, [ecx - 1]
mov ecx, eax
mov dword [ebp - 0xac], eax
test ecx, ecx
jle 0x534270
jmp 0x5340e0
shl ecx, 2
mov dword [ebp - 0xec], ecx
mov eax, dword [ebp + ecx - 0x50]
mov edi, dword [ebp + ecx - 0x4c]
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0x60]
sub eax, 4
mov dword [ebp - 0xe0], eax
mov esi, dword [ecx + eax]
mov ecx, dword [ebp - 0xbc]
dec esi
mov eax, esi
sub eax, dword [ebp - 0xf4]
inc eax
cmp word [ecx + eax*2], 0
lea ebx, [ecx + eax*2]
jne 0x534136
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00539b70
add esp, 8
mov ecx, dword [ebp - 0xbc]
cmp word [ecx + esi*2], 0
jne 0x53414d
lea eax, [ebp - 0xc8]
push esi
push eax
call fcn.00539b70
add esp, 8
mov edx, dword [ebp - 0xd4]
test edi, edi
je 0x53419b
cmp dword [ebp + 0x18], 0
jne 0x534231
mov ecx, dword [ebp - 0xd8]
mov eax, 2
dec ecx
cmp dword [ebp - 0xac], ecx
mov ecx, 0
cmove eax, ecx
mov ecx, edx
sub ecx, eax
mov eax, dword [ebp - 0xbc]
movzx eax, word [eax + esi*2]
sub ecx, eax
movzx eax, word [ebx]
add eax, 2
add eax, edi
cmp eax, ecx
jg 0x534231
movzx eax, word [ebx]
mov ecx, 0xfffffffe
add eax, 2
sub ebx, 2
add edi, eax
mov eax, dword [ebp - 0xbc]
movzx eax, word [eax + esi*2]
sub ecx, eax
mov eax, dword [ebp - 0xec]
add edx, ecx
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xd4], edx
mov dword [eax + ecx], esi
dec esi
jns 0x534130
jmp 0x534237
push 0x7c07dc
push 0x10941
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0052f9a0
add esp, 0x14
mov dword [ebp - 0xa8], 0xb
jmp 0x534b44
push 0x7c07dc
push 0x10962
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0052f9a0
add esp, 0x14
mov dword [ebp - 0xa8], 0xb
jmp 0x534b44
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xac]
mov dword [ebp + eax - 0x50], edx
mov edx, dword [ebp - 0xe0]
mov dword [ebp + eax - 0x4c], edi
cmp ecx, 1
jle 0x534256
mov eax, dword [eax + edx - 4]
jmp 0x534258
xor eax, eax
cmp dword [edx + ecx*4], eax
jle 0x5342ec
dec ecx
mov dword [ebp - 0xac], ecx
test ecx, ecx
jg 0x5340e0
mov eax, dword [ebp - 0x24]
xor edi, edi
lea ebx, [edi + 1]
mov eax, dword [eax + 0x38]
movzx eax, byte [eax]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xd8], edi
jle 0x534440
cmp edi, dword [ebp - 0xdc]
jge 0x53437b
mov eax, dword [ebp + edi*4 - 0x24]
mov dword [ebp + edi*4 - 0x38], eax
mov dword [ebp + edi*4 - 0x24], 0
mov dword [ebp - 0xb8], eax
mov esi, dword [eax + 0x48]
test byte [esi + 0x1c], 4
mov ecx, dword [esi + 0x14]
je 0x53432f
mov eax, dword [ecx + 0x18]
cmp eax, dword [esi + 0x18]
jb 0x53432f
cmp dword [ecx + 0x60], 0
je 0x53432b
push esi
call fcn.0058aed0
add esp, 4
test eax, eax
je 0x534319
push esi
call fcn.0058afd0
add esp, 4
mov dword [ebp - 0xa8], eax
mov edx, eax
jmp 0x534362
push 0x7c07dc
push 0x1098c
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0052f9a0
add esp, 0x14
mov dword [ebp - 0xa8], 0xb
jmp 0x534b44
mov dword [ebp - 0xa8], 0
mov edx, dword [ebp - 0xa8]
jmp 0x534362
xor edx, edx
jmp 0x53435c
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0xa8], edx
test edx, edx
jne 0x534362
mov eax, dword [ecx + 0x94]
push esi
cmp eax, dword [ecx + 0x98]
jbe 0x534352
call fcn.0054b130
jmp 0x534357
call fcn.0054c3e0
mov edx, eax
add esp, 4
mov dword [ebp - 0xa8], edx
inc dword [ebp - 0xb0]
mov dword [ebp - 0xb4], edx
test edx, edx
jne 0x534b44
jmp 0x534433
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp - 0xcc]
push 0
cmovne eax, ebx
push eax
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0xd0]
call fcn.00531550
mov edx, eax
add esp, 0x14
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xb4], edx
test edx, edx
jne 0x534b44
push dword [ebp - 0xac]
mov esi, dword [ebp - 0xb8]
push esi
call fcn.0059b5e0
mov ecx, dword [ebp - 0xd0]
add esp, 8
inc dword [ebp - 0xb0]
mov eax, dword [ebp - 0xc8]
mov dword [ebp + edi*4 - 0x38], esi
cmp byte [ecx + 0x11], 0
mov dword [ebp + edi*4 - 0xa4], eax
je 0x534427
lea eax, [ebp - 0xb4]
push eax
mov eax, dword [ebp - 0xe4]
push dword [eax + 4]
push 5
push dword [esi + 4]
push ecx
call fcn.0054e160
mov esi, dword [ebp - 0xb4]
add esp, 0x14
mov dword [ebp - 0xa8], esi
test esi, esi
jne 0x534b44
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xcc], eax
inc edi
cmp edi, dword [ebp - 0xd8]
jl 0x534290
mov edi, dword [ebp - 0xb0]
xor ecx, ecx
test edi, edi
jle 0x534497
lea esp, [esp]
mov eax, dword [ebp + ecx*4 - 0x38]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x48]
mov dword [ebp + ecx*4 - 0x8c], edx
mov dword [ebp + ecx*4 - 0x74], edx
mov ax, word [eax + 0x1c]
mov word [ebp + ecx*2 - 0x10], ax
xor eax, eax
test ecx, ecx
jle 0x534492
jmp 0x534480
cmp dword [ebp + eax*4 - 0x8c], edx
je 0x534616
inc eax
cmp eax, ecx
jl 0x534480
inc ecx
cmp ecx, edi
jl 0x534450
xor ebx, ebx
mov dword [ebp - 0xb8], ebx
test edi, edi
jle 0x53454b
xor esi, esi
lea ecx, [esi + 1]
cmp edi, ecx
jle 0x5344e0
mov ebx, dword [ebp - 0xb0]
xor edi, edi
jmp 0x5344c0
lea edx, [ecx*4]
mov eax, dword [ebp + edx - 0x74]
cmp eax, dword [ebp + edi - 0x74]
jae 0x5344d5
mov esi, ecx
mov edi, edx
inc ecx
cmp ecx, ebx
jl 0x5344c0
mov ebx, dword [ebp - 0xb8]
mov edi, dword [ebp + esi*4 - 0x74]
mov dword [ebp + esi*4 - 0x74], 0xffffffff
cmp esi, ebx
je 0x534536
jle 0x534515
mov eax, dword [ebp - 0xd0]
xor edx, edx
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp + esi*4 - 0x38]
inc ecx
add ecx, esi
push ecx
mov eax, dword [eax + 0x48]
push eax
mov word [eax + 0x1c], dx
call fcn.0056dc70
add esp, 8
mov eax, dword [ebp + ebx*4 - 0x38]
push edi
mov ecx, dword [eax + 0x48]
mov ax, word [ebp + esi*2 - 0x10]
push ecx
mov word [ecx + 0x1c], ax
call fcn.0056dc70
mov eax, dword [ebp + ebx*4 - 0x38]
add esp, 8
mov dword [eax + 4], edi
mov edi, dword [ebp - 0xb0]
inc ebx
mov dword [ebp - 0xb8], ebx
cmp ebx, edi
jl 0x5344a7
test byte [ebp - 0xac], 8
mov eax, dword [ebp + edi*4 - 0x3c]
mov ecx, dword [ebp - 0xfc]
mov eax, dword [eax + 4]
bswap eax
mov dword [ecx], eax
jne 0x53458e
mov ecx, dword [ebp - 0xdc]
cmp ecx, edi
je 0x53458e
cmp edi, ecx
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x38]
cmovle eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp + edi*4 - 0x3c]
mov ecx, dword [eax + 0x38]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov ebx, dword [ebp - 0xd0]
cmp byte [ebx + 0x11], 0
je 0x5347b7
mov esi, dword [ebp - 0x38]
xor edi, edi
mov dword [ebp - 0xfc], 0
movzx eax, byte [esi + 0xc]
movzx ecx, word [esi + 0x16]
mov edx, dword [esi + 0x38]
add ecx, eax
mov eax, dword [ebx + 0x24]
xor ebx, ebx
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xc8], ebx
jle 0x5347ba
xor eax, eax
mov dword [ebp - 0xcc], eax
jmp 0x5345f0
mov ecx, dword [ebp - 0xc0]
mov ecx, dword [ecx + edi*4]
mov dword [ebp - 0xe0], ecx
cmp edi, dword [ebp - 0xac]
jne 0x53467f
inc ebx
cmp ebx, dword [ebp - 0xb0]
jge 0x534643
mov edx, dword [ebp + ebx*4 - 0x38]
jmp 0x534647
push 0x7c07dc
push 0x109d6
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0052f9a0
add esp, 0x14
mov dword [ebp - 0xa8], 0xb
jmp 0x534b44
mov edx, dword [ebp + ebx*4 - 0x24]
movzx eax, byte [edx + 0xc]
movzx ecx, word [edx + 0x16]
mov edx, dword [edx + 0x38]
add ecx, eax
xor eax, eax
mov dword [ebp - 0xb8], edx
cmp dword [ebp - 0xf4], eax
sete al
add eax, dword [ebp - 0xac]
add eax, ecx
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xcc]
cmp edi, dword [ebp + eax - 0x60]
jne 0x5346ac
mov eax, dword [ebp - 0xfc]
inc eax
mov dword [ebp - 0xfc], eax
shl eax, 2
cmp dword [ebp - 0xf4], 0
mov dword [ebp - 0xcc], eax
mov esi, dword [ebp + eax - 0x38]
je 0x5347a4
cmp ebx, dword [ebp - 0xb0]
jge 0x5346d4
mov eax, dword [esi + 4]
cmp eax, dword [ebp + ebx*4 - 0x8c]
jne 0x5346d4
cmp ecx, edx
jb 0x5346d4
mov eax, dword [ebp - 0xf0]
add eax, edx
cmp ecx, eax
jb 0x53479e
cmp word [ebp - 0x104], 0
jne 0x534709
lea eax, [ebp - 0xb4]
push eax
push dword [esi + 4]
mov eax, dword [ecx]
push 5
bswap eax
push eax
push dword [ebp - 0xd0]
call fcn.0054e160
mov eax, dword [ebp - 0xb4]
add esp, 0x14
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xbc]
movzx eax, word [eax + edi*2]
test ax, ax
jne 0x53472b
lea eax, [ebp - 0xc8]
push edi
push eax
call fcn.00539b70
add esp, 8
movzx eax, ax
cmp ax, word [esi + 0x10]
jbe 0x534790
cmp dword [ebp - 0xa8], 0
jne 0x534b44
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0xe0]
mov eax, dword [esi + 0x50]
push esi
call eax
movzx eax, word [ebp - 0x68]
add esp, 0xc
cmp eax, dword [ebp - 0x6c]
jae 0x53479e
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 0xb4]
push eax
movzx eax, word [ebp - 0x66]
push dword [esi + 4]
push 3
mov eax, dword [eax + ecx - 4]
bswap eax
push eax
push dword [esi + 0x34]
call fcn.0054e160
mov edx, dword [ebp - 0xb4]
add esp, 0x14
mov dword [ebp - 0xa8], edx
jmp 0x534796
mov edx, dword [ebp - 0xa8]
test edx, edx
jne 0x534b44
mov eax, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xb8]
inc edi
cmp edi, dword [ebp - 0xc8]
jl 0x5345f0
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0xb0]
xor edi, edi
dec eax
test eax, eax
jle 0x534931
jmp 0x5347d0
mov eax, dword [ebp + edi*4 - 0x60]
mov edx, dword [ebp - 0xc0]
mov esi, dword [edx + eax*4]
lea edx, [edx + eax*4]
mov ecx, dword [ebp + edi*4 - 0x38]
mov ebx, dword [ebp - 0x10c]
add ebx, dword [ebp - 0x108]
mov dword [ebp - 0xf0], edx
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xf8], ecx
mov ecx, dword [ebp - 0x104]
movzx eax, word [edx + eax*2]
movzx edx, cx
mov ecx, dword [ebp - 0xf8]
add edx, eax
cmp byte [ecx + 8], 0
jne 0x53482a
mov ecx, dword [ecx + 0x38]
mov eax, dword [esi]
mov dword [ecx + 8], eax
jmp 0x5348da
cmp dword [ebp - 0xf4], 0
je 0x5348bf
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0xf0]
push dword [eax - 4]
mov eax, dword [ecx + 0x50]
push ecx
call eax
mov edx, dword [ebp - 0x8c]
mov esi, ebx
mov ecx, dword [ebp - 0x90]
add esp, 0xc
add ebx, 4
mov dword [ebp - 0xc], edx
test edx, edx
ja 0x5348ad
jb 0x53486f
cmp ecx, 0x7f
ja 0x534880
mov eax, 1
and cl, 0x7f
mov byte [ebx], cl
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x5348da
test edx, edx
ja 0x5348ad
jb 0x53488e
cmp ecx, 0x3fff
ja 0x5348ad
mov eax, ecx
and cl, 0x7f
shrd eax, edx, 7
mov byte [ebx + 1], cl
or al, 0x80
shr edx, 7
mov byte [ebx], al
mov eax, 2
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x5348da
push edx
push ecx
push ebx
call fcn.0054e840
add esp, 0xc
xor ebx, ebx
lea edx, [eax + 4]
jmp 0x5348da
sub esi, 4
cmp eax, 4
jne 0x5348e0
mov eax, dword [ebp - 0xe4]
push esi
push eax
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
movzx edx, ax
mov ecx, dword [ebp - 0xf8]
add dword [ebp - 0x10c], edx
lea eax, [ebp - 0xb4]
push eax
push dword [ecx + 4]
mov eax, dword [ebp - 0x100]
push ebx
push edx
push esi
add eax, edi
push eax
push dword [ebp - 0xe4]
call fcn.00545490
mov esi, dword [ebp - 0xb4]
add esp, 0x1c
mov dword [ebp - 0xa8], esi
test esi, esi
jne 0x534b44
mov eax, dword [ebp - 0xb0]
inc edi
dec eax
cmp edi, eax
jl 0x5347d0
mov esi, dword [ebp - 0x38]
mov edi, 1
sub edi, dword [ebp - 0xb0]
mov dword [ebp - 0xfc], edi
cmp edi, dword [ebp - 0xb0]
jge 0x534a26
mov edi, edi
mov eax, edi
lea ebx, [ebp - 0x18]
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
add ebx, ecx
cmp byte [ebx], 0
jne 0x534a10
test edi, edi
jns 0x53497c
mov eax, dword [ebp + ecx*4 - 0xa8]
cmp eax, dword [ebp + ecx*4 - 0x64]
jl 0x534a10
test ecx, ecx
jne 0x534989
mov esi, dword [ebp - 0x60]
xor eax, eax
xor edx, edx
jmp 0x5349c0
cmp ecx, dword [ebp - 0xdc]
jge 0x5349a5
xor eax, eax
cmp dword [ebp - 0xf4], eax
sete al
add eax, dword [ebp + ecx*4 - 0xa8]
jmp 0x5349ab
mov eax, dword [ebp - 0xc8]
mov esi, dword [ebp + ecx*4 - 0x60]
xor edx, edx
cmp dword [ebp - 0xf4], edx
sete dl
add edx, dword [ebp + ecx*4 - 0x64]
sub esi, edx
lea edi, [ecx*4]
lea ecx, [ebp - 0xc8]
push ecx
push esi
push edx
push eax
push dword [ebp + edi - 0x38]
call fcn.0053cc40
mov esi, eax
add esp, 0x14
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xb4], esi
test esi, esi
jne 0x534b44
mov eax, dword [ebp + edi - 0x38]
mov cx, word [ebp - 0xe8]
sub cx, word [ebp + edi - 0x4c]
mov edi, dword [ebp - 0xfc]
mov byte [ebx], 1
mov word [eax + 0x14], cx
inc edi
mov dword [ebp - 0xfc], edi
cmp edi, dword [ebp - 0xb0]
jl 0x534950
mov esi, dword [ebp - 0x38]
cmp dword [ebp + 0x14], 0
je 0x534a94
mov ebx, dword [ebp - 0xe4]
cmp word [ebx + 0x16], 0
jne 0x534a94
movzx eax, byte [ebx + 9]
cmp ax, word [esi + 0x14]
ja 0x534a94
push 0xffffffffffffffff
push esi
call fcn.0053bd50
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xb4]
push eax
push ebx
push dword [ebp - 0x38]
call fcn.0053b320
mov edx, dword [ebp - 0xb4]
add esp, 0x14
mov dword [ebp - 0xa8], edx
test edx, edx
jne 0x534b09
mov eax, dword [ebp - 0x38]
push dword [eax + 4]
push eax
push dword [eax + 0x34]
call fcn.005425e0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0xa8], edx
jmp 0x534b09
mov ecx, dword [ebp - 0xd0]
cmp byte [ecx + 0x11], 0
je 0x534b03
cmp word [ebp - 0x104], 0
mov edi, dword [ebp - 0xb0]
jne 0x534afb
xor esi, esi
test edi, edi
jle 0x534afb
jmp 0x534ac0
mov eax, dword [ebp + esi*4 - 0x38]
lea edx, [ebp - 0xb4]
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.0054e160
mov ecx, dword [ebp - 0xd0]
inc esi
add esp, 0x14
cmp esi, edi
jl 0x534ac0
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xa8], edx
jmp 0x534b0f
mov edx, dword [ebp - 0xa8]
jmp 0x534b0f
mov edx, dword [ebp - 0xa8]
mov edi, dword [ebp - 0xb0]
mov ebx, dword [ebp - 0xdc]
mov esi, edi
cmp edi, ebx
jge 0x534b44
jmp 0x534b20
mov eax, dword [ebp + esi*4 - 0x24]
test edx, edx
jne 0x534b39
push dword [eax + 4]
push eax
push dword [eax + 0x34]
call fcn.005425e0
add esp, 0xc
mov edx, eax
inc esi
cmp esi, ebx
jl 0x534b20
mov dword [ebp - 0xa8], edx
cmp dword [0x8804f0], 0
je 0x534b98
mov eax, dword [0x89e658]
test eax, eax
je 0x534b60
push eax
call dword [0x88054c]
add esp, 4
mov ebx, dword [ebp - 0xc0]
push ebx
call dword [0x880528]
sub dword [0x89e670], eax
dec dword [0x89e694]
push ebx
call dword [0x880520]
mov eax, dword [0x89e658]
add esp, 8
test eax, eax
je 0x534bbf
push eax
call dword [0x880554]
add esp, 4
jmp 0x534bbf
push dword [ebp - 0xc0]
call dword [0x880520]
add esp, 4
jmp 0x534bbf
lea eax, [esi*4 + 4]
push eax
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.00723180
add esp, 0xc
xor ebx, ebx
cmp dword [ebp - 0xdc], ebx
jle 0x534c32
lea esp, [esp]
mov edx, dword [ebp + ebx*4 - 0x24]
test edx, edx
je 0x534c29
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x534c20
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.00723510
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x534c29
push edx
call fcn.0056dd70
add esp, 4
inc ebx
cmp ebx, dword [ebp - 0xdc]
jl 0x534bd0
xor ebx, ebx
cmp dword [ebp - 0xb0], ebx
jle 0x534ca2
lea esp, [esp]
mov edx, dword [ebp + ebx*4 - 0x38]
test edx, edx
je 0x534c99
mov edx, dword [edx + 0x48]
test byte [edx + 0x1c], 0x20
je 0x534c90
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.00723510
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x534c99
push edx
call fcn.0056dd70
add esp, 4
inc ebx
cmp ebx, dword [ebp - 0xb0]
jl 0x534c40
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xa8]
xor ecx, ebp
pop esi
pop edi
pop ebx
call fcn.00722035
mov esp, ebp
pop ebp
ret