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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
push esi
mov esi, ecx
mov dword [esp + 0x60], 1
push edi
mov eax, edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov edi, dword [esi + 8]
mov ecx, dword [esi]
mov dword [esp + 0xc0], 0
mov dword [esp + 0x54], ecx
mov dword [esp + 0x48], edi
test edi, edi
jne 0x4ad742
cmp dword [esi + 0x74], edi
jne 0x4ad72d
test byte [ecx + 0x4c], 8
jne 0x4ad72d
mov byte [esi + 0x17], 1
mov ecx, esi
call fcn.0046a6e0
mov ecx, dword [esp + 0x54]
mov edi, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], edi
test eax, eax
je 0x4afb83
cmp byte [ecx + 0x51], 0
jne 0x4afb83
cmp dword [esi + 0x24], 0
jne 0x4afb83
push 0
push 0
push 0
mov edx, 0x15
mov ecx, esi
call fcn.0048d290
add esp, 0xc
test eax, eax
jne 0x4afb83
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
cmp byte [eax], 8
ja 0x4ad7b0
mov edx, dword [ecx + 0x30]
test edx, edx
je 0x4ad79b
mov ecx, dword [esp + 0x54]
call fcn.00482600
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
and eax, 0xfffffffe
mov dword [ecx + 0x30], 0
or eax, 0x400000
mov dword [ecx + 4], eax
mov edx, ecx
mov ecx, esi
push 0
call fcn.004aceb0
add esp, 4
cmp dword [esi + 0x24], 0
jne 0x4afb20
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x51], 0
jne 0x4afb20
mov eax, dword [esp + 0x18]
test dword [eax + 4], 0x800000
je 0x4ad896
mov edx, dword [eax + 0x20]
mov ecx, 1
mov dword [esp + 0x5c], edx
mov dword [esp + 0x1c], ecx
mov edi, dword [edx]
cmp edi, ecx
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x48]
jle 0x4ad896
lea eax, [edx + 0x14]
mov dword [esp + 0x74], eax
mov eax, 0x48
mov dword [esp + 0x78], eax
nop dword [eax]
mov esi, dword [esp + 0x5c]
mov edi, dword [esi + 0x18]
cmp edi, dword [edx + eax + 0x18]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x14]
jne 0x4ad853
push dword [edx + eax + 0x14]
mov eax, dword [esp + 0x78]
push dword [eax]
call fcn.0044ee10
add esp, 8
test eax, eax
je 0x4ad86b
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x1c]
inc ecx
add eax, 0x48
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x78], eax
cmp ecx, dword [esp + 0x10]
jge 0x4ad892
mov edx, dword [esp + 0x5c]
jmp 0x4ad820
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x5c]
cmp dword [edx], 0
mov eax, dword [ecx + 0x18]
cmovne eax, edx
mov eax, dword [eax]
push eax
push 0x63da5c
push esi
call fcn.0044ed00
add esp, 0xc
jmp 0x4afb20
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
cmp byte [ecx], 9
jne 0x4ad8a7
mov edx, eax
mov ecx, esi
call fcn.004a7e50
mov edx, dword [esp + 0x18]
mov ecx, esi
call fcn.004c4a10
mov dword [esp + 0x64], eax
test eax, eax
jne 0x4afb20
mov edx, dword [esp + 0x18]
xorps xmm0, xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xe0], xmm0
movq qword [esp + 0xf0], xmm0
mov eax, dword [edx + 4]
mov ecx, dword [edx + 0x20]
shr eax, 3
and eax, 1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x78], eax
mov eax, dword [edx + 0x30]
mov dword [esp + 0x20], eax
mov dword [esp + 0xd0], eax
xor eax, eax
mov dword [esp + 0x6c], eax
cmp dword [edx + 0x34], eax
jne 0x4ada4a
mov dword [esp + 0x10], 0x2000
cmp eax, dword [ecx]
jge 0x4ada4a
lea eax, [eax + eax*8]
lea eax, [eax + 1]
test byte [ecx + eax*8 + 0x24], 8
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], ecx
je 0x4ad981
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 0x2c]
mov ecx, dword [ecx + 0x24]
call fcn.00487f90
test eax, eax
je 0x4ad979
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
test word [eax + 0x4c], cx
jne 0x4ad979
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
and byte [edx + 0x24], 0xd7
mov edx, dword [edx + 0x2c]
mov ecx, dword [eax + 0x24]
call fcn.004a5a30
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4ada33
mov eax, dword [eax + 0x1c]
movsx ecx, word [ecx + 0x2a]
cmp ecx, dword [eax]
jne 0x4ada78
mov eax, dword [esp + 0x5c]
test byte [eax + 4], 8
jne 0x4ada33
cmp dword [eax + 0x30], 0
mov eax, dword [esp + 0x6c]
je 0x4ad9d0
test eax, eax
jne 0x4ad9d0
test dword [edx + 4], 0x40000
je 0x4ad9d0
mov ecx, dword [esp + 0x40]
cmp dword [ecx], 1
je 0x4ada3b
test byte [ecx + 0x74], 0xa
jne 0x4ada3b
push dword [esp + 0x78]
mov ecx, esi
push eax
call fcn.004ab1c0
add esp, 8
test eax, eax
je 0x4ad9f2
cmp dword [esi + 0x24], 0
jne 0x4afb20
or eax, 0xffffffff
jmp 0x4ad9f6
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x18]
cmp byte [edi + 0x51], 0
mov ecx, dword [edx + 0x20]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x40], ecx
jne 0x4afb20
mov esi, dword [ebp + 8]
cmp byte [esi], 8
mov esi, dword [esp + 0x14]
jbe 0x4ada3b
mov edi, dword [edx + 0x30]
mov dword [esp + 0x20], edi
mov dword [esp + 0xd0], edi
mov edi, dword [esp + 0x48]
jmp 0x4ada3b
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x6c]
inc eax
cmp dword [edx + 0x34], 0
mov dword [esp + 0x6c], eax
je 0x4ad917
cmp dword [edx + 0x34], 0
je 0x4ada9f
push dword [ebp + 8]
mov ecx, esi
call fcn.004a9030
mov edi, eax
add esp, 4
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x38], 0
jne 0x4ada70
mov ecx, esi
call fcn.0046b030
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 0x1c]
push dword [eax]
mov eax, dword [esp + 0x48]
push dword [eax]
movsx eax, word [eax + 0x2a]
push eax
push 0x63da94
push esi
call fcn.0044ed00
add esp, 0x14
jmp 0x4afb20
cmp dword [ecx], 1
jle 0x4adaba
mov eax, dword [esp + 0x54]
cmp word [eax + 0x4c], 0
jl 0x4adaba
mov ecx, esi
call fcn.004aba90
mov ecx, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x5c], eax
cmp dword [ecx], eax
jle 0x4ade0f
nop dword [eax + eax]
lea eax, [eax + eax*8]
lea ecx, [ecx + eax*8]
mov eax, dword [ecx + 0x40]
add ecx, 8
mov dword [esp + 0x38], ecx
or eax, dword [ecx + 0x3c]
jne 0x4adb08
mov eax, dword [ecx + 8]
test eax, eax
je 0x4adb08
push dword [ecx + 4]
mov edx, 0x14
mov ecx, esi
push 0x635fd4
push eax
call fcn.0048d290
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x50], eax
test eax, eax
je 0x4addfa
mov ecx, dword [esp + 0x18]
call fcn.00480f50
add dword [esi + 0xd4], eax
mov ecx, 0x1000
mov eax, dword [esp + 0x54]
test word [eax + 0x4c], cx
jne 0x4adb5c
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x50]
movzx eax, byte [ecx + 0x24]
shr eax, 5
and eax, 1
push eax
mov eax, dword [esp + 0x1c]
push dword [ecx + 0x2c]
mov ecx, esi
push dword [eax + 0x24]
call fcn.004abb40
add esp, 0xc
cmp dword [esp + 0x5c], 0
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0xf4]
mov dword [esp + 0x80], eax
mov eax, dword [edx + 8]
mov dword [esi + 0xf4], eax
jne 0x4adc6b
mov eax, dword [esp + 0x40]
cmp dword [eax], 1
je 0x4adb94
test byte [eax + 0x74], 0xa
je 0x4adc6b
mov ecx, dword [esp + 0x14]
mov esi, dword [edi + 0x6c]
inc esi
push esi
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, edi
mov dword [edx + 0x1c], eax
mov edx, 0xd
push 0
push eax
call fcn.0046aa80
mov eax, dword [esp + 0x44]
add esp, 0xc
mov byte [esp + 0x90], 0xd
mov dword [esp + 0x98], 0
mov dword [esp + 0xa4], 0
mov dword [eax + 0x18], esi
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
push dword [eax + 0x10]
push 0x63dabc
push 1
push dword [esp + 0x20]
call fcn.0046afd0
mov edx, dword [esp + 0x60]
lea eax, [esp + 0xa0]
mov ecx, dword [esp + 0x24]
push eax
call fcn.004ad6e0
mov edx, dword [esp + 0x4c]
add esp, 0x14
mov eax, dword [esp + 0x50]
mov ecx, dword [edx + 0x10]
mov ax, word [eax + 2]
mov word [ecx + 0x2e], ax
mov ecx, edi
mov eax, dword [esp + 0x9c]
or dword [edx + 0x28], 0x10
mov dword [edx + 0x20], eax
mov edx, dword [edx + 0x1c]
call fcn.0046b1d0
lea edx, [esi - 1]
mov ecx, edi
call fcn.0046b520
mov esi, dword [esp + 0x14]
jmp 0x4addc5
xor eax, eax
mov ecx, edi
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esi + 0x2c], eax
push eax
mov dword [edx + 0x1c], eax
mov edx, 0x45
push 0
call fcn.0046abb0
mov dword [esp + 0x7c], eax
add esp, 8
lea ecx, [eax + 1]
mov eax, dword [esp + 0x38]
test byte [eax + 0x28], 8
mov dword [eax + 0x18], ecx
jne 0x4adcb5
mov edx, 0x11
mov ecx, edi
call fcn.0046aaf0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov edx, eax
call fcn.004ad640
mov dword [esp + 0x10], eax
test eax, eax
je 0x4adcf6
push dword [eax + 0x2c]
mov eax, dword [esp + 0x3c]
mov edx, 0x62
mov ecx, edi
push dword [eax + 0x2c]
call fcn.0046abb0
mov eax, dword [esp + 0x18]
add esp, 8
mov ecx, dword [esp + 0x50]
mov eax, dword [eax + 0x14]
mov ax, word [eax + 2]
mov word [ecx + 2], ax
jmp 0x4add62
mov eax, dword [esp + 0x38]
mov byte [esp + 0x90], 0xc
mov dword [esp + 0x98], 0
mov dword [esp + 0xa4], 0
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
push dword [eax + 0x10]
push 0x63dacc
push 1
push esi
call fcn.0046afd0
mov edx, dword [esp + 0x60]
lea eax, [esp + 0xa0]
push eax
mov ecx, esi
call fcn.004ad6e0
add esp, 0x14
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x50]
mov ax, word [eax + 2]
mov word [ecx + 0x2e], ax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4add86
mov edx, eax
mov ecx, edi
call fcn.0046b520
mov eax, dword [esp + 0x38]
mov edx, 0x41
mov ecx, edi
push dword [eax + 0x1c]
call fcn.0046ab50
mov ecx, dword [esp + 0x78]
add esp, 4
mov edx, eax
test ecx, ecx
jns 0x4addaa
mov ecx, dword [edi + 0x6c]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4addb9
mov eax, 0x657384
jmp 0x4addc2
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x54]
mov dword [esi + 0x1c], 0
mov byte [esi + 0x13], 0
cmp byte [eax + 0x51], 0
jne 0x4afb20
mov ecx, dword [esp + 0x18]
call fcn.00480f50
sub dword [esi + 0xd4], eax
mov eax, dword [esp + 0x80]
mov dword [esi + 0xf4], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
inc eax
mov dword [esp + 0x5c], eax
cmp eax, dword [ecx]
jl 0x4adad0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0xbc], eax
mov al, byte [ecx + 4]
and al, 1
mov dword [esp + 0x88], edx
mov byte [esp + 0x63], al
mov byte [esp + 0xc4], al
mov eax, dword [ecx + 4]
and al, 9
cmp al, 1
jne 0x4ade99
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.00487ac0
add esp, 4
test eax, eax
jne 0x4ade92
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x88]
cmp dword [ecx + 0x44], eax
jne 0x4ade99
and dword [ecx + 4], 0xfffffffe
mov ecx, dword [esp + 0x54]
push eax
call fcn.00481b90
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], edx
or dword [eax + 4], 8
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4adeef
push dword [edx]
mov edx, eax
mov ecx, esi
push 0
call fcn.004a7250
mov edx, dword [esi + 0x28]
push 0xfffffffffffffff7
push eax
mov eax, dword [esp + 0x30]
lea ecx, [edx + 1]
mov dword [esp + 0xe8], edx
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x98]
mov eax, dword [eax]
push 0
mov ecx, dword [ecx]
inc ecx
add eax, ecx
mov ecx, edi
push eax
push edx
mov edx, 0x64
call fcn.0046aea0
add esp, 0x1c
mov dword [esp + 0xe4], eax
jmp 0x4adefa
mov dword [esp + 0xe4], 0xffffffff
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0xc
jne 0x4adf1d
mov eax, dword [esp + 0x88]
mov edx, 0x64
push dword [eax]
push dword [ecx + 4]
mov ecx, edi
call fcn.0046abb0
add esp, 8
mov eax, dword [esp + 0x18]
dec dword [esi + 0x38]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x10c], ecx
test dword [eax + 4], 0x4000
jne 0x4adf40
mov edx, 0x140
mov word [eax + 2], dx
push ecx
mov edx, eax
mov ecx, esi
call fcn.004a8620
mov edx, dword [esp + 0x1c]
add esp, 4
cmp dword [edx + 8], 0
jne 0x4adf85
mov ecx, dword [esp + 0xe4]
test ecx, ecx
js 0x4adf85
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4adf71
mov eax, 0x657384
jmp 0x4adf7a
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
or byte [esp + 0xf0], 1
mov byte [eax], 0x6f
test byte [edx + 4], 1
je 0x4adff0
mov esi, dword [esi + 0x28]
mov ecx, dword [esp + 0x14]
push 0xfffffffffffffff7
push ecx
lea eax, [esi + 1]
mov dword [esp + 0xd0], esi
mov dword [ecx + 0x28], eax
mov edx, dword [edx + 0x1c]
push 0
push 0
call fcn.004a7250
add esp, 0xc
mov edx, 0x64
mov ecx, edi
push eax
push 0
push 0
push esi
call fcn.0046aea0
mov dword [esp + 0xe0], eax
add esp, 0x14
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4adfe4
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov esi, dword [esp + 0x14]
mov al, 3
mov edx, dword [esp + 0x18]
jmp 0x4adff2
xor al, al
cmp dword [esp + 0x78], 0
mov byte [esp + 0xc5], al
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x4c]
jne 0x4ae1fd
test eax, eax
jne 0x4ae1fd
xor ecx, ecx
mov dword [esp + 0x10], 0x4000
cmp byte [esp + 0x63], cl
mov eax, 0x100
cmovne ecx, eax
mov ax, word [edx + 4]
and ax, word [esp + 0x10]
or cx, ax
movzx eax, cx
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x44]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4ae053
mov ecx, esi
call fcn.004c54c0
mov edx, dword [esp + 0x18]
movsx eax, word [edx + 2]
mov ecx, esi
push eax
push dword [esp + 0x14]
push dword [edx + 0x1c]
mov edx, dword [esp + 0x4c]
push dword [esp + 0x2c]
push dword [esp + 0x80]
call fcn.004c23c0
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x4afb20
mov eax, dword [esp + 0x18]
movzx edx, word [ecx + 0x34]
cmp dx, word [eax + 2]
jge 0x4ae098
mov word [eax + 2], dx
cmp byte [esp + 0x63], 0
je 0x4ae0c0
mov cl, byte [ecx + 0x2f]
mov edx, dword [esp + 0x5c]
test cl, cl
movzx eax, cl
mov ecx, dword [esp + 0x44]
movzx edx, dl
cmovne edx, eax
mov dword [esp + 0x5c], edx
mov byte [esp + 0xc5], dl
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4ae0f1
movsx edx, byte [ecx + 0x2d]
mov dword [esp + 0xd4], edx
call fcn.004bd0a0
mov dword [esp + 0xec], eax
xor ecx, ecx
mov eax, dword [esp + 0x20]
cmp edx, dword [eax]
cmove eax, ecx
mov dword [esp + 0xd0], eax
mov edx, dword [esp + 0xe4]
test edx, edx
js 0x4ae107
test eax, eax
jne 0x4ae107
mov ecx, edi
call fcn.0046b800
cmp dword [esp + 0x1c], 0
mov edx, dword [esp + 0x18]
je 0x4ae1c6
mov eax, dword [esi + 0x38]
mov ecx, dword [esp + 0x14]
lea esi, [eax - 1]
sub eax, 2
inc dword [ecx + 0x2c]
mov edi, dword [ecx + 0x2c]
push esi
mov dword [esp + 0x14], eax
dec eax
push edi
push dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov dword [ecx + 0x38], eax
call fcn.004c85c0
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov edx, 0xb
push dword [esp + 0x1c]
push 0
call fcn.0046abb0
mov ecx, dword [esp + 0x50]
mov edx, esi
call fcn.0046b2b0
push dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0xd0]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push esi
push dword [ebp + 8]
mov dword [esp + 0x100], 0
push eax
lea eax, [esp + 0xe8]
push eax
push 0xffffffffffffffff
call fcn.004a64d0
mov ecx, dword [esp + 0x68]
mov edx, esi
call fcn.0046b2b0
push edi
mov edi, dword [esp + 0x6c]
mov edx, 0x41
mov ecx, edi
call fcn.0046ab50
add esp, 0x24
lea edx, [esi - 1]
mov ecx, edi
call fcn.0046b2b0
jmp 0x4afa63
mov eax, dword [esp + 0x44]
mov ecx, esi
push dword [eax + 0x20]
push dword [eax + 0x1c]
lea eax, [esp + 0xcc]
push dword [ebp + 8]
push eax
lea eax, [esp + 0xe0]
push eax
push 0xffffffffffffffff
call fcn.004a64d0
mov ecx, dword [esp + 0x5c]
add esp, 0x18
call fcn.004c2ec0
jmp 0x4afa63
mov dword [esp + 0x58], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x80], 0
test eax, eax
je 0x4ae2d2
mov ecx, dword [edx + 0x1c]
mov eax, dword [ecx]
test eax, eax
jle 0x4ae242
add ecx, 0x16
nop dword [eax]
xor edi, edi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], di
test eax, eax
jg 0x4ae230
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
test eax, eax
jle 0x4ae266
add ecx, 0x16
nop
xor esi, esi
lea ecx, [ecx + 0x14]
dec eax
mov word [ecx - 0x14], si
test eax, eax
jg 0x4ae250
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
cmp word [edx + 2], 0x42
jle 0x4ae276
mov eax, 0x42
mov word [edx + 2], ax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4ae2d8
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jne 0x4ae2d8
xor edx, edx
test ecx, ecx
jle 0x4ae2b1
mov esi, dword [esp + 0x4c]
mov edi, eax
sub edi, esi
lea ecx, [esi + 0xc]
mov al, byte [edi + ecx]
lea ecx, [ecx + 0x14]
and al, 1
inc edx
mov byte [ecx - 0x14], al
cmp edx, dword [esi]
jl 0x4ae295
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
mov edx, eax
push 0xffffffffffffffff
call fcn.00487ac0
add esp, 4
test eax, eax
jne 0x4ae2d8
mov dword [esp + 0x80], 1
jmp 0x4ae2d8
xor eax, eax
mov word [edx + 2], ax
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
mov ecx, dword [esp + 0x54]
push 0
push 0x38
mov dword [esp + 0x58], eax
call fcn.0044ba80
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4afb20
push 0x38
push 0
push eax
call fcn.0059d550
mov edx, dword [esp + 0x48]
xorps xmm0, xmm0
mov eax, dword [esi + 0x80]
add esp, 0xc
mov ecx, dword [esp + 0x40]
mov dword [edx + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x80], edx
mov eax, dword [eax + 0x10]
mov dword [edx + 0x30], eax
mov eax, dword [esi + 0x2c]
movaps xmmword [esp + 0x110], xmm0
inc eax
mov dword [esp + 0x114], ecx
mov ecx, dword [esp + 0x4c]
movaps xmmword [esp + 0x120], xmm0
mov dword [esp + 0x110], esi
mov dword [esp + 0x118], edx
mov dword [edx + 0x10], eax
test ecx, ecx
je 0x4ae367
mov eax, dword [ecx]
jmp 0x4ae369
xor eax, eax
mov dword [edx + 0x18], ecx
lea ecx, [esp + 0x110]
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x88]
call fcn.00488520
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x110]
call fcn.00488520
mov ecx, dword [esp + 0xbc]
test ecx, ecx
je 0x4ae45c
cmp dword [esp + 0x4c], 0
je 0x4ae409
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0xa8], 0
movq qword [esp + 0xa0], xmm0
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], 0x4ac930
mov dword [esp + 0xa8], eax
test edx, edx
je 0x4ae402
lea ecx, [esp + 0x90]
call fcn.0047daf0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xbc]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x94], 0x4876a0
mov edx, ecx
mov dword [esp + 0x98], 0x47d1d0
lea ecx, [esp + 0x90]
mov dword [esp + 0x9c], 0x47d1e0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa8], eax
mov dword [esp + 0x90], 0
call fcn.0047daf0
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x20]
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x28], 0
jne 0x4ae4a2
cmp dword [eax + 0x2c], 0
jne 0x4ae4a2
cmp dword [ecx + 0x2c], 1
jne 0x4ae4a2
mov edx, dword [ecx + 0x28]
lea eax, [esp + 0xc0]
mov ecx, dword [esp + 0x54]
push eax
mov edx, dword [edx]
call fcn.004abca0
mov ecx, dword [esp + 0x40]
add esp, 4
mov byte [esp + 0x87], al
jmp 0x4ae4aa
mov byte [esp + 0x87], 0
cmp dword [ecx + 0x2c], 0
mov dword [esp + 0x1c], 0
jle 0x4ae593
mov ecx, dword [esp + 0x128]
xor esi, esi
mov edi, dword [esp + 0x3c]
nop dword [eax]
mov eax, dword [edi + 0x28]
or ecx, 0x20000
mov eax, dword [esi + eax]
mov dword [esp + 0x128], ecx
lea ecx, [esp + 0x110]
mov dword [esp + 0x10], eax
mov edx, dword [eax + 0x14]
call fcn.00488520
mov eax, dword [esp + 0x10]
test dword [eax + 4], 0x1000000
je 0x4ae55e
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x94], 0x4876a0
mov dword [esp + 0x98], 0x47d1d0
mov dword [esp + 0x9c], 0x47d1e0
mov edx, dword [eax + 0x28]
lea eax, [esp + 0x110]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa8], eax
mov dword [esp + 0x90], 0
test edx, edx
je 0x4ae55e
lea ecx, [esp + 0x90]
call fcn.0047daf0
mov ecx, dword [esp + 0x128]
add esi, 0x10
mov eax, dword [esp + 0x1c]
and ecx, 0xfffdffff
inc eax
mov dword [esp + 0x128], ecx
mov dword [esp + 0x1c], eax
cmp eax, dword [edi + 0x2c]
jl 0x4ae4d0
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0x2c]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x51], 0
jne 0x4afb0c
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x4af464
mov eax, dword [esi + 0x28]
mov dword [ecx + 4], eax
inc dword [esi + 0x28]
push dword [ecx + 0x20]
mov ecx, esi
push 0
call fcn.004a7250
mov ecx, dword [edi + 0x6c]
add esp, 8
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x70], ecx
jg 0x4ae602
push 0
push edx
push eax
mov edx, 0x6f
mov ecx, edi
call fcn.0046aa40
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x4ae639
mov esi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x6f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
push 0xfffffffffffffff7
push dword [esp + 0x78]
mov edx, eax
mov ecx, edi
call fcn.0046b930
mov eax, dword [esi + 0x2c]
add esp, 8
mov edx, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x6c], eax
inc eax
mov dword [esp + 0x20], eax
lea ecx, [eax + 2]
mov eax, dword [esi + 0x38]
dec eax
mov dword [esi + 0x2c], ecx
mov dword [esp + 0x7c], eax
dec eax
mov dword [esi + 0x38], eax
mov dword [esp + 0x38], ecx
add ecx, dword [edx]
mov dword [esp + 0x44], eax
mov dword [esi + 0x2c], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x8c], eax
mov eax, dword [edx]
add eax, ecx
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4ae6b1
push 0
push dword [esp + 0x24]
mov edx, 0x45
mov ecx, edi
push 0
call fcn.0046aa40
mov edx, dword [esp + 0x58]
add esp, 0xc
jmp 0x4ae6e8
mov esi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edx]
mov edx, dword [esp + 0x38]
mov ecx, dword [edi + 0x6c]
add edx, eax
cmp dword [edi + 0x70], ecx
jg 0x4ae712
mov eax, dword [esp + 0x38]
mov ecx, edi
push edx
inc eax
mov edx, 0x48
push eax
push 0
call fcn.0046aa40
add esp, 0xc
jmp 0x4ae74a
mov esi, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
inc esi
mov edi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4ae76d
push 0
push dword [esp + 0x48]
mov edx, 0xc
mov ecx, edi
push dword [esp + 0x40]
call fcn.0046aa40
add esp, 0xc
jmp 0x4ae7a0
mov edx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x80], 0
mov ecx, 0x240
mov edx, dword [esp + 0x40]
mov eax, 0x40
cmovne eax, ecx
mov ecx, esi
push 0
movzx eax, ax
push eax
push 0
push dword [esp + 0x58]
push dword [esp + 0x80]
call fcn.004c23c0
mov edx, eax
add esp, 0x14
mov dword [esp + 0x78], edx
test edx, edx
je 0x4afb08
mov eax, dword [esp + 0x4c]
movsx ecx, byte [edx + 0x2d]
cmp ecx, dword [eax]
jne 0x4ae7fb
xor eax, eax
mov dword [esp + 0x70], eax
jmp 0x4aeb76
cmp byte [esp + 0x63], 0
je 0x4ae811
mov eax, dword [esp + 0x18]
test byte [eax + 4], 1
mov eax, 0x63dadc
je 0x4ae816
mov eax, str.corrupt_schema
push eax
push str.sqlite_temp_schema
push 0
push esi
call fcn.0046afd0
mov eax, dword [esp + 0x5c]
add esp, 0x10
mov edi, dword [esp + 0x48]
mov dword [esp + 0x70], 1
mov eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x68], eax
mov edx, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x64], ecx
cmp dword [eax + 0x20], 0
jle 0x4ae881
mov ecx, dword [eax + 0x1c]
mov edi, edx
mov esi, dword [eax + 0x20]
add ecx, 0x12
nop word [eax + eax]
movsx eax, word [ecx]
cmp eax, edx
jl 0x4ae869
inc edi
inc edx
add ecx, 0x14
sub esi, 1
jne 0x4ae860
mov esi, dword [esp + 0x14]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x64]
cmp ecx, 1
jne 0x4ae8ae
mov al, byte [esi + 0x13]
test al, al
jne 0x4ae899
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x40], eax
jmp 0x4ae8d4
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x98]
mov dword [esp + 0x40], eax
jmp 0x4ae8d4
mov edx, dword [esi + 0x20]
mov dword [esp + 0x40], edx
cmp ecx, dword [esi + 0x1c]
jg 0x4ae8c5
sub dword [esi + 0x1c], ecx
lea eax, [edx + ecx]
mov dword [esi + 0x20], eax
jmp 0x4ae8d4
mov eax, dword [esi + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x40], edx
mov dword [esi + 0x2c], eax
mov edx, dword [esp + 0x4c]
mov ecx, esi
push 0
push 0
push dword [esp + 0x48]
call fcn.00486c40
mov eax, dword [esp + 0x48]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x58], ecx
cmp dword [eax + 0x20], ecx
jle 0x4ae950
mov esi, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x10], eax
mov edx, dword [esi + 0x1c]
add edx, eax
movsx eax, word [edx + 0x12]
cmp eax, dword [esp + 0x68]
jl 0x4ae937
mov eax, dword [esp + 0x68]
mov ecx, edi
add eax, dword [esp + 0x40]
push eax
movsx eax, word [edx + 0x10]
push eax
push dword [edx + 8]
mov edx, dword [edx]
call fcn.00485400
mov ecx, dword [esp + 0x64]
add esp, 0xc
inc dword [esp + 0x68]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x14
mov dword [esp + 0x58], ecx
mov dword [esp + 0x10], eax
cmp ecx, dword [esi + 0x20]
jl 0x4ae903
mov esi, dword [esp + 0x14]
mov al, byte [esi + 0x13]
test al, al
jne 0x4ae95f
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
jmp 0x4ae96e
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x98]
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x68], eax
cmp dword [edi + 0x70], ecx
jg 0x4ae999
mov edx, dword [esp + 0x64]
mov ecx, edi
push eax
push edx
push dword [esp + 0x48]
mov edx, 0x5b
call fcn.0046aa40
mov edx, dword [esp + 0x74]
add esp, 0xc
jmp 0x4ae9cc
mov edx, dword [esp + 0x40]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x68]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 0x6c]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x70], ecx
jg 0x4ae9f8
push 0
push edx
push eax
mov edx, 0x83
mov ecx, edi
call fcn.0046aa40
mov edx, dword [esp + 0x74]
add esp, 0xc
jmp 0x4aea2b
mov esi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x83
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test edx, edx
je 0x4aea43
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4aea43
movzx eax, al
mov dword [esi + eax*4 + 0x98], edx
inc byte [esi + 0x13]
mov eax, dword [esp + 0x64]
cmp eax, 1
jne 0x4aea6a
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4aea79
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4aea79
movzx eax, al
mov dword [esi + eax*4 + 0x98], ecx
inc byte [esi + 0x13]
jmp 0x4aea79
cmp eax, dword [esi + 0x1c]
jle 0x4aea79
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x78]
call fcn.004c2ec0
mov eax, dword [esp + 0x3c]
mov edx, dword [esi + 0x28]
mov dword [esp + 0x58], edx
mov dword [eax + 8], edx
mov al, byte [esi + 0x13]
inc dword [esi + 0x28]
test al, al
jne 0x4aeaa2
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
jmp 0x4aeab1
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov eax, dword [esi + eax*4 + 0x98]
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x68], eax
cmp dword [edi + 0x70], ecx
jg 0x4aead8
mov edx, dword [esp + 0x64]
mov ecx, edi
push edx
push eax
push dword [esp + 0x60]
mov edx, 0x72
call fcn.0046aa40
add esp, 0xc
jmp 0x4aeb0b
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x64]
mov dword [eax + ecx*4], 0x72
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 0x6c]
mov edx, dword [eax + 4]
cmp dword [edi + 0x70], ecx
jg 0x4aeb32
push 0
push dword [esp + 0x54]
mov ecx, edi
push edx
mov edx, 0x23
call fcn.0046aa40
add esp, 0xc
jmp 0x4aeb65
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x23
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x78]
mov byte [eax + 1], 1
mov eax, 1
cmp dword [esp + 0x80], 0
je 0x4aebd7
mov ecx, dword [esp + 0x54]
test byte [ecx + 0x4c], 4
jne 0x4aebd7
test eax, eax
jne 0x4aeb94
test byte [edx + 0x30], 8
je 0x4aebd7
mov ecx, dword [edi]
mov dword [esp + 0xd0], 0
cmp byte [ecx + 0x51], 0
jne 0x4aebd7
mov edx, dword [esp + 0xe4]
mov eax, dword [edi + 0x68]
lea edx, [edx + edx*4]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.0046b690
mov word [esi], 0xad
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x70], 0
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x64], ecx
je 0x4aec3e
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 4]
cmp dword [edi + 0x70], ecx
jg 0x4aec0b
push dword [esp + 0x58]
mov ecx, edi
push dword [esp + 0x6c]
push edx
mov edx, 0x7d
call fcn.0046aa40
add esp, 0xc
jmp 0x4aec3e
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4], 0x7d
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x4c]
xor edx, edx
mov dword [esp + 0x80], edx
cmp dword [eax], edx
jle 0x4aed09
lea ecx, [eax + 4]
mov dword [esp + 0x10], ecx
nop word [eax + eax]
cmp dword [esp + 0x70], 0
je 0x4aecc6
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4aec8f
mov eax, dword [esp + 0x8c]
mov ecx, edi
add eax, edx
push eax
push edx
push dword [esp + 0x60]
mov edx, 0x59
call fcn.0046aa40
add esp, 0xc
jmp 0x4aece3
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x58]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x8c]
add eax, edx
mov dword [ecx + 0xc], eax
jmp 0x4aecea
mov eax, dword [esp + 0x3c]
mov byte [eax], 1
mov eax, dword [esp + 0x8c]
add eax, edx
mov edx, dword [ecx]
push eax
mov ecx, esi
call fcn.00486af0
add esp, 4
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x4c]
inc edx
mov ecx, dword [esp + 0x10]
add ecx, 0x14
mov dword [esp + 0x80], edx
mov dword [esp + 0x10], ecx
cmp edx, dword [eax]
jl 0x4aec60
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x4aed13
inc dword [ecx]
mov edx, dword [edi + 0x6c]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x70], edx
jg 0x4aed42
push eax
mov eax, dword [esp + 0x3c]
mov edx, 0x56
push dword [esp + 0x90]
inc eax
mov ecx, edi
push eax
call fcn.0046aa40
add esp, 0xc
mov edx, eax
jmp 0x4aed81
mov esi, dword [esp + 0x38]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
inc esi
mov edi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x8c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x56
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff7
push dword [esp + 0x78]
mov ecx, edi
call fcn.0046b930
mov ecx, dword [edi + 0x6c]
add esp, 8
mov dword [esp + 0x80], ecx
lea edx, [ecx + 1]
cmp dword [edi + 0x70], ecx
jg 0x4aedb8
push edx
push 0
push edx
mov edx, 0x10
mov ecx, edi
call fcn.0046aa40
add esp, 0xc
jmp 0x4aede7
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov edx, dword [ecx + 0x6c]
mov eax, dword [eax]
mov dword [esp + 0x74], eax
cmp dword [ecx + 0x70], edx
jg 0x4aee1d
push eax
mov eax, dword [esp + 0x3c]
mov edx, 0x4c
inc eax
push eax
push dword [esp + 0x94]
call fcn.0046aa40
add esp, 0xc
jmp 0x4aee5c
mov edi, dword [esp + 0x48]
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x8c]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
inc edx
mov dword [eax + ecx*4], 0x4c
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x74]
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4aee84
mov eax, dword [esp + 0x20]
mov edx, 0xc
push 0
push dword [esp + 0x80]
inc eax
mov ecx, edi
push eax
call fcn.0046aa40
add esp, 0xc
jmp 0x4aeebc
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
inc edx
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4aeedf
push 0
push dword [esp + 0x54]
mov edx, 0x30
mov ecx, edi
push dword [esp + 0x28]
call fcn.0046aa40
add esp, 0xc
jmp 0x4aef12
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x30
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4aef35
push 0
push dword [esp + 0x48]
mov edx, 0xc
mov ecx, edi
push dword [esp + 0x40]
call fcn.0046aa40
add esp, 0xc
jmp 0x4aef68
mov edx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x80]
mov edx, dword [edi + 0x6c]
test ecx, ecx
jns 0x4aef79
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4aef88
mov eax, 0x657384
jmp 0x4aef91
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
push dword [esp + 0x3c]
mov dword [eax + 8], edx
mov ecx, esi
mov edx, dword [esp + 0x70]
call fcn.004ad0e0
mov ecx, dword [edi + 0x6c]
add esp, 4
cmp dword [edi + 0x70], ecx
jg 0x4aefc7
push 0
push dword [esp + 0x70]
mov edx, 0x45
mov ecx, edi
push 1
call fcn.0046aa40
add esp, 0xc
jmp 0x4aeffa
mov edx, dword [esp + 0x6c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x70], 0
je 0x4af059
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 0x6c]
mov edx, dword [eax + 4]
cmp dword [edi + 0x70], ecx
jg 0x4af028
push 0
push dword [esp + 0x68]
mov ecx, edi
push edx
mov edx, 3
call fcn.0046aa40
add esp, 0xc
jmp 0x4af097
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + ecx*4], 3
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4af093
mov ecx, dword [esp + 0x78]
call fcn.004c2ec0
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
jne 0x4af097
mov eax, dword [esp + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x68]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.0046b690
add esp, 4
mov word [esi], 0xad
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x14]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4af0bf
mov eax, dword [esp + 0x20]
mov edx, 0xc
push 0
push dword [esp + 0x80]
inc eax
mov ecx, edi
push eax
call fcn.0046aa40
add esp, 0xc
jmp 0x4af0f7
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
inc edx
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4af118
push 0
push dword [esp + 0x54]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.0046aa40
add esp, 0xc
jmp 0x4af14b
mov edx, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x1c], ecx
cmp dword [edi + 0x70], ecx
jg 0x4af174
push 0
push dword [esp + 0x24]
mov edx, 0x45
mov ecx, edi
push 1
call fcn.0046aa40
mov edx, dword [esp + 0x2c]
add esp, 0xc
jmp 0x4af1a7
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4af1c8
push 0
lea eax, [edx + 1]
mov ecx, edi
push 0
push eax
mov edx, 0x41
call fcn.0046aa40
add esp, 0xc
jmp 0x4af200
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
inc edx
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x41
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x7c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4af21e
push edx
mov edx, edi
call fcn.0046b240
add esp, 4
jmp 0x4af227
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x10], ecx
lea edx, [ecx + 2]
cmp dword [edi + 0x70], ecx
jg 0x4af24e
push 0
push edx
push dword [esp + 0x74]
mov edx, 0x30
mov ecx, edi
call fcn.0046aa40
add esp, 0xc
jmp 0x4af281
mov esi, dword [esp + 0x6c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x30
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4af2a4
mov eax, dword [esp + 0x20]
mov edx, 0x41
push 0
inc eax
mov ecx, edi
push 0
push eax
call fcn.0046aa40
add esp, 0xc
jmp 0x4af2dc
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
inc edx
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x41
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x3c]
mov ecx, esi
call fcn.004ad000
mov esi, dword [esp + 0x10]
push 0x10
inc esi
push esi
push dword [esp + 0xc4]
push dword [esp + 0x20]
call fcn.00487330
push dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xd8]
push esi
push dword [ebp + 8]
mov esi, dword [esp + 0x30]
mov ecx, esi
push eax
lea eax, [esp + 0xf0]
push eax
push 0xffffffffffffffff
call fcn.004a64d0
mov ecx, dword [edi + 0x6c]
add esp, 0x28
cmp dword [edi + 0x70], ecx
jg 0x4af34e
mov eax, dword [esp + 0x20]
mov edx, 0x41
push 0
inc eax
mov ecx, edi
push 0
push eax
call fcn.0046aa40
add esp, 0xc
jmp 0x4af382
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
inc edx
mov dword [eax + ecx*4], 0x41
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x44]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4af3a0
push edx
mov edx, edi
call fcn.0046b240
add esp, 4
jmp 0x4af3a9
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x3c]
mov ecx, esi
call fcn.004acf30
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4af3d5
push 0
push dword [esp + 0x70]
mov edx, 0x45
mov ecx, edi
push 0
call fcn.0046aa40
add esp, 0xc
jmp 0x4af408
mov edx, dword [esp + 0x6c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4af42c
push 0
push 0
push dword [esp + 0x40]
mov edx, 0x41
mov ecx, edi
call fcn.0046aa40
add esp, 0xc
jmp 0x4afa3c
mov edx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x41
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4afa3c
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x24], 0
jne 0x4af814
mov edx, dword [eax + 0x1c]
cmp dword [edx], 1
jne 0x4af814
mov edx, dword [eax + 0x20]
cmp dword [edx], 1
jne 0x4af814
cmp dword [edx + 0x1c], 0
jne 0x4af814
mov edx, dword [edx + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x58], edx
cmp dword [edx + 0x38], 0
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
jne 0x4af814
cmp byte [eax], 0xa5
jne 0x4af814
cmp dword [ecx + 0x2c], 0
je 0x4af814
mov eax, dword [ecx + 0x28]
mov eax, dword [eax + 4]
test dword [eax + 4], 0x100
je 0x4af814
mov eax, dword [esp + 0x10]
test dword [eax + 4], 0x1000002
jne 0x4af814
mov ecx, dword [edx + 0x48]
mov edx, 0xffff8000
mov dword [esp + 0x44], edx
test ecx, ecx
je 0x4af514
mov eax, dword [esi]
xor edx, edx
mov dword [esp + 0x44], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4af514
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4af508
mov dword [esp + 0x44], edx
mov eax, dword [esi + 0x28]
xor ecx, ecx
mov dword [esp + 0x7c], eax
inc eax
mov dword [esi + 0x28], eax
xor eax, eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x70], ecx
mov ecx, esi
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x74]
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x74], ecx
mov eax, dword [ecx + 0x54]
mov ecx, edx
mov dword [esp + 0x10], eax
mov eax, 1
shl eax, cl
test dword [esp + 0x10], eax
jne 0x4af576
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x10]
bts eax, edx
mov dword [ecx + 0x54], eax
cmp edx, 1
jne 0x4af576
call fcn.00493580
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x58]
mov ecx, esi
push dword [eax]
push 0
push dword [eax + 0x1c]
call fcn.0048d320
mov edx, dword [esp + 0x64]
add esp, 0xc
test byte [edx + 0x24], 0x80
je 0x4af5b6
mov ecx, dword [edx + 8]
mov dword [esp + 0x70], ecx
test ecx, ecx
je 0x4af5b8
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4af5b0
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4af5a0
mov dword [esp + 0x70], ecx
jmp 0x4af5b8
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
test byte [eax + 0x30], 1
jne 0x4af601
mov eax, dword [edx + 8]
test eax, eax
je 0x4af601
mov edi, edx
nop
test byte [eax + 0x38], 4
jne 0x4af5f2
movzx edx, word [eax + 0x30]
cmp dx, word [edi + 0x30]
jge 0x4af5f2
cmp dword [eax + 0x24], 0
jne 0x4af5f2
test ecx, ecx
je 0x4af5f0
cmp dx, word [ecx + 0x30]
jge 0x4af5f2
mov ecx, eax
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4af5d0
mov edi, dword [esp + 0x48]
mov dword [esp + 0x70], ecx
test ecx, ecx
je 0x4af619
mov eax, dword [ecx + 0x2c]
mov edx, ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00493e00
mov dword [esp + 0x78], eax
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x10], ecx
cmp dword [edi + 0x70], ecx
jg 0x4af64a
mov edx, dword [esp + 0x44]
mov ecx, edi
push edx
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x84]
push edx
mov edx, 0x60
call fcn.0046aa40
add esp, 0xc
mov ecx, eax
jmp 0x4af681
mov edx, dword [esp + 0x7c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4af69c
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 1
mov edx, dword [esp + 0x78]
test edx, edx
je 0x4af6e8
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
je 0x4af6bc
push edx
mov edx, 0xfffffff7
call fcn.0046b690
add esp, 4
jmp 0x4af6e8
mov eax, dword [edi + 0x6c]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4af6e1
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, edi
call fcn.0046b850
add esp, 8
jmp 0x4af6e8
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 0x6c]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x70], ecx
jg 0x4af720
push 0
push eax
push dword [esp + 0x84]
mov edx, 0x5c
mov ecx, edi
call fcn.0046aa40
mov edx, dword [esp + 0x88]
add esp, 0xc
jmp 0x4af757
mov esi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x7c]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4af775
push 0
push 0
push edx
mov edx, 0x74
mov ecx, edi
call fcn.0046aa40
add esp, 0xc
jmp 0x4af7a8
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esi + 0xcb], 2
jne 0x4afa01
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x58]
test ecx, ecx
je 0x4af7dc
test byte [edx + 0x24], 0x80
je 0x4af7d0
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4af7dc
mov eax, dword [ecx]
mov dword [esp + 0x10], 1
jmp 0x4af7e9
mov dword [esp + 0x10], 0
mov eax, 0x635fd4
cmp dword [esp + 0x10], 0
mov ecx, 0x635fd4
push eax
mov eax, 0x63da30
cmove eax, ecx
push eax
push dword [edx]
push 0x63da48
push 0
push esi
call fcn.0046afd0
add esp, 0x18
jmp 0x4afa01
cmp dword [ecx + 0x24], 0
mov dword [esp + 0x1c], 0
je 0x4af8c3
mov eax, dword [ecx + 0x2c]
xor edx, edx
mov dword [esp + 0x10], eax
test eax, eax
jle 0x4af864
mov ecx, dword [ecx + 0x28]
mov edi, eax
nop dword [eax + eax]
mov eax, dword [ecx]
test dword [eax + 4], 0x1000000
jne 0x4af854
mov eax, dword [ecx + 4]
test byte [eax + 4], 0x20
jne 0x4af85c
inc edx
add ecx, 0x10
cmp edx, edi
jl 0x4af840
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
cmp edx, eax
jne 0x4af8c3
inc dword [esi + 0x2c]
mov ecx, dword [edi + 0x6c]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x1c], edx
cmp dword [edi + 0x70], ecx
jg 0x4af890
push 0
push edx
push 0
mov edx, 0x45
mov ecx, edi
call fcn.0046aa40
add esp, 0xc
jmp 0x4af8c3
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x3c]
mov ecx, esi
call fcn.004acf30
mov al, byte [esp + 0x87]
mov ecx, esi
mov edx, dword [esp + 0x40]
push 0
movzx eax, al
push eax
push 0
push dword [esp + 0xcc]
push dword [esp + 0x80]
call fcn.004c23c0
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
je 0x4afb08
push dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.004ad0e0
mov edx, dword [esp + 0x20]
add esp, 4
test edx, edx
je 0x4af970
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4af93d
push 0
push edx
push 1
mov edx, 0x45
mov ecx, edi
call fcn.0046aa40
add esp, 0xc
jmp 0x4af970
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x10]
test byte [edx + 0x30], 4
jne 0x4af97f
mov eax, dword [edx + 0x1c]
jmp 0x4af98d
movzx eax, byte [edx + 0x2c]
imul eax, eax, 0x58
mov eax, dword [eax + edx + 0x2a8]
mov dword [esp + 0x1c], eax
cmp eax, dword [edx + 0x1c]
je 0x4af9ef
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4af9b8
push 0
push eax
push 0
mov edx, 0xb
mov ecx, edi
call fcn.0046aa40
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4af9ef
mov esi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, edx
call fcn.004c2ec0
mov edx, dword [esp + 0x3c]
mov ecx, esi
call fcn.004ad000
push 0x10
push dword [esp + 0x54]
mov dword [esp + 0xd8], 0
push dword [esp + 0xc4]
push esi
call fcn.00487330
mov eax, dword [esp + 0x60]
mov ecx, esi
mov edx, dword [esp + 0x28]
push eax
push eax
push dword [ebp + 8]
push 0
push 0
push 0xffffffffffffffff
call fcn.004a64d0
add esp, 0x28
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x50]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4afa5a
push edx
mov edx, edi
call fcn.0046b240
add esp, 4
jmp 0x4afa63
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
cmp byte [esp + 0x5c], 3
mov esi, dword [esp + 0x14]
jne 0x4afa83
push 0x63dadc
push str.sqlite_temp_schema
push 0
push esi
call fcn.0046afd0
add esp, 0x10
cmp dword [esp + 0xd0], 0
je 0x4afad2
cmp dword [esp + 0xd4], 0
mov ecx, 0x63d728
mov eax, 0x63daf4
cmovle eax, ecx
push eax
push str.sqlite_temp_schema
push 0
push esi
call fcn.0046afd0
mov eax, dword [esp + 0x98]
mov ecx, esi
push dword [ebp + 8]
mov edx, dword [esp + 0x2c]
push dword [eax]
lea eax, [esp + 0xe8]
push eax
call fcn.004a7300
add esp, 0x1c
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x10c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4afaf3
push edx
mov edx, edi
call fcn.0046b240
add esp, 4
jmp 0x4afafc
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
xor eax, eax
cmp dword [esi + 0x24], eax
setg al
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x4afb20
mov edx, ecx
mov ecx, eax
call fcn.00482600
mov ecx, dword [esi + 0xd8]
test ecx, ecx
jne 0x4afb3c
xor eax, eax
mov dword [esi + 0xd8], eax
mov eax, dword [esp + 0x64]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 8]
test ecx, ecx
jns 0x4afb47
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x4afb67
mov eax, 0x657384
mov eax, dword [eax + 8]
mov dword [esi + 0xd8], eax
mov eax, dword [esp + 0x64]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [esi + 0xd8], eax
mov eax, dword [esp + 0x64]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret