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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
xor eax, eax
mov dword [esp + 0x64], edx
push esi
mov esi, ecx
mov dword [esp + 0xa0], 0
xor edx, edx
mov dword [esp + 4], esi
push edi
xorps xmm0, xmm0
mov dword [esp + 0x18], edx
mov edi, dword [esi]
mov dword [esp + 0xac], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x3c], eax
movq qword [esp + 0xb8], xmm0
mov dword [esp + 0x24], edi
cmp dword [esi + 0x24], eax
jne 0x49a24a
cmp byte [edi + 0x51], al
jne 0x49a24a
mov edx, dword [esp + 0x6c]
call fcn.0047bfc0
mov edi, eax
mov dword [esp + 0xc], edi
test edi, edi
je 0x49ba48
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x2c], 0xfff0bdc0
test ecx, ecx
je 0x499dec
mov eax, dword [esi]
xor edx, edx
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x499dec
nop
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x499de0
mov dword [esp + 0x2c], edx
lea eax, [esp + 0xb0]
mov edx, edi
push eax
push dword [ebp + 8]
mov ecx, esi
push 0x76
call fcn.00499100
add esp, 0xc
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0xc]
mov edx, edi
mov ecx, esi
mov dword [esp + 0x90], eax
call fcn.00477410
test eax, eax
jne 0x49ba48
push dword [esp + 0xb0]
mov edx, edi
mov ecx, esi
call fcn.0047c0d0
add esp, 4
test eax, eax
jne 0x49ba48
mov eax, dword [esi + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0x8c], eax
lea edx, [eax + 1]
mov dword [esi + 0x28], edx
test byte [edi + 0x24], 0x20
mov dword [esp + 0x94], edx
jne 0x499e6a
mov dword [esp + 0x34], 0
jmp 0x499e75
mov ecx, edi
call fcn.00475290
mov dword [esp + 0x34], eax
mov eax, dword [edi + 8]
xor ecx, ecx
mov dword [esp + 0x84], ecx
test eax, eax
je 0x499eb2
mov edi, dword [esp + 0x10]
nop dword [eax]
cmp dword [esp + 0x34], eax
cmove edi, edx
inc edx
mov dword [esi + 0x28], edx
inc ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x499e90
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x84], ecx
mov edx, dword [ebp + 0x1c]
test edx, edx
je 0x499edd
mov ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x1c]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x10], eax
mov dword [esi + 0x28], edx
jmp 0x499ee1
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
push 0
mov dword [edx + 0x34], eax
movsx eax, word [edi + 0x2a]
add eax, ecx
lea eax, [eax*4 + 2]
add eax, ecx
mov ecx, dword [esp + 0x28]
push eax
call fcn.00431410
mov edx, eax
add esp, 8
mov dword [esp + 0x18], edx
test edx, edx
je 0x49a246
movsx eax, word [edi + 0x2a]
lea ecx, [edx + eax*4]
mov eax, dword [esp + 0x84]
mov dword [esp + 0xa0], ecx
lea ecx, [ecx + eax*4]
inc eax
push eax
push 1
push ecx
mov dword [esp + 0x74], ecx
call fcn.005889a0
mov eax, dword [esp + 0x90]
add esp, 0xc
mov ecx, dword [esp + 0x68]
mov byte [ecx + eax + 1], 0
xor eax, eax
xor ecx, ecx
cmp ax, word [edi + 0x2a]
jge 0x499f74
mov esi, dword [esp + 0x18]
nop dword [eax + eax]
mov dword [esi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [edi + 0x2a]
cmp ecx, eax
jl 0x499f60
mov esi, dword [esp + 8]
mov ecx, dword [ebp + 0x1c]
xorps xmm0, xmm0
mov eax, dword [esp + 0x6c]
xor edi, edi
movaps xmmword [esp + 0x100], xmm0
mov dword [esp + 0x104], eax
mov eax, 0x200
mov dword [esp + 0x108], ecx
mov ecx, dword [ebp + 8]
movaps xmmword [esp + 0x110], xmm0
mov word [esp + 0x118], ax
xor al, al
mov dword [esp + 0x100], esi
mov dword [esp + 0x58], eax
mov byte [esp + 0x17], al
mov dword [esp + 0x54], edi
cmp dword [ecx], edi
jle 0x49a201
lea esi, [ecx + 4]
mov dword [esp + 0x30], esi
mov edx, dword [esi]
lea ecx, [esp + 0x100]
call fcn.004667d0
test eax, eax
jne 0x49a242
mov edx, dword [esp + 0xc]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
movsx eax, word [edx + 0x2a]
test eax, eax
jle 0x49a097
mov eax, dword [edx + 4]
mov edi, dword [esi + 4]
mov dword [esp + 0x70], edi
mov dword [esp + 0x80], eax
nop
mov edx, dword [eax]
mov cl, byte [edx]
movzx eax, cl
movzx esi, byte [eax + 0x61b4e0]
movzx eax, byte [edi]
movzx eax, byte [eax + 0x61b4e0]
sub esi, eax
jne 0x49a065
sub edi, edx
nop
test cl, cl
je 0x49a05d
mov al, byte [edx + 1]
inc edx
mov byte [esp + 0x4b], al
movzx eax, byte [edx + edi]
movzx ecx, byte [eax + 0x61b4e0]
movzx eax, byte [esp + 0x4b]
movzx esi, byte [eax + 0x61b4e0]
sub esi, ecx
mov cl, byte [esp + 0x4b]
je 0x49a030
jmp 0x49a061
test esi, esi
je 0x49a0dd
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x80]
inc ecx
add eax, 0x10
mov dword [esp + 0x1c], ecx
movsx edx, word [esi + 0x2a]
mov dword [esp + 0x80], eax
cmp ecx, edx
jl 0x49a010
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0xc]
movsx eax, word [edx + 0x2a]
cmp ecx, eax
jl 0x49a14c
cmp dword [esp + 0x34], 0
jne 0x49a222
mov ecx, dword [esi + 4]
call fcn.004696c0
test eax, eax
je 0x49a222
mov eax, dword [esi]
or edi, 0xffffffff
mov dword [esp + 0x1c], edi
mov edx, str.ROWID
mov byte [esp + 0x17], 1
mov dword [esp + 0xac], eax
jmp 0x49a15f
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
movsx eax, word [edx + 0x28]
cmp ecx, eax
jne 0x49a10c
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x54]
mov byte [esp + 0x17], 1
mov eax, dword [esi]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x18]
mov dword [eax + ecx*4], edi
jmp 0x49a097
cmp dword [esp + 0x34], 0
je 0x49a138
mov esi, edx
mov eax, ecx
add eax, eax
mov edx, dword [esi + 4]
test byte [edx + eax*8 + 0xf], 1
mov edx, 1
mov eax, dword [esp + 0x58]
movzx eax, al
cmovne eax, edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4], edi
jmp 0x49a097
test ecx, ecx
jns 0x49a157
mov edx, str.ROWID
jmp 0x49a15f
mov eax, dword [edx + 4]
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
add ecx, ecx
mov eax, dword [eax + 0x10]
mov esi, dword [eax + ecx*8]
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
cmp byte [eax + 0xa5], 0
jne 0x49a1da
cmp byte [ecx + 0xc4], 0
jne 0x49a1da
mov ecx, dword [eax + 0x138]
test ecx, ecx
je 0x49a1da
mov edi, dword [esp + 8]
push dword [edi + 0xec]
push esi
push edx
mov edx, dword [esp + 0x18]
push dword [edx]
push 0x17
push dword [eax + 0x13c]
call ecx
mov edi, dword [esp + 0x34]
add esp, 0x18
cmp eax, 1
je 0x49a2a6
test eax, eax
je 0x49a1ca
cmp eax, 2
jne 0x49a28b
cmp eax, 2
jne 0x49a1da
mov eax, dword [esp + 0x18]
mov dword [eax + edi*4], 0xffffffff
mov edi, dword [esp + 0x54]
mov ecx, dword [ebp + 8]
inc edi
mov esi, dword [esp + 0x30]
add esi, 0x18
mov dword [esp + 0x54], edi
mov dword [esp + 0x30], esi
cmp edi, dword [ecx]
jl 0x499fd2
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0xc]
add al, byte [esp + 0x17]
mov byte [esp + 0x30], al
cmp dword [edx + 0x38], 0
je 0x49a2c1
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x49a2d2
mov ecx, dword [ebp + 8]
lea eax, [edi + edi*2]
mov esi, dword [esp + 8]
push dword [ecx + eax*8 + 8]
push str.no_such_column:__s
push esi
call fcn.00434450
add esp, 0xc
mov byte [esi + 0x11], 1
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0xbc]
test ecx, ecx
je 0x49a262
mov eax, dword [esp + 0xb8]
mov dword [ecx + 0xec], eax
test edx, edx
je 0x49bace
test edi, edi
je 0x49ba6f
cmp dword [edi + 0x1e0], 0
je 0x49ba4f
mov ecx, edi
call fcn.00431090
jmp 0x49bace
mov esi, dword [esp + 8]
push str.authorizer_malfunction
push esi
call fcn.00434450
add esp, 8
mov dword [esi + 0xc], 1
jmp 0x49a242
mov esi, dword [esp + 8]
push str.not_authorized
push esi
call fcn.00434450
add esp, 8
mov dword [esi + 0xc], 0x17
jmp 0x49a242
xorps xmm0, xmm0
movlpd qword [esp + 0x70], xmm0
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov dword [edi + 0x40], eax
movzx eax, byte [esp + 0x30]
push eax
push dword [esp + 0x1c]
mov dword [edi + 0x44], ecx
mov ecx, esi
mov dword [esp + 0x88], eax
call fcn.00482560
add esp, 8
mov edx, eax
cmp dword [ebp + 0x10], 5
mov ecx, 1
mov eax, dword [esp + 0x60]
cmove eax, ecx
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0xc]
xor edi, edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x1c], edi
mov esi, dword [ecx + 8]
test esi, esi
je 0x49a4b1
nop word [eax + eax]
cmp byte [esp + 0x30], 0
jne 0x49a6af
cmp edx, 1
jg 0x49a6af
cmp esi, dword [esp + 0x34]
je 0x49a6af
mov edx, dword [esi + 0x24]
test edx, edx
je 0x49a3be
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xc0]
xorps xmm0, xmm0
mov dword [esp + 0xd8], 0
movaps xmmword [esp + 0xc0], xmm0
movq qword [esp + 0xd0], xmm0
mov byte [esp + 0xd4], 0
mov dword [esp + 0xc4], 0x484c10
mov dword [esp + 0xd8], eax
call fcn.00464310
cmp byte [esp + 0x17], 0
mov cl, byte [esp + 0xd4]
jne 0x49a3af
and cl, 0xfd
xor eax, eax
test cl, cl
setne al
test eax, eax
jne 0x49a6af
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [esp + 0x38], ecx
cmp ax, word [esi + 0x32]
jae 0x49a482
mov dword [esp + 0x70], ecx
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x49a3f1
mov edx, dword [esp + 0x18]
cwde
mov eax, dword [edx + eax*4]
not eax
shr eax, 0x1f
jmp 0x49a462
mov eax, dword [esi + 0x28]
xorps xmm0, xmm0
movaps xmmword [esp + 0xe0], xmm0
movq qword [esp + 0xf0], xmm0
mov dword [esp + 0xf8], 0
mov edx, dword [eax + ecx + 4]
xor cl, cl
mov eax, dword [esp + 0x18]
mov byte [esp + 0xf4], cl
mov dword [esp + 0xe4], 0x484c10
mov dword [esp + 0xf8], eax
test edx, edx
je 0x49a44d
lea ecx, [esp + 0xe0]
call fcn.00464310
mov cl, byte [esp + 0xf4]
cmp byte [esp + 0x17], 0
jne 0x49a457
and cl, 0xfd
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x70]
setne al
test eax, eax
jne 0x49a682
movzx eax, word [esi + 0x32]
inc edi
add ecx, 0x18
mov dword [esp + 0x70], ecx
cmp edi, eax
jl 0x49a3d6
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov byte [edi + eax + 1], 0
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x4c]
mov dword [eax + edi*4], ecx
inc edi
mov esi, dword [esi + 0x14]
mov dword [esp + 0x1c], edi
test esi, esi
jne 0x49a330
mov eax, dword [esp + 0x60]
test eax, eax
je 0x49a4cc
mov eax, dword [esp + 0x84]
inc eax
push eax
push 1
push dword [esp + 0x70]
call fcn.005889a0
add esp, 0xc
mov ecx, dword [esp + 8]
mov edi, dword [ecx + 8]
mov dword [esp + 0x54], edi
test edi, edi
jne 0x49a503
cmp dword [ecx + 0x74], edi
jne 0x49a4ec
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x49a4ec
mov byte [ecx + 0x17], 1
call fcn.00451860
mov ecx, dword [esp + 8]
mov edi, eax
mov dword [esp + 0x54], edi
test edi, edi
je 0x49a242
cmp byte [ecx + 0x12], 0
jne 0x49a510
or dword [edi + 0x98], 0x20
cmp dword [esp + 0x44], 0
jne 0x49a526
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x70], 0
je 0x49a52e
mov dword [esp + 0x70], 1
mov eax, dword [ecx + 0x74]
mov edx, ecx
test eax, eax
mov esi, ecx
mov ecx, dword [esp + 0x2c]
cmovne edx, eax
cmovne esi, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edx + 0x54]
test ecx, eax
jne 0x49a565
mov eax, dword [esp + 0x2c]
bts ecx, eax
mov dword [edx + 0x54], ecx
cmp eax, 1
jne 0x49a565
mov ecx, edx
call fcn.0047a710
mov eax, dword [esi + 0x50]
mov ecx, dword [esp + 0x2c]
bts eax, ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x70]
or byte [esi + 0x14], al
cmp dword [ecx + 0x38], 0
mov esi, dword [esp + 8]
jne 0x49a5f8
mov eax, dword [esi + 0x2c]
inc eax
cmp byte [esp + 0x58], 0
mov dword [esp + 0x88], eax
lea edx, [eax + 1]
mov dword [esp + 0x40], edx
mov dword [esi + 0x2c], edx
mov dword [esp + 0x20], edx
jne 0x49a5b6
cmp dword [esp + 0x44], 0
jne 0x49a5b6
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x49a5ca
lea eax, [edx + 1]
mov dword [esp + 0x64], eax
movsx eax, word [ecx + 0x2a]
add eax, edx
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x4c]
cmp byte [esp + 0x30], 0
jne 0x49a5dc
cmp dword [esp + 0x44], 0
jne 0x49a5dc
test eax, eax
je 0x49a5e6
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esp + 0x98], eax
movsx eax, word [ecx + 0x2a]
add dword [esi + 0x2c], eax
mov edx, dword [esp + 0x90]
test edx, edx
je 0x49a637
push dword [esp + 0x10]
mov eax, dword [esi + 0xec]
mov edx, dword [ebp + 0xc]
push 0
push 0
mov dword [esp + 0xc4], eax
mov eax, dword [ecx]
push edx
mov edx, ecx
mov dword [esp + 0xcc], esi
mov ecx, esi
mov dword [esi + 0xec], eax
call fcn.0047c120
add esp, 0x10
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x100]
call fcn.004667d0
test eax, eax
jne 0x49a242
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x38], 0
je 0x49a6cf
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
push dword [esp + 0x20]
mov edx, dword [esp + 0x78]
push dword [esp + 0xb8]
push ecx
push eax
mov ecx, esi
call fcn.0049bb00
add esp, 0x18
jmp 0x49a242
mov edx, dword [esp + 8]
mov edi, dword [esp + 0x1c]
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 0x49a6c2
cmp byte [esi + 0x36], 5
jne 0x49a6c2
mov dword [esp + 0x60], 1
jmp 0x49a6c2
mov edx, dword [esp + 8]
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 0x49a48f
jmp 0x49a486
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
je 0x49a71f
cmp dword [esi + 0x78], 0
jne 0x49a71f
cmp byte [esi + 0x12], 0
jne 0x49a71f
cmp dword [ebp + 0x1c], 0
jne 0x49a71f
inc dword [esi + 0x2c]
mov edx, 0x46
mov eax, dword [esi + 0x2c]
mov ecx, edi
push eax
push 0
mov dword [esp + 0xbc], eax
call fcn.00451c90
add esp, 8
mov eax, dword [esp + 0xc]
test byte [eax + 0x24], 0x20
jne 0x49a810
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49a753
push dword [esp + 0x20]
mov edx, 0x49
mov ecx, edi
push dword [esp + 0x8c]
push 0
call fcn.00451b20
add esp, 0xc
jmp 0x49a789
mov edx, dword [esp + 0x88]
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], edx
mov edx, dword [esp + 0x20]
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
cmp dword [ebp + 0x1c], 0
je 0x49a901
mov ecx, dword [esp + 8]
push 0x10
push dword [esp + 0x20]
mov esi, 1
mov dword [esp + 0x78], 0
push dword [ebp + 0xc]
mov dword [esp + 0x38], esi
push ecx
call fcn.0046dc20
mov eax, dword [esp + 0xcc]
add esp, 0x10
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test byte [ecx + 0x24], 0x20
jne 0x49aa1d
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49a9c6
push 0
push dword [esp + 0x24]
mov edx, 0x80
mov ecx, edi
push eax
call fcn.00451b20
mov edx, dword [esp + 0x2c]
add esp, 0xc
jmp 0x49a9f9
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 8]
mov edx, dword [esi + 0x2c]
inc edx
movzx eax, word [eax + 0x32]
mov dword [esp + 0x7c], eax
movsx esi, ax
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [esp + 0x28], edx
add eax, esi
cmp dword [ebp + 0x1c], 0
mov dword [esp + 0x3c], eax
mov dword [ecx + 0x2c], eax
jne 0x49a797
mov eax, dword [ecx + 0x28]
dec edx
mov dword [esp + 0x5c], eax
add edx, esi
inc eax
mov dword [ecx + 0x28], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49a870
push edx
push dword [esp + 0x2c]
mov edx, 0x49
mov ecx, edi
push 0
call fcn.00451b20
add esp, 0xc
jmp 0x49a8a3
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x54]
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
push esi
push dword [esp + 0x60]
mov edx, 0x71
mov ecx, edi
call fcn.00451c90
mov edx, dword [esp + 0x3c]
add esp, 8
mov dword [esp + 0x78], eax
mov eax, dword [esp + 8]
mov ecx, eax
mov esi, dword [eax + 8]
call fcn.0047b0b0
mov edx, eax
test edx, edx
je 0x49a8fd
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x49a8eb
push edx
mov edx, 0xfffffff7
call fcn.00452860
add esp, 4
jmp 0x49a8fd
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 esi, dword [esp + 8]
cmp byte [esi + 0x12], 0
mov eax, 0x1004
jne 0x49a92e
cmp dword [esp + 0x44], 0
jne 0x49a92e
cmp dword [esp + 0x4c], 0
jne 0x49a92e
cmp byte [esp + 0x30], 0
jne 0x49a92e
cmp dword [esp + 0x60], 0
mov ecx, 0x100c
cmove eax, ecx
push dword [esp + 0x94]
mov edx, dword [esp + 0x70]
mov ecx, esi
push eax
push 0
push 0
push dword [ebp + 0xc]
call fcn.004aa0e0
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x70], ecx
test ecx, ecx
je 0x49a242
movzx esi, byte [ecx + 0x31]
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x38], eax
mov dword [esp + 0xa8], edx
mov dword [esp + 0x2c], esi
cmp esi, 1
je 0x49a7d3
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x10]
mov byte [ecx + 0x14], 1
cmp esi, 2
jne 0x49a7d7
test edx, edx
js 0x49a7d7
cmp edx, eax
je 0x49a7d7
mov ecx, dword [esp + 0x68]
mov eax, edx
sub eax, dword [esp + 0x8c]
xor edx, edx
cmp byte [eax + ecx], dl
cmovne esi, edx
mov dword [esp + 0x2c], esi
jmp 0x49a7d3
mov edx, 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], edx
mov edx, dword [esp + 0x20]
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 0x49ab5f
push edx
push dword [esp + 0x8c]
mov edx, 0x94
mov ecx, edi
call fcn.00451c90
add esp, 8
jmp 0x49ab5f
mov eax, dword [esp + 0x7c]
xor esi, esi
cwde
test eax, eax
jle 0x49aa5e
mov eax, dword [esp + 0x28]
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 + 0x18]
call fcn.0046c080
mov ecx, dword [esp + 0x88]
inc esi
movsx eax, cx
add esp, 0xc
mov ecx, dword [esp + 0xc]
cmp esi, eax
jl 0x49aa28
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x49aaba
mov eax, dword [esp + 0x78]
test eax, eax
je 0x49aa9f
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
jne 0x49aa9f
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.00452860
mov word [esi], 0xaa
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x7c]
movsx eax, cx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
jmp 0x49ab5f
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
call fcn.00483180
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x78], eax
cmp dword [edi + 0x70], edx
jg 0x49aaf9
push dword [esp + 0x3c]
mov eax, dword [esp + 0x80]
mov edx, 0x66
movsx esi, ax
mov ecx, edi
push esi
push dword [esp + 0x30]
call fcn.00451b20
add esp, 0xc
mov edx, eax
jmp 0x49ab33
mov esi, dword [esp + 0x28]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x7c]
mov dword [eax + ecx*4 + 4], esi
movsx esi, di
mov edi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x66
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0x10], 0
push esi
push dword [esp + 0x7c]
mov ecx, edi
call fcn.00452b20
push esi
push dword [esp + 0x34]
mov edx, 0x84
mov ecx, edi
push dword [esp + 0x4c]
push dword [esp + 0x70]
call fcn.00452200
mov esi, dword [esp + 0x44]
add esp, 0x18
cmp dword [ebp + 0x1c], 0
jne 0x49aea6
cmp esi, 2
je 0x49ab77
mov ecx, dword [esp + 0x70]
call fcn.004aabc0
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x49ac4c
mov edx, dword [esp + 0x2c]
xor esi, esi
test edx, edx
je 0x49abc9
mov eax, dword [esp + 0x38]
test eax, eax
js 0x49aba7
sub eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x68]
mov byte [eax + ecx], 0
mov ecx, dword [esp + 0xa8]
test ecx, ecx
js 0x49abd0
mov edi, dword [esp + 0x68]
mov eax, ecx
sub eax, dword [esp + 0x8c]
mov byte [eax + edi], 0
mov edi, dword [esp + 0x54]
jmp 0x49abd0
mov ecx, dword [esp + 0xa8]
cmp edx, 2
jne 0x49abf7
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x84]
setns al
sub ecx, eax
test ecx, ecx
jle 0x49abf7
mov edx, 0x11
mov ecx, edi
call fcn.00451bd0
mov esi, eax
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push 0
push 0
push dword [esp + 0x70]
push dword [esp + 0x98]
push 0
push 0x6e
call fcn.00486740
add esp, 0x18
test esi, esi
je 0x49ac41
mov edx, dword [edi + 0x6c]
jns 0x49ac26
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x49ac35
mov eax, 0x6562ec
jmp 0x49ac3e
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x49acfa
test eax, eax
jne 0x49ac8a
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x38], eax
je 0x49ac8a
cmp dword [esp + 0xa8], eax
je 0x49ac8a
push dword [esp + 0x9c]
mov edx, 0x1c
mov ecx, edi
push dword [esp + 0x40]
push dword [esp + 0x24]
push eax
call fcn.00452200
add esp, 0x10
cmp esi, 1
je 0x49ac9d
mov eax, dword [esp + 8]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x50], eax
cmp dword [esp + 0x34], 0
mov edx, dword [esp + 0x20]
cmovne edx, dword [esp + 0x3c]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49acce
push 0
push dword [esp + 0x20]
mov ecx, edi
push edx
mov edx, 0x32
call fcn.00451b20
add esp, 0xc
jmp 0x49aea6
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], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
jmp 0x49ae9e
cmp dword [esp + 0x34], 0
je 0x49adec
mov eax, dword [esp + 8]
dec dword [eax + 0x38]
mov ecx, dword [edi + 0x6c]
mov esi, dword [eax + 0x38]
mov dword [esp + 0x50], esi
cmp dword [edi + 0x70], ecx
jg 0x49ad36
push 0
push dword [esp + 0x20]
mov edx, 0x24
mov ecx, edi
push dword [esp + 0x64]
call fcn.00451b20
add esp, 0xc
jmp 0x49ad69
mov edx, dword [esp + 0x5c]
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], 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 + 0xa4], ecx
cmp dword [edi + 0x70], ecx
jg 0x49ad9a
push 0
push dword [esp + 0x40]
mov edx, 0x7f
mov ecx, edi
push dword [esp + 0x64]
call fcn.00451b20
add esp, 0xc
mov dword [esp + 0xa4], eax
jmp 0x49adcd
mov edx, dword [esp + 0x5c]
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], 0x7f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0
push dword [esp + 0x40]
mov edx, 0x1c
mov ecx, edi
push esi
push dword [esp + 0x1c]
call fcn.00452200
add esp, 0x10
jmp 0x49aea6
mov esi, dword [edi + 0x6c]
mov dword [esp + 0x50], esi
cmp dword [edi + 0x70], esi
jg 0x49ae22
push dword [esp + 0x20]
mov edx, 0x29
mov ecx, edi
push dword [esp + 0x20]
push dword [esp + 0x90]
call fcn.00451b20
mov edx, dword [esp + 0x2c]
mov esi, eax
add esp, 0xc
mov dword [esp + 0x50], esi
jmp 0x49ae58
mov edx, dword [esp + 0x88]
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 + 0x1c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
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 0x49ae77
push edx
push esi
push dword [esp + 0x18]
mov edx, 0x1f
mov ecx, edi
call fcn.00451b20
add esp, 0xc
jmp 0x49aea6
mov edx, 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], edx
mov edx, dword [esp + 0x20]
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 + 0x17], 0
je 0x49afa0
mov eax, dword [esp + 0xac]
test eax, eax
je 0x49af1c
cmp byte [eax], 0xa4
jne 0x49af1c
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 8]
mov esi, dword [eax + 8]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49aeeb
push 0
push dword [esp + 0x44]
mov ecx, esi
push edx
mov edx, 0x4e
call fcn.00451b20
add esp, 0xc
jmp 0x49af4f
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
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
jmp 0x49af53
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 8]
mov ecx, esi
push edx
mov edx, eax
call fcn.0046c340
mov edx, dword [esp + 0x44]
add esp, 4
cmp eax, edx
je 0x49af53
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x49af53
push edx
push eax
mov edx, 0x4f
call fcn.00451c90
add esp, 8
mov edx, dword [esp + 0x40]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49af71
push 0
push 0
push edx
mov edx, 0xf
mov ecx, edi
call fcn.00451b20
add esp, 0xc
jmp 0x49afa0
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 + 0x58], 0
jne 0x49b058
cmp dword [esp + 0x4c], 0
jne 0x49b063
mov edx, dword [esp + 0x44]
test edx, edx
je 0x49b14f
xor eax, eax
push dword [ebp + 0x10]
mov edx, dword [esp + 0x48]
push dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
push 3
push 0
push dword [ebp + 8]
mov dword [esp + 0x6c], eax
call fcn.00499b60
mov edx, dword [esp + 0x6c]
xor ecx, ecx
or edx, eax
add esp, 0x14
mov eax, dword [esp + 0xc]
xor esi, esi
mov dword [esp + 0x58], edx
cmp cx, word [eax + 0x2a]
jge 0x49b0e7
mov dword [esp + 0x38], ecx
cmp edx, 0xffffffff
je 0x49b0ad
cmp esi, 0x20
jge 0x49b029
mov eax, 1
mov ecx, esi
shl eax, cl
test edx, eax
jne 0x49b0ad
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xf], 1
jne 0x49b0ad
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49b075
mov eax, dword [esp + 0x64]
mov edx, 0x49
push 0
add eax, esi
mov ecx, edi
push eax
push 0
call fcn.00451b20
jmp 0x49b0c4
cmp dword [esp + 0x4c], 0
je 0x49afc2
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
call fcn.00482470
jmp 0x49afc4
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 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x64]
add eax, esi
mov dword [ecx + 0x10], 0
mov dword [ecx + 8], eax
jmp 0x49b0cb
mov eax, dword [esp + 0x64]
mov ecx, edi
mov edx, dword [esp + 0xc]
add eax, esi
push eax
push esi
push dword [esp + 0x18]
call fcn.0046c080
mov edx, dword [esp + 0x64]
add esp, 0xc
mov eax, dword [esp + 0xc]
inc esi
mov ecx, dword [esp + 0x38]
add ecx, 0x10
mov dword [esp + 0x38], ecx
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x49b006
cmp byte [esp + 0x17], 0
jne 0x49b14b
cmp dword [esp + 0x34], 0
jne 0x49b14b
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49b118
push 0
push dword [esp + 0x44]
mov edx, 0x4e
mov ecx, edi
push dword [esp + 0x28]
call fcn.00451b20
add esp, 0xc
jmp 0x49b14b
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 + 0x40]
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
mov edx, dword [esp + 0x44]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0xc]
push dword [esp + 0x10]
push 1
push 1
push dword [ebp + 8]
call fcn.00499b60
mov edx, eax
xor ecx, ecx
mov eax, dword [esp + 0x20]
xor esi, esi
add esp, 0x14
mov dword [esp + 0x28], edx
mov dword [esp + 0x78], ecx
cmp si, word [eax + 0x2a]
jge 0x49b351
mov esi, dword [esp + 0x98]
nop dword [eax]
movsx eax, word [eax + 0x28]
cmp ecx, eax
jne 0x49b1ee
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49b1b6
push 0
push esi
push 0
mov edx, 0x49
mov ecx, edi
call fcn.00451b20
jmp 0x49b32c
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x49b333
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ecx*4]
test eax, eax
js 0x49b2d2
mov ecx, dword [ebp + 8]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*8 + 4]
test edx, edx
je 0x49b275
cmp byte [edx], 0xa4
jne 0x49b275
mov ecx, dword [esp + 8]
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x64], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], edx
jg 0x49b23d
push 0
push esi
push eax
mov edx, 0x4e
call fcn.00451b20
jmp 0x49b32c
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x4e
mov edx, dword [esp + 0x64]
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
jmp 0x49b32f
mov ecx, dword [esp + 8]
push esi
call fcn.0046c340
add esp, 4
mov dword [esp + 0x64], eax
cmp eax, esi
je 0x49b32f
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x49b32f
mov edx, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], edx
jg 0x49b2b9
push 0
push esi
push eax
mov edx, 0x4f
call fcn.00451b20
jmp 0x49b32c
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x4f
jmp 0x49b254
test dword [esp + 0xb0], 1
je 0x49b31b
cmp ecx, 0x1f
jg 0x49b31b
mov eax, 1
shl eax, cl
test edx, eax
jne 0x49b31b
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jle 0x49b1a0
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
jmp 0x49b25c
mov edx, dword [esp + 0xc]
push esi
push ecx
push dword [esp + 0x18]
mov ecx, edi
call fcn.0046c080
add esp, 0xc
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
inc esi
mov ecx, dword [esp + 0x78]
inc ecx
mov dword [esp + 0x78], ecx
movsx eax, word [eax + 0x2a]
cmp ecx, eax
mov eax, dword [esp + 0xc]
jl 0x49b190
test byte [esp + 0xb0], 1
je 0x49b4fa
push dword [esp + 0x98]
mov edx, eax
mov ecx, edi
call fcn.00483260
mov eax, dword [esp + 0x48]
add esp, 4
mov esi, eax
test eax, eax
je 0x49b3c0
mov edi, dword [esp + 0x50]
cmp byte [esi + 8], 0x76
jne 0x49b3b5
cmp byte [esi + 9], 1
jne 0x49b3b5
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 0x10]
call fcn.00499010
test eax, eax
je 0x49b3b5
mov ecx, dword [esp + 8]
mov edx, esi
push edi
push dword [ebp + 0x10]
push dword [esp + 0x28]
push dword [esp + 0x18]
call fcn.00499a10
add esp, 0x10
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x49b380
mov edi, dword [esp + 0x54]
cmp dword [esp + 0x34], 0
je 0x49b49d
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x49b3f2
push dword [esp + 0x3c]
mov edx, 0x1c
mov ecx, edi
push dword [esp + 0x54]
push dword [esp + 0x18]
call fcn.00451b20
add esp, 0xc
mov edx, eax
jmp 0x49b425
mov esi, dword [esp + 0x10]
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 + 0x50]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x3c]
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 0x49b443
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x9c]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
xor eax, eax
xor esi, esi
cmp ax, word [ecx + 0x2a]
jge 0x49b4fe
nop dword [eax]
mov eax, dword [esp + 0x18]
cmp dword [eax + esi*4], 0
jge 0x49b48e
movsx eax, word [ecx + 0x28]
cmp esi, eax
je 0x49b48e
mov eax, dword [esp + 0x98]
add eax, esi
push eax
push esi
push edx
mov edx, ecx
mov ecx, edi
call fcn.0046c080
mov ecx, dword [esp + 0x18]
add esp, 0xc
movsx eax, word [ecx + 0x2a]
inc esi
mov edx, dword [esp + 0x10]
cmp esi, eax
jl 0x49b460
jmp 0x49b4fe
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49b4c2
push dword [esp + 0x20]
mov edx, 0x1f
mov ecx, edi
push dword [esp + 0x54]
push dword [esp + 0x18]
call fcn.00451b20
add esp, 0xc
jmp 0x49b443
mov esi, dword [esp + 0x50]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x10]
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 + 0x20]
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 0x49b447
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0x90], 0
jne 0x49b79b
xor esi, esi
lea eax, [esp + 0x60]
push esi
push dword [esp + 0x1c]
mov edx, ecx
mov ecx, dword [esp + 0x10]
push eax
push dword [esp + 0x5c]
push dword [ebp + 0x10]
push dword [esp + 0x44]
push dword [esp + 0x38]
push dword [esp + 0x5c]
push dword [esp + 0xb4]
push dword [esp + 0x34]
push dword [esp + 0xc8]
call fcn.00484c50
add esp, 0x2c
cmp dword [esp + 0x4c], esi
je 0x49b571
push dword [esp + 0x80]
mov edx, dword [esp + 0x10]
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push esi
push dword [esp + 0x2c]
call fcn.00481e10
add esp, 0x10
cmp dword [esp + 0x60], esi
jne 0x49b582
cmp byte [esp + 0x30], 0
je 0x49b655
cmp dword [esp + 0x34], esi
mov esi, dword [edi + 0x6c]
je 0x49b600
cmp dword [edi + 0x70], esi
jg 0x49b5ad
push dword [esp + 0x3c]
mov edx, 0x1c
mov ecx, edi
push 0
push dword [esp + 0x18]
call fcn.00451b20
add esp, 0xc
mov esi, eax
jmp 0x49b5e0
mov edx, dword [esp + 0x10]
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], 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 0x49b655
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
mov edx, dword [esp + 0x9c]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x49b655
cmp dword [edi + 0x70], esi
jg 0x49b622
push dword [esp + 0x20]
mov edx, 0x1f
mov ecx, edi
push 0
push dword [esp + 0x18]
call fcn.00451b20
add esp, 0xc
mov esi, eax
jmp 0x49b655
mov edx, dword [esp + 0x10]
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 + 0x20]
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 + 0xc]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
push dword [esp + 0xa4]
push dword [esp + 0x9c]
push dword [esp + 0x1c]
call fcn.0047d060
add esp, 0x10
cmp dword [esp + 0x4c], 1
jg 0x49b688
mov al, byte [esp + 0x30]
test al, al
je 0x49b6e0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49b6a9
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x7b
mov ecx, edi
call fcn.00451b20
add esp, 0xc
jmp 0x49b6dc
mov edx, 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], 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 + 0x30]
cmp dword [esp + 0x60], 0
jne 0x49b6eb
test al, al
je 0x49b710
mov edx, dword [edi + 0x6c]
test esi, esi
jns 0x49b6f5
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x49b704
mov eax, 0x6562ec
jmp 0x49b70d
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp dword [esp + 0x4c], 0
mov esi, dword [esp + 8]
je 0x49b73a
push dword [esp + 0x80]
mov edx, dword [esp + 0x10]
mov ecx, esi
push dword [esp + 0x1c]
push dword [esp + 0x48]
push 0
call fcn.00481e10
add esp, 0x10
mov edx, dword [esp + 0xc]
xor eax, eax
cmp dword [esp + 0x2c], 2
mov ecx, esi
push 0
sete al
push 0
lea eax, [eax*2 + 4]
push eax
push dword [esp + 0xac]
push dword [esp + 0x50]
push dword [esp + 0xa8]
push dword [esp + 0x28]
call fcn.004863f0
add esp, 0x1c
cmp dword [esp + 0x4c], 0
je 0x49b79b
push dword [esp + 0x80]
mov edx, dword [esp + 0x10]
mov ecx, esi
push dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [ebp + 8]
call fcn.00482e90
add esp, 0x10
mov edx, dword [esp + 0xb4]
test edx, edx
je 0x49b7f3
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49b7c4
push 0
push 1
push edx
mov edx, 0x53
mov ecx, edi
call fcn.00451b20
add esp, 0xc
jmp 0x49b7f3
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 + 0x50]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 8]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x28]
push dword [esp + 0x18]
push 2
push dword [ebp + 8]
push 0x76
call fcn.00499af0
mov eax, dword [esp + 0x48]
add esp, 0x1c
cmp eax, 1
je 0x49b92f
cmp eax, 2
jne 0x49b869
mov ecx, dword [edi + 0xc]
not esi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49b852
push esi
mov edx, edi
call fcn.00452300
mov ecx, dword [esp + 0x74]
add esp, 4
call fcn.004aabc0
jmp 0x49b92f
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + esi*4], eax
mov ecx, dword [esp + 0x70]
call fcn.004aabc0
jmp 0x49b92f
cmp dword [esp + 0x34], 0
je 0x49b8e2
mov ecx, dword [edi + 0xc]
not esi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49b88a
push esi
mov edx, edi
call fcn.00452300
add esp, 4
jmp 0x49b893
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 0x49b8ba
mov edx, dword [esp + 0xa4]
mov ecx, edi
push 0
push edx
push dword [esp + 0x64]
mov edx, 5
call fcn.00451b20
add esp, 0xc
jmp 0x49b92f
mov edx, dword [esp + 0x5c]
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 + 0xa4]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
jmp 0x49b91f
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49b900
push 0
push esi
push 0
mov edx, 0xb
mov ecx, edi
call fcn.00451b20
add esp, 0xc
jmp 0x49b92f
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 + 0x1c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49b94d
push edx
mov edx, edi
call fcn.00452300
add esp, 4
jmp 0x49b956
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 8]
cmp byte [eax + 0x12], 0
jne 0x49b979
cmp dword [eax + 0x78], 0
jne 0x49b979
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
jne 0x49b979
cmp dword [eax + 0x70], ecx
je 0x49b979
mov ecx, eax
call fcn.004836b0
mov edx, dword [esp + 0xb4]
test edx, edx
je 0x49a242
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49b9a6
push 0
push 1
push edx
mov edx, 0x51
mov ecx, edi
call fcn.00451b20
add esp, 0xc
jmp 0x49b9d5
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.00453cf0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x49a242
mov esi, dword [edi + 0x74]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x49b9fc
mov eax, dword [eax + 0x6c]
jmp 0x49ba01
mov eax, 0x3b9aca00
mov edi, 0xc
cmp eax, edi
jge 0x49ba0d
lea edi, [eax + 1]
mov eax, 0x2400
test word [esi + 8], ax
jne 0x49ba1e
cmp dword [esi + 0x18], 0
je 0x49ba25
mov ecx, esi
call fcn.004506e0
mov eax, 0xa02
mov dword [esi + 0x10], str.rows_updated
mov dword [esi + 0x24], 0
mov dword [esi + 0xc], edi
mov word [esi + 8], ax
mov byte [esi + 0xa], 1
jmp 0x49a242
xor edx, edx
jmp 0x49a246
cmp edx, dword [edi + 0x130]
jb 0x49ba6f
cmp edx, dword [edi + 0x134]
jae 0x49ba6f
mov eax, dword [edi + 0x12c]
mov dword [edx], eax
mov dword [edi + 0x12c], edx
jmp 0x49bace
cmp dword [0x64a418], 0
je 0x49bac4
mov eax, dword [0x656138]
test eax, eax
je 0x49ba8f
push eax
call dword [0x64a474]
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call dword [0x64a450]
sub dword [0x656170], eax
add esp, 4
dec dword [0x656194]
push dword [esp + 0x18]
call dword [0x64a448]
mov eax, dword [0x656138]
add esp, 4
test eax, eax
je 0x49bace
push eax
call dword [0x64a47c]
jmp 0x49bacb
push edx
call dword [0x64a448]
add esp, 4
mov edx, dword [esp + 0x6c]
mov ecx, edi
call fcn.00479ff0
mov eax, dword [ebp + 8]
test eax, eax
je 0x49bae9
mov edx, eax
mov ecx, edi
call fcn.00469000
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x49baf9
mov edx, eax
mov ecx, edi
call fcn.00467ec0
pop edi
pop esi
mov esp, ebp
pop ebp
ret