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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x540020]
xor eax, esp
mov dword [esp + 0x144], eax
push esi
push edi
mov dword [esp + 0x5c], edx
mov edi, ecx
mov dword [esp + 0x18], edi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x68], eax
cmp dword [edi + 0x24], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], eax
mov eax, dword [edi]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0xb4], 0
movlpd qword [esp + 0xd8], xmm0
mov dword [esp + 0x88], eax
jne 0x4a0763
cmp byte [eax + 0x51], 0
jne 0x4a0763
call fcn.0047b850
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x4a0763
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x3c], 0xfff0bdc0
test ecx, ecx
je 0x49ea80
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x3c], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x49ea80
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x49ea74
mov dword [esp + 0x3c], edx
lea eax, [esp + 0xd4]
mov edx, esi
push eax
push dword [esp + 0x44]
mov ecx, edi
push 0x7a
call fcn.0049dc60
add esp, 0xc
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0xc]
mov edx, esi
mov ecx, edi
mov dword [esp + 0x94], eax
call fcn.00476220
test eax, eax
jne 0x4a0763
push dword [esp + 0xd4]
mov edx, esi
mov ecx, edi
call fcn.0047b8e0
add esp, 4
test eax, eax
jne 0x4a0763
mov eax, dword [edi + 0x28]
mov dword [esp + 0x14], eax
mov dword [esp + 0x90], eax
lea ecx, [eax + 1]
mov dword [edi + 0x28], ecx
test byte [esi + 0x24], 0x20
mov dword [esp + 0x98], ecx
jne 0x49eaff
mov dword [esp + 0x34], 0
jmp 0x49eb28
mov ecx, dword [esi + 8]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x49eb28
nop word [eax + eax]
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x49eb20
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x49eb10
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 8]
xor edx, edx
mov dword [esp + 0x78], edx
test ecx, ecx
je 0x49eb66
mov edx, dword [edi + 0x28]
nop dword [eax + eax]
cmp dword [esp + 0x34], ecx
mov eax, edx
cmovne eax, dword [esp + 0x14]
inc edx
inc dword [esp + 0x78]
mov dword [edi + 0x28], edx
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x49eb40
mov edx, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x49eb89
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x14], eax
mov dword [edi + 0x28], ecx
mov ecx, dword [esp + 0x5c]
push 0
mov dword [ecx + 0x34], eax
movsx eax, word [esi + 0x2a]
mov ecx, dword [esp + 0x8c]
add eax, edx
lea eax, [eax*4 + 2]
add eax, edx
push eax
call fcn.0042ca80
mov ecx, eax
add esp, 8
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x4a0763
movsx eax, word [esi + 0x2a]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x78]
mov dword [esp + 0xbc], ecx
lea ecx, [ecx + eax*4]
inc eax
push eax
push 1
push ecx
mov dword [esp + 0x88], ecx
call fcn.004e0bd0
mov eax, dword [esp + 0x84]
add esp, 0xc
mov ecx, dword [esp + 0x7c]
mov byte [ecx + eax + 1], 0
xor eax, eax
xor ecx, ecx
cmp ax, word [esi + 0x2a]
jge 0x49ec24
mov edi, dword [esp + 0x38]
nop word [eax + eax]
mov dword [edi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x49ec10
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x74]
xorps xmm0, xmm0
mov eax, dword [esp + 0x5c]
movaps xmmword [esp + 0x120], xmm0
mov dword [esp + 0x124], eax
mov eax, 0x200
mov dword [esp + 0x128], ecx
mov ecx, dword [esp + 0x40]
movaps xmmword [esp + 0x130], xmm0
mov word [esp + 0x138], ax
xor al, al
mov dword [esp + 0x120], edi
cmp dword [ecx], 0
mov byte [esp + 0x60], 0
mov byte [esp + 0x1f], al
mov dword [esp + 0x2c], 0
jle 0x49ee60
lea esi, [ecx + 4]
mov dword [esp + 0x48], esi
nop dword [eax + eax]
mov edx, dword [esi]
lea ecx, [esp + 0x120]
call fcn.00462e30
test eax, eax
jne 0x4a06ea
mov edx, dword [esp + 0x20]
xor edi, edi
movsx eax, word [edx + 0x2a]
test eax, eax
jle 0x49ed43
mov eax, dword [edx + 4]
mov esi, dword [esi + 4]
mov dword [esp + 0xb8], esi
mov dword [esp + 0x64], eax
nop dword [eax]
mov edx, dword [eax]
mov al, byte [edx]
mov byte [esp + 0x27], al
movzx eax, al
movzx ecx, byte [eax + 0x515a20]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x515a20]
sub ecx, eax
jne 0x49ed27
sub esi, edx
cmp byte [esp + 0x27], 0
je 0x49ed82
mov al, byte [edx + 1]
inc edx
mov byte [esp + 0x27], al
movzx eax, byte [esi + edx]
movzx ecx, byte [eax + 0x515a20]
movzx eax, byte [esp + 0x27]
movzx eax, byte [eax + 0x515a20]
sub eax, ecx
je 0x49ecf2
mov esi, dword [esp + 0xb8]
mov edx, dword [esp + 0x20]
inc edi
mov eax, dword [esp + 0x64]
add eax, 0x10
mov dword [esp + 0x64], eax
movsx ecx, word [edx + 0x2a]
cmp edi, ecx
jl 0x49ecd0
mov esi, dword [esp + 0x48]
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x49ede3
cmp dword [esp + 0x34], 0
jne 0x49ee79
mov ecx, dword [esi + 4]
call fcn.00465a60
test eax, eax
je 0x49ee79
mov eax, dword [esi]
or edi, 0xffffffff
mov byte [esp + 0x1f], 1
mov edx, str.ROWID
mov dword [esp + 0xac], eax
jmp 0x49edf8
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x48]
movsx eax, word [edx + 0x28]
cmp edi, eax
jne 0x49edad
mov eax, dword [esi]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x1f], 1
mov dword [ecx + edi*4], eax
jmp 0x49ed43
cmp dword [esp + 0x34], 0
je 0x49edd3
mov ecx, dword [edx + 4]
mov eax, edi
add eax, eax
test byte [ecx + eax*8 + 0xf], 1
mov ecx, 1
mov eax, dword [esp + 0x60]
movzx eax, al
cmovne eax, ecx
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov dword [ecx + edi*4], eax
jmp 0x49ed43
test edi, edi
jns 0x49edee
mov edx, str.ROWID
jmp 0x49edf8
mov eax, dword [edx + 4]
mov ecx, edi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x3c]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x28]
push dword [edx]
mov edx, 0x17
call fcn.00471ff0
add esp, 0xc
cmp eax, 1
je 0x4a06ea
cmp eax, 2
jne 0x49ee3c
mov eax, dword [esp + 0x38]
mov dword [eax + edi*4], 0xffffffff
mov edi, dword [esp + 0x2c]
add esi, 0x18
mov ecx, dword [esp + 0x40]
inc edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x48], esi
cmp edi, dword [ecx]
jl 0x49ec90
mov esi, dword [esp + 0x20]
mov al, byte [esp + 0x1f]
mov dl, byte [esp + 0x60]
add dl, al
cmp dword [esi + 0x38], 0
mov byte [esp + 0x48], dl
je 0x49eea3
mov eax, 0xffffffff
or ecx, eax
jmp 0x49eebd
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x18]
lea eax, [eax + eax*2]
push dword [ecx + eax*8 + 8]
push str.no_such_column:__s
push esi
call fcn.0042fce0
add esp, 0xc
mov byte [esi + 0x11], 1
jmp 0x4a06ea
xorps xmm0, xmm0
movlpd qword [esp + 0xa0], xmm0
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
mov edi, dword [esp + 0x5c]
mov dword [edi + 0x40], eax
mov eax, edi
mov edi, dword [esp + 0x18]
mov dword [eax + 0x44], ecx
mov ecx, edi
movzx eax, dl
mov edx, esi
push eax
push dword [esp + 0x3c]
mov dword [esp + 0xcc], eax
call fcn.00482b80
add esp, 8
mov ecx, eax
cmp dword [ebp + 0x10], 5
mov edx, 1
mov eax, dword [esp + 0x148]
cmove eax, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x148], eax
mov esi, dword [esi + 8]
test esi, esi
je 0x49f0a9
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0xbc]
inc edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x2c], edi
nop word [eax + eax]
cmp byte [esp + 0x48], 0
jne 0x49f255
cmp ecx, 1
jg 0x49f255
cmp esi, dword [esp + 0x34]
je 0x49f255
mov edx, dword [esi + 0x24]
test edx, edx
je 0x49efae
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0xe0]
xorps xmm0, xmm0
mov dword [esp + 0xf8], 0
movaps xmmword [esp + 0xe0], xmm0
movq qword [esp + 0xf0], xmm0
mov dword [esp + 0xe4], 0x485ea0
mov dword [esp + 0xf8], eax
call fcn.00460670
cmp byte [esp + 0x1f], 0
mov al, byte [esp + 0xf4]
jne 0x49efa6
and al, 0xfd
test al, al
jne 0x49f255
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [esp + 0x8c], ecx
cmp ax, word [esi + 0x32]
jae 0x49f076
mov dword [esp + 0x64], ecx
nop dword [eax]
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x49efeb
mov edx, dword [esp + 0x38]
cwde
mov eax, dword [edx + eax*4]
not eax
shr eax, 0x1f
jmp 0x49f053
mov eax, dword [esi + 0x28]
xorps xmm0, xmm0
movaps xmmword [esp + 0x100], xmm0
mov dword [esp + 0x118], 0
movq qword [esp + 0x110], xmm0
mov edx, dword [eax + ecx + 4]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x104], 0x485ea0
mov dword [esp + 0x118], eax
test edx, edx
je 0x49f037
lea ecx, [esp + 0x100]
call fcn.00460670
cmp byte [esp + 0x1f], 0
mov cl, byte [esp + 0x114]
jne 0x49f048
and cl, 0xfd
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x64]
setne al
test eax, eax
jne 0x49f225
movzx eax, word [esi + 0x32]
inc edi
add ecx, 0x18
mov dword [esp + 0x64], ecx
cmp edi, eax
jl 0x49efd0
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x2c]
mov byte [edi], 0
mov eax, dword [esp + 0x6c]
inc edi
mov dword [esp + 0x2c], edi
mov dword [eax], ecx
add eax, 4
mov esi, dword [esi + 0x14]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x6c], eax
test esi, esi
jne 0x49ef30
mov eax, dword [esp + 0x148]
mov edi, dword [esp + 0x18]
test eax, eax
je 0x49f0c4
mov eax, dword [esp + 0x78]
inc eax
push eax
push 1
push dword [esp + 0x84]
call fcn.004e0bd0
add esp, 0xc
mov edi, dword [edi + 8]
mov esi, dword [esp + 0x18]
test edi, edi
jne 0x49f0f1
cmp dword [esi + 0x74], edi
jne 0x49f0e0
mov eax, dword [esi]
test byte [eax + 0x4c], 8
jne 0x49f0e0
mov byte [esi + 0x17], 1
mov ecx, esi
call fcn.0044cdd0
mov edi, eax
test edi, edi
je 0x4a06ea
cmp byte [esi + 0x12], 0
jne 0x49f0fe
or dword [edi + 0x98], 0x20
cmp dword [esp + 0x70], 0
jne 0x49f111
cmp dword [esp + 0x54], 0
mov byte [esp + 0x27], 0
je 0x49f116
mov byte [esp + 0x27], 1
mov eax, dword [esi + 0x74]
test eax, eax
mov ecx, dword [esp + 0x3c]
cmovne esi, eax
mov eax, 1
shl eax, cl
mov edx, dword [esi + 0x54]
test edx, eax
jne 0x49f146
bts edx, ecx
mov dword [esi + 0x54], edx
cmp ecx, 1
jne 0x49f146
mov ecx, esi
call fcn.00479fd0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0x50]
mov edx, dword [esp + 0x18]
bts eax, ecx
mov dword [esi + 0x50], eax
mov al, byte [esp + 0x27]
or byte [esi + 0x14], al
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x38], 0
jne 0x49f1d8
mov eax, dword [edx + 0x2c]
inc eax
cmp byte [esp + 0x60], 0
mov dword [esp + 0x44], eax
lea ecx, [eax + 1]
mov dword [esp + 0x50], ecx
mov dword [edx + 0x2c], ecx
mov dword [esp + 0x28], ecx
jne 0x49f190
cmp dword [esp + 0x70], 0
jne 0x49f190
mov eax, dword [esp + 0x54]
test eax, eax
je 0x49f1a7
lea eax, [ecx + 1]
mov dword [esp + 0xd0], eax
movsx eax, word [esi + 0x2a]
add ecx, eax
mov eax, dword [esp + 0x54]
mov dword [edx + 0x2c], ecx
cmp byte [esp + 0x48], 0
jne 0x49f1b9
cmp dword [esp + 0x70], 0
jne 0x49f1b9
test eax, eax
je 0x49f1c5
lea eax, [ecx + 1]
mov dword [esp + 0x50], eax
mov ecx, eax
mov dword [edx + 0x2c], eax
lea eax, [ecx + 1]
mov dword [esp + 0xb0], eax
movsx eax, word [esi + 0x2a]
add eax, ecx
mov dword [edx + 0x2c], eax
cmp dword [esp + 0x94], 0
je 0x49f275
mov esi, dword [edx + 0xf0]
push dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x90], esi
mov esi, dword [esp + 0x24]
push 0
push 0
push dword [esp + 0x90]
mov eax, dword [esi]
mov dword [esp + 0xc8], edx
mov dword [edx + 0xf0], eax
mov edx, esi
call fcn.0047b9b0
add esp, 0x10
jmp 0x49f291
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
inc dword [edx + 0x2c]
movzx eax, word [esi + 0x34]
mov ecx, dword [edx + 0x2c]
add eax, ecx
cmp dword [ebp + 0x10], 0xb
mov dword [edx + 0x2c], eax
jne 0x49f268
cmp byte [esi + 0x36], 5
jne 0x49f268
mov dword [esp + 0x148], 1
jmp 0x49f268
mov edx, dword [esp + 0x18]
inc dword [edx + 0x2c]
movzx eax, word [esi + 0x34]
mov ecx, dword [edx + 0x2c]
add eax, ecx
mov dword [edx + 0x2c], eax
test ecx, ecx
jne 0x49f07d
jmp 0x49f07a
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x8c], eax
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x120]
call fcn.00462e30
test eax, eax
jne 0x4a06d2
mov ecx, dword [esp + 0x18]
cmp dword [esi + 0x38], eax
je 0x49f2e0
push dword [ebp + 0x10]
mov edx, dword [esp + 0x60]
push dword [esp + 0x88]
push dword [esp + 0x40]
push dword [esp + 0xb8]
push dword [esp + 0x50]
push esi
call fcn.004a07b0
add esp, 0x18
jmp 0x4a06d2
dec dword [ecx + 0x38]
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
je 0x49f377
cmp dword [ecx + 0x78], 0
jne 0x49f377
cmp byte [ecx + 0x12], 0
jne 0x49f377
cmp dword [esp + 0x74], 0
jne 0x49f377
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0xcc], edx
cmp dword [edi + 0x70], ecx
jg 0x49f340
push 0
push edx
push 0
mov edx, 0x46
mov ecx, edi
call fcn.0044d060
add esp, 0xc
jmp 0x49f373
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], 0x46
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 [esp + 0x18]
test byte [esi + 0x24], 0x20
jne 0x49f463
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49f3a4
push dword [esp + 0x28]
mov edx, 0x49
mov ecx, edi
push dword [esp + 0x48]
push 0
call fcn.0044d060
add esp, 0xc
jmp 0x49f3d7
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x28]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x74], 0
je 0x49f598
mov ecx, dword [esp + 0x18]
push 0x10
push dword [esp + 0x40]
mov esi, 1
mov dword [esp + 0x6c], 0
push dword [esp + 0x8c]
mov dword [esp + 0x58], esi
push ecx
call fcn.0046b160
mov eax, dword [esp + 0xb4]
add esp, 0x10
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
test byte [ecx + 0x24], 0x20
jne 0x49f703
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49f66e
push 0
push dword [esp + 0x2c]
mov edx, 0x80
mov ecx, edi
push eax
call fcn.0044d060
mov edx, dword [esp + 0x34]
add esp, 0xc
jmp 0x49f6a1
mov eax, dword [esp + 0x34]
movzx esi, word [eax + 0x32]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x80], esi
movsx esi, si
mov dword [esp + 0x64], esi
lea edx, [eax + 1]
inc eax
add eax, esi
mov dword [esp + 0x68], edx
cmp dword [esp + 0x74], 0
mov dword [esp + 0x30], eax
mov dword [ecx + 0x2c], eax
jne 0x49f3e6
mov eax, dword [ecx + 0x28]
dec edx
mov dword [esp + 0x58], eax
add edx, esi
inc eax
mov dword [ecx + 0x28], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49f4c6
push edx
push dword [esp + 0x6c]
mov edx, 0x49
mov ecx, edi
push 0
call fcn.0044d060
add esp, 0xc
jmp 0x49f4f9
mov esi, dword [esp + 0x68]
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 + 0x64]
mov dword [eax + ecx*4], 0x49
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]
mov dword [esp + 0x9c], ecx
cmp dword [edi + 0x70], ecx
jg 0x49f527
push 0
push esi
push dword [esp + 0x60]
mov edx, 0x71
mov ecx, edi
call fcn.0044d060
add esp, 0xc
mov dword [esp + 0x9c], eax
jmp 0x49f556
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, eax
mov edx, dword [esp + 0x34]
mov esi, dword [eax + 8]
call fcn.0047a960
mov edx, eax
test edx, edx
je 0x49f598
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x49f586
push edx
mov edx, 0xfffffff7
call fcn.0044d880
add esp, 4
jmp 0x49f598
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov ecx, dword [esp + 0x18]
mov eax, 0x1004
cmp byte [ecx + 0x12], 0
jne 0x49f5cc
cmp dword [esp + 0x70], 0
jne 0x49f5cc
cmp dword [esp + 0x54], 0
jne 0x49f5cc
cmp byte [esp + 0x48], 0
jne 0x49f5cc
cmp dword [esp + 0x148], 0
mov edx, 0x100c
cmove eax, edx
push dword [esp + 0x98]
mov edx, dword [esp + 0x60]
push eax
push 0
push 0
push dword [esp + 0x94]
call fcn.004b01d0
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x64], ecx
test ecx, ecx
je 0x4a06d2
movzx esi, byte [ecx + 0x31]
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0xc8], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x4c], esi
cmp esi, 1
je 0x49f426
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x14]
mov byte [ecx + 0x14], 1
cmp esi, 2
jne 0x49f42a
test edx, edx
js 0x49f42a
cmp edx, eax
je 0x49f42a
mov ecx, dword [esp + 0x7c]
mov eax, edx
sub eax, dword [esp + 0x90]
cmp byte [eax + ecx], 0
mov eax, dword [esp + 0x14]
je 0x49f42a
xor esi, esi
mov dword [esp + 0x4c], esi
jmp 0x49f42a
mov edx, 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 + 0x28]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test esi, esi
jne 0x49f8ca
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49f6cb
push esi
push edx
push dword [esp + 0x4c]
mov edx, 0x94
mov ecx, edi
call fcn.0044d060
add esp, 0xc
jmp 0x49f8ca
mov edx, dword [esp + 0x44]
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 + 0x28]
mov dword [eax + ecx*4], 0x94
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x49f8ca
mov eax, dword [esp + 0x80]
xor esi, esi
cwde
mov dword [esp + 0xa0], eax
test eax, eax
jle 0x49f74e
mov eax, dword [esp + 0x68]
mov edx, ecx
add eax, esi
mov ecx, edi
push eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x1c]
call fcn.00468630
mov ecx, dword [esp + 0x8c]
inc esi
movsx eax, cx
add esp, 0xc
mov ecx, dword [esp + 0x20]
cmp esi, eax
jl 0x49f718
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x49f7b0
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x49f792
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
jne 0x49f792
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.0044d880
mov word [esi], 0xaa
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x80]
movsx eax, cx
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x30], eax
jmp 0x49f8ca
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x88]
call fcn.004838a0
mov edx, dword [edi + 0x6c]
mov dword [esp + 0xd8], eax
mov dword [esp + 0x9c], edx
cmp dword [edi + 0x70], edx
jg 0x49f7fc
push dword [esp + 0x30]
mov eax, dword [esp + 0x84]
mov edx, 0x5c
movsx esi, ax
mov ecx, edi
push esi
push dword [esp + 0x70]
call fcn.0044d060
add esp, 0xc
mov edx, eax
jmp 0x49f83c
mov esi, dword [esp + 0x68]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x80]
mov dword [eax + ecx*4 + 4], esi
movsx esi, dx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x9c]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0x10], 0
push esi
push dword [esp + 0xdc]
mov ecx, edi
call fcn.0044dad0
mov edx, dword [edi + 0x6c]
add esp, 8
cmp dword [edi + 0x70], edx
jg 0x49f875
push dword [esp + 0x68]
mov edx, 0x84
mov ecx, edi
push dword [esp + 0x34]
push dword [esp + 0x60]
call fcn.0044d060
add esp, 0xc
mov edx, eax
jmp 0x49f8af
mov esi, dword [esp + 0x58]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x68]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0xa0]
mov dword [eax + ecx*4], 0x84
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x49f8c6
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], esi
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x74], 0
jne 0x49fcfc
cmp esi, 2
je 0x49f8e3
mov ecx, dword [esp + 0x64]
call fcn.004b0ed0
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x49f9f6
mov edx, dword [esp + 0x4c]
xor esi, esi
test edx, edx
je 0x49f99b
mov ecx, dword [esp + 0xc8]
test ecx, ecx
js 0x49f91a
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x90]
mov byte [eax + ecx], 0
mov ecx, dword [esp + 0x6c]
test ecx, ecx
js 0x49f931
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x90]
mov byte [eax + ecx], 0
cmp edx, 2
jne 0x49f99b
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x78]
setns al
sub ecx, eax
test ecx, ecx
jle 0x49f99b
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x49f968
push 0
push 0
push 0
mov edx, 0x11
mov ecx, edi
call fcn.0044d060
add esp, 0xc
mov esi, eax
jmp 0x49f99b
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
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 + 0x20]
mov ecx, dword [esp + 0x18]
push 0
push 0
push dword [esp + 0x84]
push dword [esp + 0x9c]
push 0
push 0x6d
call fcn.004879c0
add esp, 0x18
test esi, esi
je 0x49f9eb
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x49f9d7
mov eax, 0x55011c
jmp 0x49f9e8
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x49fb02
test eax, eax
jne 0x49fa92
mov eax, dword [esp + 0x14]
cmp dword [esp + 0xc8], eax
je 0x49fa92
cmp dword [esp + 0x6c], eax
je 0x49fa92
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x49fa3d
push dword [esp + 0x30]
mov edx, 0x1c
mov ecx, edi
push dword [esp + 0x40]
push eax
call fcn.0044d060
add esp, 0xc
mov edx, eax
jmp 0x49fa74
mov esi, dword [esp + 0x14]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x49fa92
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0xb4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
cmp esi, 1
je 0x49faa5
mov eax, dword [esp + 0x18]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x34], 0
mov edx, dword [esp + 0x28]
cmovne edx, dword [esp + 0x30]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49fad6
push 0
push dword [esp + 0x40]
mov ecx, edi
push edx
mov edx, 0x32
call fcn.0044d060
add esp, 0xc
jmp 0x49fcfc
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 + 0x3c]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
jmp 0x49fcf4
cmp dword [esp + 0x34], 0
je 0x49fc48
mov eax, dword [esp + 0x18]
dec dword [eax + 0x38]
mov ecx, dword [edi + 0x6c]
mov esi, dword [eax + 0x38]
mov dword [esp + 0x2c], esi
cmp dword [edi + 0x70], ecx
jg 0x49fb3e
push 0
push dword [esp + 0x40]
mov edx, 0x24
mov ecx, edi
push dword [esp + 0x60]
call fcn.0044d060
add esp, 0xc
jmp 0x49fb71
mov edx, dword [esp + 0x58]
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 + 0x3c]
mov dword [eax + ecx*4], 0x24
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 + 0xc0], ecx
cmp dword [edi + 0x70], ecx
jg 0x49fba2
push 0
push dword [esp + 0x34]
mov edx, 0x7f
mov ecx, edi
push dword [esp + 0x60]
call fcn.0044d060
add esp, 0xc
mov dword [esp + 0xc0], eax
jmp 0x49fbd5
mov edx, dword [esp + 0x58]
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 + 0x30]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x49fbf9
push dword [esp + 0x30]
mov edx, 0x1c
mov ecx, edi
push esi
push dword [esp + 0x1c]
call fcn.0044d060
add esp, 0xc
mov edx, eax
jmp 0x49fc2c
mov esi, dword [esp + 0x14]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x49fcfc
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
jmp 0x49fcf4
mov esi, dword [edi + 0x6c]
mov dword [esp + 0x2c], esi
cmp dword [edi + 0x70], esi
jg 0x49fc7b
push dword [esp + 0x28]
mov edx, 0x29
mov ecx, edi
push dword [esp + 0x40]
push dword [esp + 0x4c]
call fcn.0044d060
mov edx, dword [esp + 0x34]
mov esi, eax
add esp, 0xc
mov dword [esp + 0x2c], esi
jmp 0x49fcae
mov edx, dword [esp + 0x44]
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x29
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 0x49fccd
push edx
push esi
push dword [esp + 0x1c]
mov edx, 0x1f
mov ecx, edi
call fcn.0044d060
add esp, 0xc
jmp 0x49fcfc
mov edx, 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 + 0x28]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x1f], 0
mov esi, dword [esp + 0x18]
je 0x49fd70
push dword [esp + 0x50]
mov edx, dword [esp + 0xb0]
mov ecx, esi
call fcn.0046a760
mov ecx, dword [edi + 0x6c]
add esp, 4
cmp dword [edi + 0x70], ecx
jg 0x49fd3d
push 0
push 0
push dword [esp + 0x58]
mov edx, 0xf
mov ecx, edi
call fcn.0044d060
add esp, 0xc
jmp 0x49fd70
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], 0xf
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 [esp + 0x60], 0
jne 0x49fe32
cmp dword [esp + 0x54], 0
jne 0x49fe3d
cmp dword [esp + 0x70], 0
je 0x49ff2a
xor ecx, ecx
mov dword [esp + 0x60], ecx
push dword [ebp + 0x10]
mov edx, dword [esp + 0x74]
mov ecx, esi
push dword [esp + 0x24]
push 3
push 0
push dword [esp + 0x50]
call fcn.0049e8b0
mov ecx, dword [esp + 0x74]
xor edx, edx
or ecx, eax
add esp, 0x14
mov eax, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0x60], ecx
cmp dx, word [eax + 0x2a]
jge 0x49fec6
mov dword [esp + 0x6c], edx
cmp ecx, 0xffffffff
je 0x49fe89
cmp esi, 0x20
jge 0x49fdf5
mov eax, 1
mov ecx, esi
shl eax, cl
test dword [esp + 0x60], eax
jne 0x49fe89
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
test byte [eax + edx + 0xf], 1
jne 0x49fe89
mov edx, dword [esp + 0xd0]
mov ecx, dword [edi + 0x6c]
add edx, esi
mov dword [esp + 0xa0], edx
cmp dword [edi + 0x70], ecx
jg 0x49fe51
push 0
push edx
push 0
mov edx, 0x49
mov ecx, edi
call fcn.0044d060
jmp 0x49fea3
cmp dword [esp + 0x54], 0
je 0x49fd91
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.00482a90
mov dword [esp + 0x60], eax
jmp 0x49fd97
mov edx, dword [esp + 0xa0]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x49
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
jmp 0x49fea6
mov eax, dword [esp + 0xd0]
mov ecx, edi
mov edx, dword [esp + 0x20]
add eax, esi
push eax
push esi
push dword [esp + 0x1c]
call fcn.00468630
add esp, 0xc
mov eax, dword [esp + 0x20]
inc esi
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x60]
add edx, 0x10
mov dword [esp + 0x6c], edx
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x49fdd4
cmp byte [esp + 0x1f], 0
jne 0x49ff2a
cmp dword [esp + 0x34], 0
jne 0x49ff2a
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49fef7
push 0
push dword [esp + 0x54]
mov edx, 0x4e
mov ecx, edi
push dword [esp + 0x30]
call fcn.0044d060
add esp, 0xc
jmp 0x49ff2a
mov edx, dword [esp + 0x28]
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], 0x4e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [ebp + 0x10]
mov edx, dword [esp + 0x74]
push dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 1
push 1
push dword [esp + 0x50]
call fcn.0049e8b0
mov ecx, dword [esp + 0x34]
add esp, 0x14
mov dword [esp + 0xa0], eax
xor esi, esi
xor eax, eax
cmp ax, word [ecx + 0x2a]
jge 0x4a004c
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x44], edx
nop dword [eax]
movsx eax, word [ecx + 0x28]
cmp esi, eax
jne 0x49ff96
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49ffe7
push 0
push edx
push 0
mov edx, 0x49
mov ecx, edi
call fcn.0044d060
jmp 0x4a002f
mov eax, dword [esp + 0x38]
mov eax, dword [eax + esi*4]
test eax, eax
js 0x49ffbb
mov ecx, dword [esp + 0x18]
push edx
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x44]
mov edx, dword [eax + edx*8 + 4]
call fcn.0046a760
add esp, 4
jmp 0x4a0032
test dword [esp + 0xd4], 1
je 0x4a0020
cmp esi, 0x1f
jg 0x4a0020
mov eax, 1
mov ecx, esi
shl eax, cl
test dword [esp + 0xa0], eax
jne 0x4a001c
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jle 0x49ff80
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x49
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
jmp 0x4a0036
mov ecx, dword [esp + 0x20]
push edx
push esi
push dword [esp + 0x1c]
mov edx, ecx
mov ecx, edi
call fcn.00468630
add esp, 0xc
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
inc esi
inc edx
mov dword [esp + 0x44], edx
movsx eax, word [ecx + 0x2a]
cmp esi, eax
jl 0x49ff70
test byte [esp + 0xd4], 1
je 0x4a016b
push dword [esp + 0xb0]
mov edx, ecx
mov ecx, edi
call fcn.004839a0
mov esi, dword [esp + 0x30]
add esp, 4
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x18]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x30]
push dword [esp + 0x2c]
push 1
push dword [esp + 0x54]
push 0x7a
call fcn.0049e820
mov edx, dword [edi + 0x6c]
add esp, 0x1c
cmp dword [esp + 0x34], 0
mov eax, dword [edi + 0x70]
je 0x4a022a
cmp eax, edx
jg 0x4a00c6
push dword [esp + 0x30]
mov edx, 0x1c
mov ecx, edi
push esi
push dword [esp + 0x1c]
call fcn.0044d060
add esp, 0xc
mov edx, eax
jmp 0x4a00f9
mov esi, dword [esp + 0x14]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4a0117
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0xb4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
xor eax, eax
xor esi, esi
cmp ax, word [ecx + 0x2a]
jge 0x4a016b
nop dword [eax]
mov eax, dword [esp + 0x38]
cmp dword [eax + esi*4], 0
jge 0x4a015e
movsx eax, word [ecx + 0x28]
cmp esi, eax
je 0x4a015e
mov eax, dword [esp + 0xb0]
add eax, esi
push eax
push esi
push edx
mov edx, ecx
mov ecx, edi
call fcn.00468630
mov ecx, dword [esp + 0x2c]
add esp, 0xc
movsx eax, word [ecx + 0x2a]
inc esi
mov edx, dword [esp + 0x14]
cmp esi, eax
jl 0x4a0130
cmp dword [esp + 0x94], 0
jne 0x4a0470
xor esi, esi
lea eax, [esp + 0x148]
push esi
push dword [esp + 0x3c]
mov edx, ecx
mov ecx, dword [esp + 0x20]
push eax
push dword [esp + 0x38]
push dword [ebp + 0x10]
push dword [esp + 0x5c]
push dword [esp + 0x40]
push dword [esp + 0x6c]
push dword [esp + 0xb8]
push dword [esp + 0x38]
push dword [esp + 0xe4]
call fcn.00485ee0
add esp, 0x2c
cmp dword [esp + 0x54], esi
je 0x4a01e1
push dword [esp + 0xc4]
mov edx, dword [esp + 0x24]
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
push esi
push dword [esp + 0x34]
call fcn.00482460
add esp, 0x10
cmp dword [esp + 0x148], esi
jne 0x4a01f5
cmp byte [esp + 0x48], 0
je 0x4a0326
cmp dword [esp + 0x34], 0
mov esi, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
je 0x4a02d2
cmp eax, esi
jg 0x4a027f
push dword [esp + 0x30]
mov edx, 0x1c
mov ecx, edi
push 0
push dword [esp + 0x1c]
call fcn.0044d060
add esp, 0xc
mov esi, eax
jmp 0x4a02b2
cmp eax, edx
jg 0x4a024b
push dword [esp + 0x28]
mov edx, 0x1f
mov ecx, edi
push esi
push dword [esp + 0x1c]
call fcn.0044d060
add esp, 0xc
jmp 0x4a0117
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a011b
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4a0326
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
mov edx, dword [esp + 0xb4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x4a0326
cmp eax, esi
jg 0x4a02f3
push dword [esp + 0x28]
mov edx, 0x1f
mov ecx, edi
push 0
push dword [esp + 0x1c]
call fcn.0044d060
add esp, 0xc
mov esi, eax
jmp 0x4a0326
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push dword [esp + 0xc0]
push dword [esp + 0xa0]
push dword [esp + 0x20]
call fcn.0047d1c0
add esp, 0x10
cmp dword [esp + 0x54], 1
jg 0x4a0359
mov al, byte [esp + 0x48]
test al, al
je 0x4a03b1
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4a037a
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x7b
mov ecx, edi
call fcn.0044d060
add esp, 0xc
jmp 0x4a03ad
mov edx, 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], 0x7b
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 al, byte [esp + 0x48]
cmp dword [esp + 0x148], 0
jne 0x4a03bf
test al, al
je 0x4a03e4
mov edx, dword [edi + 0x6c]
test esi, esi
jns 0x4a03c9
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4a03d8
mov eax, 0x55011c
jmp 0x4a03e1
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp dword [esp + 0x54], 0
mov esi, dword [esp + 0x20]
je 0x4a040e
push dword [esp + 0xc4]
mov ecx, dword [esp + 0x1c]
mov edx, esi
push dword [esp + 0x3c]
push dword [esp + 0x58]
push 0
call fcn.00482460
add esp, 0x10
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp dword [esp + 0x4c], 2
mov edx, esi
push 0
sete al
push 0
lea eax, [eax*2 + 4]
push eax
push dword [esp + 0xc8]
push dword [esp + 0x60]
push dword [esp + 0xac]
push dword [esp + 0x2c]
call fcn.00487670
add esp, 0x1c
cmp dword [esp + 0x54], 0
je 0x4a0470
push dword [esp + 0xc4]
mov ecx, dword [esp + 0x1c]
mov edx, esi
push dword [esp + 0x3c]
push dword [esp + 0x30]
push dword [esp + 0x4c]
call fcn.00483660
add esp, 0x10
mov edx, dword [esp + 0xcc]
test edx, edx
je 0x4a04c8
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4a0499
push 0
push 1
push edx
mov edx, 0x53
mov ecx, edi
call fcn.0044d060
add esp, 0xc
jmp 0x4a04c8
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x53
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x18]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x30]
push dword [esp + 0x2c]
push 2
push dword [esp + 0x54]
push 0x7a
call fcn.0049e820
mov eax, dword [esp + 0x68]
add esp, 0x1c
cmp eax, 1
je 0x4a0605
cmp eax, 2
jne 0x4a053f
mov ecx, dword [edi + 0xc]
not esi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4a0528
push esi
mov edx, edi
call fcn.0044d4c0
mov ecx, dword [esp + 0x68]
add esp, 4
call fcn.004b0ed0
jmp 0x4a0605
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + esi*4], eax
mov ecx, dword [esp + 0x64]
call fcn.004b0ed0
jmp 0x4a0605
cmp dword [esp + 0x34], 0
je 0x4a05b8
mov ecx, dword [edi + 0xc]
not esi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4a0560
push esi
mov edx, edi
call fcn.0044d4c0
add esp, 4
jmp 0x4a0569
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + esi*4], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4a0590
mov edx, dword [esp + 0xc0]
mov ecx, edi
push 0
push edx
push dword [esp + 0x60]
mov edx, 5
call fcn.0044d060
add esp, 0xc
jmp 0x4a0605
mov edx, dword [esp + 0x58]
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 + 0xc0]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
jmp 0x4a05f5
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4a05d6
push 0
push esi
push 0
mov edx, 0xb
mov ecx, edi
call fcn.0044d060
add esp, 0xc
jmp 0x4a0605
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], esi
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x3c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4a0623
push edx
mov edx, edi
call fcn.0044d4c0
add esp, 4
jmp 0x4a062c
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x12], 0
jne 0x4a0650
cmp dword [eax + 0x78], 0
jne 0x4a0650
cmp dword [esp + 0x74], 0
jne 0x4a0650
cmp dword [eax + 0x70], 0
je 0x4a0650
mov ecx, eax
call fcn.00483c70
mov edx, dword [esp + 0xcc]
test edx, edx
je 0x4a06d2
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4a0679
push 0
push 1
push edx
mov edx, 0x51
mov ecx, edi
call fcn.0044d060
add esp, 0xc
jmp 0x4a06a8
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x51
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, 1
mov ecx, edi
call fcn.0044ec90
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4a06d2
mov ecx, dword [edi + 0x74]
mov edx, str.rows_updated
push 0
push 1
push 0xffffffffffffffff
call fcn.0044c280
add esp, 0xc
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x4a06ea
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0xf0], ecx
mov edi, dword [esp + 0x88]
cmp dword [edi + 0x1e8], 0
je 0x4a0716
mov edx, dword [esp + 0x38]
mov ecx, edi
call fcn.0042c6f0
mov edx, dword [esp + 0x5c]
mov ecx, edi
call fcn.004798a0
mov edx, dword [esp + 0x40]
jmp 0x4a077d
mov ecx, dword [esp + 0x38]
cmp ecx, dword [edi + 0x138]
jb 0x4a0749
cmp ecx, dword [edi + 0x13c]
jae 0x4a0749
mov eax, dword [edi + 0x134]
mov edx, dword [esp + 0x5c]
mov dword [ecx], eax
mov dword [edi + 0x134], ecx
mov ecx, edi
call fcn.004798a0
mov edx, dword [esp + 0x40]
jmp 0x4a077d
push ecx
call fcn.0042c680
mov edx, dword [esp + 0x60]
add esp, 4
mov ecx, edi
call fcn.004798a0
mov edx, dword [esp + 0x40]
jmp 0x4a077d
mov edi, dword [esp + 0x88]
mov ecx, edi
mov edx, dword [esp + 0x5c]
call fcn.004798a0
mov edx, dword [esp + 0x40]
test edx, edx
je 0x4a0784
mov ecx, edi
call fcn.00465470
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4a0798
mov edx, eax
mov ecx, edi
call fcn.00464300
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
xor ecx, esp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret