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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
xor eax, eax
mov dword [esp + 0x58], edx
push esi
mov esi, ecx
mov dword [esp + 0xb8], 0
xorps xmm0, xmm0
mov dword [esp + 0xc], esi
push edi
mov edi, dword [ebp + 0xc]
mov edx, dword [esi]
mov dword [esp + 0xa0], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x3c], eax
movlpd qword [esp + 0xc4], xmm0
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x24], eax
jne 0x4e291d
cmp byte [edx + 0x51], al
jne 0x4e291d
mov edx, dword [esp + 0x60]
call fcn.004c4c50
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x4e28d7
mov edx, dword [edi + 0x48]
mov ecx, dword [esi]
call fcn.004d48e0
mov dword [esp + 0x64], eax
mov edx, edi
lea eax, [esp + 0xb4]
mov ecx, esi
push eax
push dword [ebp + 8]
push 0x7a
call fcn.004e0410
add esp, 0xc
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0xc]
mov edx, edi
mov ecx, esi
mov dword [esp + 0x80], eax
call fcn.004c0910
test eax, eax
jne 0x4e28d7
push dword [esp + 0xb4]
mov edx, edi
mov ecx, esi
call fcn.004c4ce0
add esp, 4
test eax, eax
jne 0x4e28d7
mov eax, dword [esi + 0x28]
mov dword [esp + 0x14], eax
mov dword [esp + 0x88], eax
lea ecx, [eax + 1]
mov dword [esi + 0x28], ecx
test byte [edi + 0x24], 0x20
mov dword [esp + 0x84], ecx
jne 0x4e107b
mov dword [esp + 0x34], 0
jmp 0x4e108a
mov ecx, edi
call fcn.004be900
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 8]
xor edx, edx
mov dword [esp + 0x70], edx
test ecx, ecx
je 0x4e10cf
mov edx, dword [esp + 0x84]
xor edi, edi
cmp dword [esp + 0x34], ecx
mov eax, edx
mov esi, dword [esp + 0x10]
cmovne eax, dword [esp + 0x14]
inc edx
inc edi
mov dword [esp + 0x14], eax
mov dword [esi + 0x28], edx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4e10a0
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x4e10f5
mov edx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x14], eax
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x60]
push 0
mov dword [ecx + 0x34], eax
movsx eax, word [edi + 0x2a]
mov ecx, dword [esp + 0x30]
add eax, edx
lea eax, [eax*4 + 6]
add eax, edx
push eax
call fcn.0047ddb0
mov ecx, eax
add esp, 8
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x4e28d7
movsx eax, word [edi + 0x2a]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x78], ecx
lea ecx, [ecx + eax*4]
inc eax
push eax
add ecx, 4
push 1
push ecx
mov dword [esp + 0x80], ecx
call fcn.00574370
mov eax, dword [esp + 0x7c]
add esp, 0xc
mov ecx, dword [esp + 0x74]
mov byte [ecx + eax + 1], 0
xor eax, eax
xor ecx, ecx
cmp ax, word [edi + 0x2a]
jge 0x4e1184
mov esi, dword [esp + 0x28]
nop dword [eax]
mov dword [esi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [edi + 0x2a]
cmp ecx, eax
jl 0x4e1170
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 0x1c]
xorps xmm0, xmm0
mov eax, dword [esp + 0x60]
mov dword [esp + 0x118], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x114], eax
xor al, al
movlpd qword [esp + 0x11c], xmm0
mov dword [esp + 0x124], 0
cmp dword [ecx], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x110], esi
mov dword [esp + 0x128], 0x200
mov byte [esp + 0x50], 0
mov byte [esp + 0x1f], al
mov dword [esp + 0x44], 0
jle 0x4e13a9
lea esi, [ecx + 4]
mov dword [esp + 0x30], esi
nop dword [eax]
nop word [eax + eax]
mov edx, dword [esi]
lea ecx, [esp + 0x110]
call fcn.004b0d30
test eax, eax
jne 0x4e28bf
mov edx, dword [esp + 0x18]
xor edi, edi
movsx eax, word [edx + 0x2a]
test eax, eax
jle 0x4e12ca
mov eax, dword [edx + 4]
mov dword [esp + 0x58], eax
nop
mov esi, dword [esi + 4]
mov edx, dword [eax]
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [edx + esi]
cmp ecx, eax
jne 0x4e1266
test ecx, ecx
jne 0x4e1278
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x30]
movsx eax, word [edx + 0x28]
cmp edi, eax
jne 0x4e1299
mov eax, dword [esi]
mov byte [esp + 0x1f], 1
mov dword [esp + 0xa0], eax
jmp 0x4e12bf
movzx eax, byte [eax + 0x6182a0]
movzx ecx, byte [ecx + 0x6182a0]
sub ecx, eax
jne 0x4e127b
inc edx
jmp 0x4e1237
mov edx, dword [esp + 0x18]
inc edi
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x30]
add eax, 0x10
mov dword [esp + 0x58], eax
movsx ecx, word [edx + 0x2a]
cmp edi, ecx
jge 0x4e12ca
jmp 0x4e1230
cmp dword [esp + 0x34], 0
je 0x4e12bf
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 + 0x50]
movzx eax, al
cmovne eax, ecx
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
mov dword [ecx + edi*4], eax
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x4e1330
cmp dword [esp + 0x34], 0
jne 0x4e13c2
mov esi, dword [esi + 4]
mov edx, str._ROWID_
mov ecx, esi
call fcn.00481170
test eax, eax
je 0x4e1314
mov edx, str.ROWID
mov ecx, esi
call fcn.00481170
test eax, eax
je 0x4e1314
mov edx, 0x612cbc
mov ecx, esi
call fcn.00481170
test eax, eax
jne 0x4e13c2
mov esi, dword [esp + 0x30]
or edi, 0xffffffff
mov byte [esp + 0x1f], 1
mov edx, str.ROWID
mov eax, dword [esi]
mov dword [esp + 0xa0], eax
jmp 0x4e1345
test edi, edi
jns 0x4e133b
mov edx, str.ROWID
jmp 0x4e1345
mov eax, dword [edx + 4]
mov ecx, edi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x64]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x20]
push dword [edx]
mov edx, 0x17
call fcn.004bd2a0
add esp, 0xc
cmp eax, 1
je 0x4e28bf
cmp eax, 2
jne 0x4e1386
mov eax, dword [esp + 0x28]
mov dword [eax + edi*4], 0xffffffff
mov edi, dword [esp + 0x44]
add esi, 0x18
mov ecx, dword [ebp + 8]
inc edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x30], esi
cmp edi, dword [ecx]
jl 0x4e1200
mov edi, dword [esp + 0x18]
mov al, byte [esp + 0x1f]
mov dl, byte [esp + 0x50]
add dl, al
cmp dword [edi + 0x38], 0
mov byte [esp + 0x30], dl
je 0x4e13eb
mov eax, 0xffffffff
or ecx, eax
jmp 0x4e1405
mov eax, dword [esp + 0x44]
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x10]
lea eax, [eax + eax*2]
push dword [ecx + eax*8 + 8]
push str.no_such_column:__s
push esi
call fcn.00480fb0
add esp, 0xc
mov byte [esi + 0x11], 1
jmp 0x4e28bf
xorps xmm0, xmm0
movlpd qword [esp + 0x98], xmm0
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
mov esi, dword [esp + 0x60]
mov dword [esi + 0x40], eax
mov eax, esi
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 0x10]
movzx eax, dl
mov edx, edi
push eax
push dword [esp + 0x2c]
mov dword [esp + 0xc0], eax
call fcn.004cb550
add esp, 8
mov ecx, eax
cmp dword [ebp + 0x10], 5
mov edx, 1
mov eax, dword [esp + 0x5c]
cmove eax, edx
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x24], edi
mov esi, dword [edx + 8]
test esi, esi
je 0x4e15ce
nop dword [eax]
cmp byte [esp + 0x30], 0
jne 0x4e1779
cmp ecx, 1
jg 0x4e1779
cmp esi, dword [esp + 0x34]
je 0x4e1779
mov edx, dword [esi + 0x24]
test edx, edx
je 0x4e14de
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0xd0]
xorps xmm0, xmm0
mov dword [esp + 0xe8], 0
movaps xmmword [esp + 0xd0], xmm0
movq qword [esp + 0xe0], xmm0
mov dword [esp + 0xd4], 0x4cd9c0
mov dword [esp + 0xe8], eax
call fcn.004ae8d0
cmp byte [esp + 0x1f], 0
mov al, byte [esp + 0xe4]
jne 0x4e14d6
and al, 0xfd
test al, al
jne 0x4e1779
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [esp + 0x98], ecx
cmp ax, word [esi + 0x32]
jae 0x4e15a6
mov dword [esp + 0x58], ecx
nop dword [eax]
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x4e151b
mov edx, dword [esp + 0x28]
cwde
mov eax, dword [edx + eax*4]
not eax
shr eax, 0x1f
jmp 0x4e1583
mov eax, dword [esi + 0x28]
xorps xmm0, xmm0
movaps xmmword [esp + 0xf0], xmm0
mov dword [esp + 0x108], 0
movq qword [esp + 0x100], xmm0
mov edx, dword [eax + ecx + 4]
mov eax, dword [esp + 0x28]
mov dword [esp + 0xf4], 0x4cd9c0
mov dword [esp + 0x108], eax
test edx, edx
je 0x4e1567
lea ecx, [esp + 0xf0]
call fcn.004ae8d0
cmp byte [esp + 0x1f], 0
mov cl, byte [esp + 0x104]
jne 0x4e1578
and cl, 0xfd
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x58]
setne al
test eax, eax
jne 0x4e174b
movzx eax, word [esi + 0x32]
inc edi
add ecx, 0x18
mov dword [esp + 0x58], ecx
cmp edi, eax
jl 0x4e1500
mov ecx, dword [esp + 0x98]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x74]
mov byte [edi + eax + 1], 0
mov eax, dword [esp + 0x78]
mov dword [eax + edi*4], ecx
inc edi
mov esi, dword [esi + 0x14]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x24], edi
test esi, esi
jne 0x4e1460
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x78]
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [ecx + edi*4], eax
cmp dword [esp + 0x5c], 0
je 0x4e15fa
mov eax, dword [esp + 0x70]
inc eax
push eax
push 1
push dword [esp + 0x7c]
call fcn.00574370
add esp, 0xc
mov edi, dword [esi + 8]
mov dword [esp + 0xb0], edi
test edi, edi
jne 0x4e1631
cmp dword [esi + 0x74], edi
jne 0x4e1619
mov eax, dword [esi]
test byte [eax + 0x4c], 8
jne 0x4e1619
mov byte [esi + 0x17], 1
mov ecx, esi
call fcn.0049ca60
mov edi, eax
mov dword [esp + 0xb0], eax
test edi, edi
je 0x4e28bf
cmp byte [esi + 0x12], 0
jne 0x4e163e
or dword [edi + 0x98], 0x20
cmp dword [esp + 0x40], 0
jne 0x4e1651
cmp dword [esp + 0x54], 0
mov byte [esp + 0x4b], 0
je 0x4e1656
mov byte [esp + 0x4b], 1
mov eax, dword [esi + 0x74]
test eax, eax
mov ecx, dword [esp + 0x64]
cmovne esi, eax
mov eax, 1
shl eax, cl
mov edx, dword [esi + 0x54]
test edx, eax
jne 0x4e1686
bts edx, ecx
mov dword [esi + 0x54], edx
cmp ecx, 1
jne 0x4e1686
mov ecx, esi
call fcn.004c36b0
mov ecx, dword [esp + 0x64]
mov eax, dword [esi + 0x50]
mov edx, dword [esp + 0x18]
bts eax, ecx
mov dword [esi + 0x50], eax
mov al, byte [esp + 0x4b]
or byte [esi + 0x14], al
cmp dword [edx + 0x38], 0
mov esi, dword [esp + 0x10]
jne 0x4e1723
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x24]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esi + 0x2c]
inc ecx
mov dword [esp + 0x8c], eax
cmp byte [esp + 0x50], 0
mov dword [esp + 0x38], ecx
mov dword [esi + 0x2c], ecx
mov dword [esp + 0x20], ecx
jne 0x4e16db
cmp dword [esp + 0x40], 0
jne 0x4e16db
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4e16f2
lea eax, [ecx + 1]
mov dword [esp + 0xac], eax
movsx eax, word [edx + 0x2a]
add ecx, eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0x2c], ecx
cmp byte [esp + 0x30], 0
jne 0x4e1704
cmp dword [esp + 0x40], 0
jne 0x4e1704
test eax, eax
je 0x4e1710
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
mov ecx, eax
mov dword [esi + 0x2c], eax
lea eax, [ecx + 1]
mov dword [esp + 0xa4], eax
movsx eax, word [edx + 0x2a]
add eax, ecx
mov dword [esi + 0x2c], eax
cmp dword [esp + 0x80], 0
je 0x4e179a
mov ecx, dword [esi + 0xf0]
mov eax, dword [edx]
mov dword [esp + 0xcc], esi
mov dword [esp + 0x98], ecx
mov dword [esi + 0xf0], eax
jmp 0x4e17b6
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
mov ecx, dword [edx + 0x2c]
inc ecx
mov dword [edx + 0x2c], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
cmp dword [ebp + 0x10], 0xb
mov dword [edx + 0x2c], eax
jne 0x4e178d
cmp byte [esi + 0x36], 5
jne 0x4e178d
mov dword [esp + 0x5c], 1
jmp 0x4e178d
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x2c]
inc ecx
mov dword [edx + 0x2c], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
mov dword [edx + 0x2c], eax
test ecx, ecx
jne 0x4e15b3
jmp 0x4e15aa
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x98], eax
je 0x4e17ce
push dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
push 0
push 0
push ecx
mov ecx, esi
call fcn.004c4db0
add esp, 0x10
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x110]
call fcn.004b0d30
test eax, eax
jne 0x4e28a7
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x38], 0
je 0x4e1819
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x64]
push ecx
push dword [esp + 0x30]
mov ecx, dword [ebp + 8]
push dword [esp + 0xac]
push ecx
push eax
mov ecx, esi
call fcn.004e2960
add esp, 0x18
jmp 0x4e28a7
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
mov dword [esp + 0x44], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
je 0x4e1869
cmp dword [esi + 0x78], 0
jne 0x4e1869
cmp byte [esi + 0x12], 0
jne 0x4e1869
cmp dword [ebp + 0x1c], 0
jne 0x4e1869
inc dword [esi + 0x2c]
mov edx, 0x46
mov eax, dword [esi + 0x2c]
mov ecx, edi
push eax
push 0
mov dword [esp + 0xc8], eax
call fcn.0049ce10
add esp, 8
mov edx, dword [esp + 0x18]
test byte [edx + 0x24], 0x20
jne 0x4e1979
mov ecx, dword [edi + 0x6c]
mov edx, dword [esp + 0x8c]
cmp dword [edi + 0x70], ecx
jg 0x4e189e
push dword [esp + 0x20]
mov ecx, edi
push edx
push 0
mov edx, 0x49
call fcn.0049cca0
add esp, 0xc
jmp 0x4e18cd
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 0x4e1a31
mov ecx, dword [esp + 0x10]
push 0x10
push dword [esp + 0x48]
mov esi, 1
mov dword [esp + 0x60], 0
push dword [ebp + 0xc]
mov dword [esp + 0x58], esi
push ecx
call fcn.004b7920
mov eax, dword [esp + 0xac]
add esp, 0x10
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x24], 0x20
jne 0x4e1af6
push dword [esp + 0x20]
mov edx, 0x80
mov ecx, edi
push eax
call fcn.0049ce10
add esp, 8
test esi, esi
jne 0x4e1bf2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x78]
push dword [esp + 0x20]
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
push dword [esp + 0x90]
mov dword [edx + ecx*4], eax
mov edx, 0x94
mov ecx, edi
call fcn.0049ce10
add esp, 8
jmp 0x4e1bf2
mov eax, dword [esp + 0x34]
movzx ecx, word [eax + 0x32]
mov eax, dword [esi + 0x2c]
movsx esi, cx
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x10]
lea edx, [eax + 1]
inc eax
add eax, esi
mov dword [esp + 0x94], edx
cmp dword [ebp + 0x1c], 0
mov dword [esp + 0x3c], eax
mov dword [ecx + 0x2c], eax
jne 0x4e18db
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x6c], eax
inc eax
mov dword [ecx + 0x28], eax
lea eax, [esi - 1]
add eax, edx
mov ecx, edi
push eax
push edx
push 0
mov edx, 0x49
call fcn.0049cce0
add esp, 0xc
mov edx, 0x71
mov ecx, edi
push esi
push dword [esp + 0x70]
call fcn.0049ce10
mov edx, dword [esp + 0x3c]
add esp, 8
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
mov esi, dword [eax + 8]
call fcn.004c3ee0
mov edx, eax
test edx, edx
je 0x4e1a2d
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4e1a1b
push edx
mov edx, 0xfffffff7
call fcn.0049d830
add esp, 4
jmp 0x4e1a2d
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 + 0x10]
cmp byte [esi + 0x12], 0
mov eax, 0x1004
jne 0x4e1a5e
cmp dword [esp + 0x40], 0
jne 0x4e1a5e
cmp dword [esp + 0x54], 0
jne 0x4e1a5e
cmp byte [esp + 0x30], 0
jne 0x4e1a5e
cmp dword [esp + 0x5c], 0
mov ecx, 0x100c
cmove eax, ecx
push dword [esp + 0x84]
mov edx, dword [esp + 0x64]
mov ecx, esi
push eax
push 0
push 0
push dword [ebp + 0xc]
call fcn.004f0400
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x58], ecx
test ecx, ecx
je 0x4e28a7
movzx esi, byte [ecx + 0x31]
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0xc4], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x4c], esi
cmp esi, 1
je 0x4e1917
mov ecx, dword [esp + 0x10]
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 0x4e191b
test edx, edx
js 0x4e191b
cmp edx, eax
je 0x4e191b
mov ecx, dword [esp + 0x74]
mov eax, edx
sub eax, dword [esp + 0x88]
xor edx, edx
cmp byte [eax + ecx], dl
cmovne esi, edx
mov dword [esp + 0x4c], esi
jmp 0x4e1917
mov eax, dword [esp + 0x90]
xor esi, esi
cwde
test eax, eax
jle 0x4e1b3d
mov eax, dword [esp + 0x94]
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.004b5db0
mov ecx, dword [esp + 0x9c]
inc esi
movsx eax, cx
add esp, 0xc
mov ecx, dword [esp + 0x18]
cmp esi, eax
jl 0x4e1b04
cmp dword [esp + 0x4c], 0
je 0x4e1b97
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4e1b79
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
jne 0x4e1b79
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.0049d830
add esp, 4
mov word [esi], 0xaa
mov dword [esi + 0x10], 0
mov eax, dword [esp + 0x90]
movsx esi, ax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xa8], esi
mov dword [esp + 0x3c], eax
jmp 0x4e1bee
mov edx, dword [esp + 0x34]
push eax
push ecx
mov ecx, dword [esp + 0x34]
call fcn.004cc110
add esp, 4
mov edx, 0x5c
mov ecx, edi
push eax
push dword [esp + 0x44]
mov eax, dword [esp + 0x9c]
movsx esi, ax
push esi
push dword [esp + 0xa4]
call fcn.0049d0a0
add esp, 0x14
mov edx, 0x84
mov ecx, edi
push esi
push dword [esp + 0x98]
push dword [esp + 0x44]
push dword [esp + 0x78]
call fcn.0049d1f0
add esp, 0x10
mov esi, dword [esp + 0x4c]
cmp dword [ebp + 0x1c], 0
jne 0x4e1e28
cmp esi, 2
je 0x4e1c0a
mov ecx, dword [esp + 0x58]
call fcn.004f1070
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x4e1cdc
mov edx, dword [esp + 0x4c]
xor esi, esi
test edx, edx
je 0x4e1c5c
mov eax, dword [esp + 0xc4]
test eax, eax
js 0x4e1c3d
sub eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x74]
mov byte [eax + ecx], 0
mov ecx, dword [esp + 0x64]
test ecx, ecx
js 0x4e1c60
mov edx, dword [esp + 0x74]
mov eax, ecx
sub eax, dword [esp + 0x88]
mov byte [eax + edx], 0
mov edx, dword [esp + 0x4c]
jmp 0x4e1c60
mov ecx, dword [esp + 0x64]
cmp edx, 2
jne 0x4e1c84
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x70]
setns al
sub ecx, eax
test ecx, ecx
jle 0x4e1c84
mov edx, 0x11
mov ecx, edi
call fcn.0049cd50
mov esi, eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push 0
push 0
push dword [esp + 0x7c]
push dword [esp + 0x94]
push 0
push 0x6d
call fcn.004cf360
add esp, 0x18
test esi, esi
je 0x4e1cd1
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4e1cbd
mov eax, 0x648de8
jmp 0x4e1cce
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 + 0x80]
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x4e1d8f
test eax, eax
jne 0x4e1d1a
mov eax, dword [esp + 0x14]
cmp dword [esp + 0xc4], eax
je 0x4e1d1a
cmp dword [esp + 0x64], eax
je 0x4e1d1a
push dword [esp + 0xa8]
mov edx, 0x1c
mov ecx, edi
push dword [esp + 0x40]
push dword [esp + 0x4c]
push eax
call fcn.0049d1f0
add esp, 0x10
cmp esi, 1
je 0x4e1d2d
mov eax, dword [esp + 0x10]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x7c], 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 0x4e1d5b
push 0
push dword [esp + 0x48]
mov ecx, edi
push edx
mov edx, 0x32
call fcn.0049cca0
jmp 0x4e1e25
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], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4e1e28
cmp dword [esp + 0x34], 0
mov ecx, edi
je 0x4e1df2
mov eax, dword [esp + 0x10]
mov edx, 0x24
push dword [esp + 0x44]
push dword [esp + 0x70]
dec dword [eax + 0x38]
mov esi, dword [eax + 0x38]
mov dword [esp + 0x84], esi
call fcn.0049ce10
push dword [esp + 0x44]
mov edx, 0x7f
mov ecx, edi
push dword [esp + 0x78]
call fcn.0049ce10
push 0
push dword [esp + 0x50]
mov edx, 0x1c
mov dword [esp + 0xd4], eax
push esi
push dword [esp + 0x30]
mov ecx, edi
call fcn.0049d1f0
add esp, 0x20
jmp 0x4e1e28
mov esi, dword [esp + 0x20]
mov edx, 0x29
push esi
push dword [esp + 0x48]
push dword [esp + 0x94]
call fcn.0049cce0
add esp, 0xc
mov dword [esp + 0x7c], eax
mov edx, 0x1f
mov ecx, edi
push esi
push eax
push dword [esp + 0x1c]
call fcn.0049cce0
add esp, 0xc
cmp byte [esp + 0x1f], 0
je 0x4e1edd
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x4e1e59
cmp byte [eax], 0xa8
jne 0x4e1e59
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
push edx
push dword [eax + 0x1c]
mov ecx, dword [esi + 8]
mov edx, 0x4e
jmp 0x4e1e84
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
mov ecx, esi
push edx
mov edx, eax
call fcn.004b60f0
mov edx, dword [esp + 0x3c]
add esp, 4
cmp eax, edx
je 0x4e1e90
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4e1e90
push edx
push eax
mov edx, 0x4f
call fcn.0049ce10
mov edx, dword [esp + 0x40]
add esp, 8
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e1eae
push 0
push 0
push edx
mov edx, 0xf
mov ecx, edi
call fcn.0049cca0
add esp, 0xc
jmp 0x4e1edd
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 + 0x50], 0
jne 0x4e1f96
cmp dword [esp + 0x54], 0
jne 0x4e1fa1
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4e2095
xor ecx, ecx
mov dword [esp + 0x50], ecx
push dword [ebp + 0x10]
mov edx, dword [esp + 0x44]
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 3
push 0
push dword [ebp + 8]
call fcn.004e0e70
mov ecx, dword [esp + 0x64]
xor edx, edx
or ecx, eax
add esp, 0x14
mov eax, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x50], ecx
cmp dx, word [eax + 0x2a]
jge 0x4e202c
mov dword [esp + 0x68], edx
cmp ecx, 0xffffffff
je 0x4e1fef
cmp esi, 0x20
jge 0x4e1f64
mov eax, 1
mov ecx, esi
shl eax, cl
test dword [esp + 0x50], eax
jne 0x4e1fef
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
test byte [eax + edx + 0xf], 1
jne 0x4e1fef
mov edx, dword [esp + 0xac]
mov ecx, dword [edi + 0x6c]
add edx, esi
cmp dword [edi + 0x70], ecx
jg 0x4e1fb7
push 0
push edx
push 0
mov edx, 0x49
mov ecx, edi
call fcn.0049cca0
jmp 0x4e2009
cmp dword [esp + 0x54], 0
je 0x4e1eff
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
call fcn.004cb460
mov dword [esp + 0x50], eax
jmp 0x4e1f05
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0xb0]
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 0x4e200c
mov eax, dword [esp + 0xac]
mov ecx, edi
mov edx, dword [esp + 0x18]
add eax, esi
push eax
push esi
push dword [esp + 0x1c]
call fcn.004b5db0
add esp, 0xc
mov eax, dword [esp + 0x18]
inc esi
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x50]
add edx, 0x10
mov dword [esp + 0x68], edx
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x4e1f43
cmp byte [esp + 0x1f], 0
jne 0x4e2091
cmp dword [esp + 0x34], 0
jne 0x4e2091
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e205e
mov edx, dword [esp + 0x38]
mov ecx, edi
push 0
push edx
push dword [esp + 0x28]
mov edx, 0x4e
call fcn.0049cca0
add esp, 0xc
jmp 0x4e2091
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 + 0x38]
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 eax, dword [esp + 0x40]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, eax
push dword [esp + 0x1c]
push 1
push 1
push dword [ebp + 8]
call fcn.004e0e70
mov edx, eax
xor ecx, ecx
mov eax, dword [esp + 0x2c]
xor esi, esi
add esp, 0x14
mov dword [esp + 0x24], edx
mov dword [esp + 0x68], ecx
cmp si, word [eax + 0x2a]
jge 0x4e2231
mov esi, dword [esp + 0xa4]
movsx eax, word [eax + 0x28]
cmp ecx, eax
jne 0x4e2135
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e20fa
push 0
push esi
push 0
mov edx, 0x49
mov ecx, edi
call fcn.0049cca0
jmp 0x4e220c
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0xb0]
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 0x4e2213
mov eax, dword [esp + 0x28]
mov eax, dword [eax + ecx*4]
test eax, eax
js 0x4e21a1
mov ecx, dword [ebp + 8]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*8 + 4]
test edx, edx
je 0x4e2170
cmp byte [edx], 0xa8
jne 0x4e2170
mov eax, dword [esp + 0x10]
push esi
push dword [edx + 0x1c]
mov edx, 0x4e
mov ecx, dword [eax + 8]
call fcn.0049ce10
add esp, 8
jmp 0x4e220f
mov ecx, dword [esp + 0x10]
push esi
call fcn.004b60f0
add esp, 4
cmp eax, esi
je 0x4e220f
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4e220f
push esi
push eax
mov edx, 0x4f
call fcn.0049ce10
add esp, 8
jmp 0x4e220f
test dword [esp + 0xb4], 1
je 0x4e21fb
cmp ecx, 0x1f
jg 0x4e21fb
mov eax, 1
shl eax, cl
test edx, eax
jne 0x4e21fb
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jle 0x4e20e4
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], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4e220f
mov edx, dword [esp + 0x18]
push esi
push ecx
push dword [esp + 0x1c]
mov ecx, edi
call fcn.004b5db0
add esp, 0xc
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
inc esi
mov ecx, dword [esp + 0x68]
inc ecx
mov dword [esp + 0x68], ecx
movsx eax, word [eax + 0x2a]
cmp ecx, eax
mov eax, dword [esp + 0x18]
jl 0x4e20d4
test byte [esp + 0xb4], 1
je 0x4e23a3
push dword [esp + 0xa4]
mov edx, eax
mov ecx, edi
call fcn.004cc1e0
mov esi, dword [esp + 0x80]
add esp, 4
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x28]
push dword [esp + 0x24]
push 1
push dword [ebp + 8]
push 0x7a
call fcn.004e0de0
mov edx, dword [edi + 0x6c]
add esp, 0x1c
cmp dword [esp + 0x34], 0
mov eax, dword [edi + 0x70]
je 0x4e2351
cmp eax, edx
jg 0x4e22ad
push dword [esp + 0x3c]
mov edx, 0x1c
mov ecx, edi
push esi
push dword [esp + 0x1c]
call fcn.0049cca0
add esp, 0xc
mov edx, eax
jmp 0x4e22e0
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 + 0x7c]
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 0x4e22fe
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0xa8]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
xor eax, eax
xor esi, esi
cmp ax, word [ecx + 0x2a]
jge 0x4e23a7
mov eax, dword [esp + 0x28]
cmp dword [eax + esi*4], 0
jge 0x4e2342
movsx eax, word [ecx + 0x28]
cmp esi, eax
je 0x4e2342
mov eax, dword [esp + 0xa4]
add eax, esi
push eax
push esi
push edx
mov edx, ecx
mov ecx, edi
call fcn.004b5db0
mov ecx, dword [esp + 0x24]
add esp, 0xc
movsx eax, word [ecx + 0x2a]
inc esi
mov edx, dword [esp + 0x14]
cmp esi, eax
jl 0x4e2314
jmp 0x4e23a7
cmp eax, edx
jg 0x4e236f
push dword [esp + 0x20]
mov edx, 0x1f
mov ecx, edi
push esi
push dword [esp + 0x1c]
call fcn.0049cca0
add esp, 0xc
jmp 0x4e22fe
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 + 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 0x4e2302
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x80], 0
jne 0x4e2647
xor esi, esi
lea eax, [esp + 0x5c]
push esi
push dword [esp + 0x2c]
mov edx, ecx
mov ecx, dword [esp + 0x18]
push eax
push dword [esp + 0x88]
push dword [ebp + 0x10]
push dword [esp + 0x44]
push dword [esp + 0x38]
push dword [esp + 0x54]
push dword [esp + 0xa4]
push dword [esp + 0x38]
push dword [esp + 0xa0]
call fcn.004cda00
add esp, 0x2c
cmp dword [esp + 0x54], esi
je 0x4e241d
push dword [esp + 0xb8]
mov edx, dword [esp + 0x1c]
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push esi
push dword [esp + 0x2c]
call fcn.004cae20
add esp, 0x10
cmp dword [esp + 0x5c], esi
jne 0x4e242e
cmp byte [esp + 0x30], 0
je 0x4e2503
cmp dword [esp + 0x34], 0
mov esi, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
je 0x4e24af
cmp eax, esi
jg 0x4e245c
push dword [esp + 0x3c]
mov edx, 0x1c
mov ecx, edi
push 0
push dword [esp + 0x1c]
call fcn.0049cca0
add esp, 0xc
mov esi, eax
jmp 0x4e248f
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 + 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 0x4e2503
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
mov edx, dword [esp + 0xa8]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x4e2503
cmp eax, esi
jg 0x4e24d0
push dword [esp + 0x20]
mov edx, 0x1f
mov ecx, edi
push 0
push dword [esp + 0x1c]
call fcn.0049cca0
add esp, 0xc
mov esi, eax
jmp 0x4e2503
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 + 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 + 0x18]
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push dword [esp + 0x7c]
push dword [esp + 0x8c]
push dword [esp + 0x20]
call fcn.004c5cc0
add esp, 0x10
cmp dword [esp + 0x54], 1
jg 0x4e2533
mov al, byte [esp + 0x30]
test al, al
je 0x4e258b
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e2554
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x7b
mov ecx, edi
call fcn.0049cca0
add esp, 0xc
jmp 0x4e2587
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 + 0x30]
cmp dword [esp + 0x5c], 0
jne 0x4e2596
test al, al
je 0x4e25bc
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4e25a8
mov eax, 0x648de8
jmp 0x4e25b9
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 esi, dword [esp + 0x54]
test esi, esi
je 0x4e25e5
push dword [esp + 0xb8]
mov edx, dword [esp + 0x1c]
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x40]
push 0
call fcn.004cae20
add esp, 0x10
mov edx, dword [esp + 0x18]
xor eax, eax
cmp dword [esp + 0x4c], 2
mov ecx, dword [esp + 0x10]
push 0
sete al
push 0
lea eax, [eax*2 + 4]
push eax
push dword [esp + 0x84]
push dword [esp + 0x48]
push dword [esp + 0x98]
push dword [esp + 0x2c]
call fcn.004cf120
add esp, 0x1c
test esi, esi
je 0x4e2647
push dword [esp + 0xb8]
mov edx, dword [esp + 0x1c]
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x28]
push dword [ebp + 8]
call fcn.004cbf40
add esp, 0x10
mov edx, dword [esp + 0xc0]
test edx, edx
je 0x4e269f
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e2670
push 0
push 1
push edx
mov edx, 0x53
mov ecx, edi
call fcn.0049cca0
add esp, 0xc
jmp 0x4e269f
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 + 0x7c]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x28]
push dword [esp + 0x24]
push 2
push dword [ebp + 8]
push 0x7a
call fcn.004e0de0
mov eax, dword [esp + 0x68]
add esp, 0x1c
cmp eax, 1
je 0x4e27db
cmp eax, 2
jne 0x4e2715
mov ecx, dword [edi + 0xc]
not esi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e26fe
push esi
mov edx, edi
call fcn.0049d2f0
mov ecx, dword [esp + 0x5c]
add esp, 4
call fcn.004f1070
jmp 0x4e27db
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + esi*4], eax
mov ecx, dword [esp + 0x58]
call fcn.004f1070
jmp 0x4e27db
cmp dword [esp + 0x34], 0
je 0x4e278e
mov ecx, dword [edi + 0xc]
not esi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e2736
push esi
mov edx, edi
call fcn.0049d2f0
add esp, 4
jmp 0x4e273f
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 0x4e2766
mov edx, dword [esp + 0xbc]
mov ecx, edi
push 0
push edx
push dword [esp + 0x74]
mov edx, 5
call fcn.0049cca0
add esp, 0xc
jmp 0x4e27db
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 + 4], edx
mov edx, dword [esp + 0xbc]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
jmp 0x4e27cb
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e27ac
push 0
push esi
push 0
mov edx, 0xb
mov ecx, edi
call fcn.0049cca0
add esp, 0xc
jmp 0x4e27db
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 + 0x44]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e27f9
push edx
mov edx, edi
call fcn.0049d2f0
add esp, 4
jmp 0x4e2802
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x12], 0
jne 0x4e2825
cmp dword [eax + 0x78], 0
jne 0x4e2825
cmp dword [ebp + 0x1c], 0
jne 0x4e2825
cmp dword [eax + 0x70], 0
je 0x4e2825
mov ecx, eax
call fcn.004cc370
mov edx, dword [esp + 0xc0]
test edx, edx
je 0x4e28a7
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e284e
push 0
push 1
push edx
mov edx, 0x51
mov ecx, edi
call fcn.0049cca0
add esp, 0xc
jmp 0x4e287d
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.0049ed70
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4e28a7
mov ecx, dword [edi + 0x74]
mov edx, str.rows_updated
push 0
push 1
push 0xffffffffffffffff
call fcn.0049bf70
add esp, 0xc
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x4e28bf
mov ecx, dword [esp + 0x98]
mov dword [eax + 0xf0], ecx
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x1e8], 0
je 0x4e28e0
mov edx, dword [esp + 0x28]
mov ecx, eax
call fcn.0047da50
mov eax, dword [esp + 0x2c]
mov edi, dword [ebp + 0xc]
jmp 0x4e291f
mov ecx, dword [esp + 0x28]
cmp ecx, dword [eax + 0x138]
jb 0x4e290b
cmp ecx, dword [eax + 0x13c]
jae 0x4e290b
mov eax, dword [eax + 0x134]
mov edi, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x134], ecx
jmp 0x4e291f
push ecx
call fcn.0047d9e0
mov eax, dword [esp + 0x30]
add esp, 4
mov edi, dword [ebp + 0xc]
jmp 0x4e291f
mov eax, edx
mov edx, dword [esp + 0x60]
mov ecx, eax
call fcn.004c3040
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e293c
mov ecx, dword [esp + 0x2c]
mov edx, eax
call fcn.004b3290
test edi, edi
je 0x4e294b
mov ecx, dword [esp + 0x2c]
mov edx, edi
call fcn.004b20e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret