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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x705034]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
push edi
mov dword [esp + 0x74], edx
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0xac], eax
mov dword [esp + 0x60], eax
cmp dword [esi + 0x24], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0x138], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esi]
mov dword [esp + 0xc0], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0xb8], 0
movq qword [esp + 0xc8], xmm0
mov dword [esp + 0x84], eax
jne 0x4e4c75
cmp byte [eax + 0x51], 0
jne 0x4e4c75
call fcn.004c68e0
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x4e4c75
mov ecx, dword [edi + 0x48]
mov dword [esp + 0x38], 0xfff0bdc0
test ecx, ecx
je 0x4e488c
mov eax, dword [esi]
xor edx, edx
mov dword [esp + 0x38], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4e488c
nop dword [eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4e4880
mov dword [esp + 0x38], edx
lea eax, [esp + 0xbc]
mov edx, edi
push eax
push dword [esp + 0x40]
mov ecx, esi
push 0x7d
call fcn.004e3b10
add esp, 0xc
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xc]
mov edx, edi
mov ecx, esi
mov dword [esp + 0x90], eax
call fcn.004c1ef0
test eax, eax
jne 0x4e4c75
push dword [esp + 0xbc]
mov edx, edi
mov ecx, esi
call fcn.004c69f0
add esp, 4
test eax, eax
jne 0x4e4c75
mov eax, dword [esi + 0x28]
mov dword [esp + 0xc], eax
mov dword [esp + 0xa8], eax
lea edx, [eax + 1]
mov dword [esi + 0x28], edx
test byte [edi + 0x24], 0x20
mov dword [esp + 0x94], edx
jne 0x4e490b
mov dword [esp + 0x30], 0
jmp 0x4e4916
mov ecx, edi
call fcn.004bfd20
mov dword [esp + 0x30], eax
mov eax, dword [edi + 8]
xor ecx, ecx
mov dword [esp + 0xa0], ecx
test eax, eax
je 0x4e4952
mov edi, dword [esp + 0xc]
nop word [eax + eax]
cmp dword [esp + 0x30], eax
cmove edi, edx
inc edx
mov dword [esi + 0x28], edx
inc ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4e4930
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0xa0], ecx
mov edx, dword [esp + 0x70]
test edx, edx
je 0x4e4977
mov eax, dword [edx + 0x1c]
mov edx, dword [edx + 0x20]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0xc], eax
mov dword [esi + 0x28], edx
jmp 0x4e497b
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x74]
push 0
mov dword [edx + 0x34], eax
movsx eax, word [edi + 0x2a]
add eax, ecx
lea eax, [eax*4 + 6]
add eax, ecx
mov ecx, dword [esp + 0x88]
push eax
call fcn.004799b0
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x4e4c75
movsx eax, word [edi + 0x2a]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x68], ecx
lea ecx, [ecx + eax*4]
inc eax
push eax
add ecx, 4
push 1
push ecx
mov dword [esp + 0x70], ecx
call fcn.0063acc0
mov eax, dword [esp + 0xac]
add esp, 0xc
mov ecx, dword [esp + 0x64]
mov byte [ecx + eax + 1], 0
xor eax, eax
xor ecx, ecx
cmp ax, word [edi + 0x2a]
jge 0x4e4a14
mov esi, dword [esp + 0x1c]
nop dword [eax + eax]
mov dword [esi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [edi + 0x2a]
cmp ecx, eax
jl 0x4e4a00
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x70]
xorps xmm0, xmm0
mov eax, dword [esp + 0x74]
movaps xmmword [esp + 0x110], xmm0
mov dword [esp + 0x118], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x114], eax
xor al, al
movaps xmmword [esp + 0x120], xmm0
mov dword [esp + 0x110], esi
cmp dword [ecx], 0
mov dword [esp + 0x128], 0x200
mov byte [esp + 0x50], 0
mov byte [esp + 0x17], al
mov dword [esp + 0x48], 0
jle 0x4e4c38
mov eax, 0xfffffffc
lea esi, [ecx + 4]
sub eax, ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0xa4], eax
nop dword [eax]
nop dword [eax + eax]
mov edx, dword [esi]
lea ecx, [esp + 0x110]
call fcn.004b08c0
test eax, eax
jne 0x4e4c75
mov edx, dword [esp + 0x10]
xor edi, edi
movsx eax, word [edx + 0x2a]
test eax, eax
jle 0x4e4b84
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x3c]
add eax, esi
mov edx, dword [edx + 4]
mov dword [esp + 0x78], edx
mov ecx, dword [eax + ecx + 8]
mov eax, edx
mov dword [esp + 0x24], ecx
mov edx, dword [eax]
mov esi, ecx
sub esi, edx
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4e4b1a
test ecx, ecx
jne 0x4e4b2c
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x44]
movsx eax, word [edx + 0x28]
cmp edi, eax
jne 0x4e4b4d
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x48]
mov byte [esp + 0x17], 1
mov dword [ecx + edi*4], eax
jmp 0x4e4b84
movzx eax, byte [eax + 0x6c8000]
movzx ecx, byte [ecx + 0x6c8000]
sub ecx, eax
jne 0x4e4b2f
inc edx
jmp 0x4e4ae0
mov edx, dword [esp + 0x10]
inc edi
mov eax, dword [esp + 0x78]
add eax, 0x10
mov dword [esp + 0x78], eax
movsx ecx, word [edx + 0x2a]
cmp edi, ecx
jge 0x4e4b80
mov ecx, dword [esp + 0x24]
jmp 0x4e4ad6
cmp dword [esp + 0x30], 0
je 0x4e4b73
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 + 0x1c]
mov eax, dword [esp + 0x48]
mov dword [ecx + edi*4], eax
jmp 0x4e4b84
mov esi, dword [esp + 0x44]
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x4e4bbf
cmp dword [esp + 0x30], 0
jne 0x4e4c50
mov ecx, dword [esi + 4]
call fcn.004b3740
test eax, eax
je 0x4e4c50
mov eax, dword [esi]
or edi, 0xffffffff
mov byte [esp + 0x17], 1
mov edx, str.ROWID
mov dword [esp + 0xb0], eax
jmp 0x4e4bd4
test edi, edi
jns 0x4e4bca
mov edx, str.ROWID
jmp 0x4e4bd4
mov eax, dword [edx + 4]
mov ecx, edi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x38]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x18]
push dword [edx]
mov edx, 0x17
call fcn.004be4e0
add esp, 0xc
cmp eax, 1
je 0x4e4c75
cmp eax, 2
jne 0x4e4c14
mov eax, dword [esp + 0x1c]
mov dword [eax + edi*4], 0xffffffff
mov edi, dword [esp + 0x48]
add esi, 0x18
mov eax, dword [esp + 0x3c]
inc edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], esi
cmp edi, dword [eax]
jl 0x4e4a90
mov edi, dword [esp + 0x10]
mov al, byte [esp + 0x17]
mov dl, byte [esp + 0x50]
add dl, al
cmp dword [edi + 0x38], 0
mov byte [esp + 0x44], dl
je 0x4e4c81
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x4e4c92
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 8]
lea eax, [eax + eax*2]
push dword [ecx + eax*8 + 8]
push str.no_such_column:__s
push esi
call fcn.0047cb10
add esp, 0xc
mov byte [esi + 0x11], 1
mov ecx, dword [esp + 0xcc]
jmp 0x4e636d
xorps xmm0, xmm0
movlpd qword [esp + 0x78], xmm0
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov dword [esi + 0x40], eax
mov eax, esi
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 8]
movzx eax, dl
mov edx, edi
push eax
push dword [esp + 0x20]
mov dword [esp + 0xac], eax
call fcn.004ccf40
add esp, 8
mov ecx, eax
cmp dword [ebp + 0x10], 5
mov edx, 1
mov eax, dword [esp + 0x138]
cmove eax, edx
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x10]
xor edi, edi
mov dword [esp + 0x138], eax
mov dword [esp + 0x20], edi
mov esi, dword [edx + 8]
test esi, esi
je 0x4e4e6a
cmp byte [esp + 0x44], 0
jne 0x4e5027
cmp ecx, 1
jg 0x4e5027
cmp esi, dword [esp + 0x30]
je 0x4e5027
mov edx, dword [esi + 0x24]
test edx, edx
je 0x4e4d7e
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xd0]
xorps xmm0, xmm0
mov dword [esp + 0xe8], 0
movaps xmmword [esp + 0xd0], xmm0
movq qword [esp + 0xe0], xmm0
mov byte [esp + 0xe4], 0
mov dword [esp + 0xd4], 0x4cf320
mov dword [esp + 0xe8], eax
call fcn.004ae3a0
cmp byte [esp + 0x17], 0
mov cl, byte [esp + 0xe4]
jne 0x4e4d6f
and cl, 0xfd
xor eax, eax
test cl, cl
setne al
test eax, eax
jne 0x4e5027
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [esp + 0x24], ecx
cmp ax, word [esi + 0x32]
jae 0x4e4e42
mov dword [esp + 0x78], ecx
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x4e4db1
mov edx, dword [esp + 0x1c]
cwde
mov eax, dword [edx + eax*4]
not eax
shr eax, 0x1f
jmp 0x4e4e22
mov eax, dword [esi + 0x28]
xorps xmm0, xmm0
movaps xmmword [esp + 0xf0], xmm0
movq qword [esp + 0x100], xmm0
mov dword [esp + 0x108], 0
mov edx, dword [eax + ecx + 4]
xor cl, cl
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x104], cl
mov dword [esp + 0xf4], 0x4cf320
mov dword [esp + 0x108], eax
test edx, edx
je 0x4e4e0d
lea ecx, [esp + 0xf0]
call fcn.004ae3a0
mov cl, byte [esp + 0x104]
cmp byte [esp + 0x17], 0
jne 0x4e4e17
and cl, 0xfd
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x78]
setne al
test eax, eax
jne 0x4e4ff7
movzx eax, word [esi + 0x32]
inc edi
add ecx, 0x18
mov dword [esp + 0x78], ecx
cmp edi, eax
jl 0x4e4d96
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x64]
mov byte [edi + eax + 1], 0
mov eax, dword [esp + 0x68]
mov dword [eax + edi*4], ecx
inc edi
mov esi, dword [esi + 0x14]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], edi
test esi, esi
jne 0x4e4cf0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x68]
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
mov dword [edx + edi*4], eax
cmp dword [esp + 0x138], 0
je 0x4e4ea0
mov eax, dword [esp + 0xa0]
inc eax
push eax
push 1
push dword [esp + 0x6c]
call fcn.0063acc0
mov ecx, dword [esp + 0x14]
add esp, 0xc
mov edi, dword [ecx + 8]
mov dword [esp + 0x48], edi
test edi, edi
jne 0x4e4ed3
cmp dword [ecx + 0x74], edi
jne 0x4e4ebc
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x4e4ebc
mov byte [ecx + 0x17], 1
call fcn.0049ada0
mov ecx, dword [esp + 8]
mov edi, eax
mov dword [esp + 0x48], edi
test edi, edi
je 0x4e4c75
cmp byte [ecx + 0x12], 0
jne 0x4e4ee0
or dword [edi + 0x98], 0x20
cmp dword [esp + 0x28], 0
jne 0x4e4ef6
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x78], 0
je 0x4e4efe
mov dword [esp + 0x78], 1
mov eax, dword [ecx + 0x74]
mov edx, ecx
test eax, eax
mov esi, ecx
mov ecx, dword [esp + 0x38]
cmovne edx, eax
cmovne esi, eax
mov eax, 1
shl eax, cl
mov ecx, dword [edx + 0x54]
test ecx, eax
jne 0x4e4f35
mov eax, dword [esp + 0x38]
bts ecx, eax
mov dword [edx + 0x54], ecx
cmp eax, 1
jne 0x4e4f35
mov ecx, edx
call fcn.004c4fc0
mov eax, dword [esi + 0x50]
mov ecx, dword [esp + 0x38]
bts eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x78]
or byte [esi + 0x14], al
cmp dword [ecx + 0x38], 0
mov esi, dword [esp + 8]
jne 0x4e4fd1
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x20]
mov eax, dword [edx + eax*4]
inc dword [esi + 0x2c]
cmp byte [esp + 0x50], 0
mov edx, dword [esp + 0x28]
mov dword [esp + 0x8c], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], eax
jne 0x4e4f92
test edx, edx
jne 0x4e4f92
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4e4fa6
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x5c], eax
movsx eax, word [ecx + 0x2a]
add eax, dword [esp + 0x34]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x4c]
cmp byte [esp + 0x44], 0
jne 0x4e4fb5
test edx, edx
jne 0x4e4fb5
test eax, eax
je 0x4e4fbf
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esp + 0xb4], eax
movsx eax, word [ecx + 0x2a]
add dword [esi + 0x2c], eax
mov edx, dword [esp + 0x90]
test edx, edx
je 0x4e5047
mov eax, dword [esi + 0xf0]
mov dword [esp + 0xc8], eax
mov eax, dword [ecx]
mov dword [esp + 0x38], esi
mov dword [esi + 0xf0], eax
jmp 0x4e5052
mov edx, dword [esp + 8]
mov edi, dword [esp + 0x20]
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 0x4e503a
cmp byte [esi + 0x36], 5
jne 0x4e503a
mov dword [esp + 0x138], 1
jmp 0x4e503a
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 0x4e4e4f
jmp 0x4e4e46
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x38], eax
test edx, edx
je 0x4e5071
push dword [esp + 0xc]
mov edx, ecx
mov ecx, esi
push 0
push 0
push dword [esp + 0x94]
call fcn.004c6a40
add esp, 0x10
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x110]
call fcn.004b08c0
test eax, eax
jne 0x4e6369
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x38], 0
je 0x4e50c8
push dword [ebp + 0x10]
mov edi, dword [esp + 0x20]
mov ecx, esi
push dword [esp + 0x8c]
mov edx, dword [esp + 0x7c]
push edi
push dword [esp + 0xbc]
push dword [esp + 0x4c]
push eax
call fcn.004e6470
mov ecx, dword [esp + 0x50]
add esp, 0x18
jmp 0x4e6371
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
mov dword [esp + 0x58], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
je 0x4e511c
cmp dword [esi + 0x78], 0
jne 0x4e511c
cmp byte [esi + 0x12], 0
jne 0x4e511c
cmp dword [esp + 0x70], 0
jne 0x4e511c
inc dword [esi + 0x2c]
mov edx, 0x46
mov eax, dword [esi + 0x2c]
mov ecx, edi
push eax
push 0
mov dword [esp + 0xcc], eax
call fcn.0049b210
add esp, 8
mov edx, dword [esp + 0x10]
test byte [edx + 0x24], 0x20
jne 0x4e5215
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e5150
push dword [esp + 0x18]
mov edx, 0x49
mov ecx, edi
push dword [esp + 0x90]
push 0
call fcn.0049b0a0
add esp, 0xc
jmp 0x4e5186
mov edx, dword [esp + 0x8c]
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 + 0x18]
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 [esp + 0x70], 0
je 0x4e530d
mov ecx, dword [esp + 8]
push 0x10
push dword [esp + 0x5c]
mov esi, 1
mov dword [esp + 0x80], 0
push dword [esp + 0x90]
mov dword [esp + 0x60], esi
push ecx
call fcn.004b8200
mov eax, dword [esp + 0xdc]
add esp, 0x10
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x24], 0x20
jne 0x4e5449
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e53d9
push 0
push dword [esp + 0x1c]
mov edx, 0x80
mov ecx, edi
push eax
call fcn.0049b0a0
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x4e540c
mov eax, dword [esp + 0x30]
mov edx, dword [esi + 0x2c]
mov ecx, dword [esp + 8]
inc edx
mov dword [esp + 0x60], edx
movzx eax, word [eax + 0x32]
movsx esi, ax
mov dword [esp + 0x9c], eax
lea eax, [esi + 1]
add dword [ecx + 0x2c], eax
cmp dword [esp + 0x70], 0
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x40], eax
jne 0x4e5195
mov eax, dword [ecx + 0x28]
dec edx
mov dword [esp + 0x6c], eax
add edx, esi
inc eax
mov dword [ecx + 0x28], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e5279
push edx
push dword [esp + 0x64]
mov edx, 0x49
mov ecx, edi
push 0
call fcn.0049b0a0
add esp, 0xc
jmp 0x4e52ac
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x60]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x48]
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 + 0x70]
mov edx, 0x70
mov ecx, edi
call fcn.0049b210
mov edx, dword [esp + 0x38]
add esp, 8
mov dword [esp + 0xac], eax
mov eax, dword [esp + 8]
mov ecx, eax
mov esi, dword [eax + 8]
call fcn.004c5960
mov edx, eax
test edx, edx
je 0x4e5309
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4e52f7
push edx
mov edx, 0xfffffff7
call fcn.0049bdb0
add esp, 4
jmp 0x4e5309
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 0x4e533d
cmp dword [esp + 0x28], 0
jne 0x4e533d
cmp dword [esp + 0x4c], 0
jne 0x4e533d
cmp byte [esp + 0x44], 0
jne 0x4e533d
cmp dword [esp + 0x138], 0
mov ecx, 0x100c
cmove eax, ecx
push dword [esp + 0x94]
mov edx, dword [esp + 0x78]
mov ecx, esi
push eax
push 0
push 0
push dword [esp + 0x98]
call fcn.004f5670
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x78], ecx
test ecx, ecx
je 0x4e6369
movzx esi, byte [ecx + 0x31]
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x98], edx
mov dword [esp + 0x54], esi
cmp esi, 1
je 0x4e51d8
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0xc]
mov byte [ecx + 0x14], 1
cmp esi, 2
jne 0x4e51dc
test edx, edx
js 0x4e51dc
cmp edx, eax
je 0x4e51dc
mov ecx, dword [esp + 0x64]
mov eax, edx
sub eax, dword [esp + 0xa8]
xor edx, edx
cmp byte [eax + ecx], dl
cmovne esi, edx
mov dword [esp + 0x54], esi
jmp 0x4e51d8
mov edx, dword [esp + 0xc]
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 + 0x18]
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 0x4e5540
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x68]
push edx
inc dword [eax + 0x2c]
mov edx, 0x93
mov eax, dword [eax + 0x2c]
push dword [esp + 0x90]
mov dword [edi + ecx*4], eax
mov edi, dword [esp + 0x50]
mov ecx, edi
call fcn.0049b210
add esp, 8
jmp 0x4e5540
mov eax, dword [esp + 0x9c]
xor esi, esi
cwde
test eax, eax
jle 0x4e548d
mov eax, dword [esp + 0x60]
mov edx, ecx
add eax, esi
mov ecx, edi
push eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x14]
call fcn.004b63b0
mov ecx, dword [esp + 0xa8]
inc esi
movsx eax, cx
add esp, 0xc
mov ecx, dword [esp + 0x10]
cmp esi, eax
jl 0x4e5457
mov edx, dword [esp + 0x54]
test edx, edx
je 0x4e54e8
mov eax, dword [esp + 0xac]
test eax, eax
je 0x4e54cd
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
jne 0x4e54cd
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.0049bdb0
add esp, 4
mov word [esi], 0xaa
mov dword [esi + 0x10], 0
mov eax, dword [esp + 0x9c]
movsx esi, ax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xb8], esi
mov dword [esp + 0x40], eax
jmp 0x4e553c
mov edx, dword [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x8c]
call fcn.004cd960
add esp, 4
mov edx, 0x5c
mov ecx, edi
push eax
push dword [esp + 0x48]
mov eax, dword [esp + 0xa8]
movsx esi, ax
push esi
push dword [esp + 0x70]
call fcn.0049b550
add esp, 0x14
mov edx, 0x84
mov ecx, edi
push esi
push dword [esp + 0x64]
push dword [esp + 0x48]
push dword [esp + 0x78]
call fcn.0049b780
add esp, 0x10
mov esi, dword [esp + 0x54]
cmp dword [esp + 0x70], 0
jne 0x4e57f9
cmp esi, 2
je 0x4e5559
mov ecx, dword [esp + 0x78]
call fcn.004f61b0
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x4e562e
mov edx, dword [esp + 0x54]
xor esi, esi
test edx, edx
je 0x4e55ab
mov eax, dword [esp + 0x24]
test eax, eax
js 0x4e5589
sub eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x64]
mov byte [eax + ecx], 0
mov ecx, dword [esp + 0x98]
test ecx, ecx
js 0x4e55b2
mov edi, dword [esp + 0x64]
mov eax, ecx
sub eax, dword [esp + 0xa8]
mov byte [eax + edi], 0
mov edi, dword [esp + 0x48]
jmp 0x4e55b2
mov ecx, dword [esp + 0x98]
cmp edx, 2
jne 0x4e55d9
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0xa0]
setns al
sub ecx, eax
test ecx, ecx
jle 0x4e55d9
mov edx, 0x11
mov ecx, edi
call fcn.0049b150
mov esi, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
push 0
push 0
push dword [esp + 0x6c]
push dword [esp + 0xb4]
push 0
push 0x62
call fcn.004d0fd0
add esp, 0x18
test esi, esi
je 0x4e5623
mov edx, dword [edi + 0x6c]
jns 0x4e5608
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4e5617
mov eax, 0x717f0c
jmp 0x4e5620
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 + 0x54]
test esi, esi
je 0x4e56dc
test eax, eax
jne 0x4e566c
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x24], eax
je 0x4e566c
cmp dword [esp + 0x98], eax
je 0x4e566c
push dword [esp + 0xb8]
mov edx, 0x1c
mov ecx, edi
push dword [esp + 0x44]
push dword [esp + 0x60]
push eax
call fcn.0049b780
add esp, 0x10
cmp esi, 1
je 0x4e567f
mov eax, dword [esp + 8]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x30], 0
mov edx, dword [esp + 0x18]
cmovne edx, dword [esp + 0x40]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e56b0
push 0
push dword [esp + 0x5c]
mov ecx, edi
push edx
mov edx, 0x32
call fcn.0049b0a0
add esp, 0xc
jmp 0x4e57f9
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 + 0x58]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
jmp 0x4e57f1
cmp dword [esp + 0x30], 0
je 0x4e573f
mov eax, dword [esp + 8]
mov edx, 0x24
push dword [esp + 0x58]
mov ecx, edi
push dword [esp + 0x70]
dec dword [eax + 0x38]
mov esi, dword [eax + 0x38]
mov dword [esp + 0x34], esi
call fcn.0049b210
push dword [esp + 0x48]
mov edx, 0x7f
mov ecx, edi
push dword [esp + 0x78]
call fcn.0049b210
push 0
push dword [esp + 0x54]
mov edx, 0x1c
mov dword [esp + 0xd8], eax
push esi
push dword [esp + 0x28]
mov ecx, edi
call fcn.0049b780
add esp, 0x20
jmp 0x4e57f9
mov esi, dword [edi + 0x6c]
mov dword [esp + 0x2c], esi
cmp dword [edi + 0x70], esi
jg 0x4e5775
push dword [esp + 0x18]
mov edx, 0x29
mov ecx, edi
push dword [esp + 0x5c]
push dword [esp + 0x94]
call fcn.0049b0a0
mov edx, dword [esp + 0x24]
mov esi, eax
add esp, 0xc
mov dword [esp + 0x2c], esi
jmp 0x4e57ab
mov edx, dword [esp + 0x8c]
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 + 0x58]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x18]
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 0x4e57ca
push edx
push esi
push dword [esp + 0x14]
mov edx, 0x1f
mov ecx, edi
call fcn.0049b0a0
add esp, 0xc
jmp 0x4e57f9
mov edx, dword [esp + 0xc]
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 + 0x18]
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 0x4e58ac
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x4e5829
cmp byte [eax], 0xab
jne 0x4e5829
mov esi, dword [esp + 8]
mov edx, 0x4e
push dword [esp + 0x34]
push dword [eax + 0x1c]
mov ecx, dword [esi + 8]
jmp 0x4e5853
push dword [esp + 0x34]
mov esi, dword [esp + 0xc]
mov edx, eax
mov ecx, esi
call fcn.004b6620
mov edx, dword [esp + 0x38]
add esp, 4
cmp eax, edx
je 0x4e585f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4e585f
push edx
push eax
mov edx, 0x4f
call fcn.0049b210
mov edx, dword [esp + 0x3c]
add esp, 8
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e587d
push 0
push 0
push edx
mov edx, 0xf
mov ecx, edi
call fcn.0049b0a0
add esp, 0xc
jmp 0x4e58ac
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 0x4e5965
cmp dword [esp + 0x4c], 0
jne 0x4e5970
mov edx, dword [esp + 0x28]
test edx, edx
je 0x4e5a5c
xor eax, eax
push dword [ebp + 0x10]
mov edx, dword [esp + 0x2c]
push dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 3
push 0
push dword [esp + 0x4c]
mov dword [esp + 0x64], eax
call fcn.004e45a0
mov edx, dword [esp + 0x64]
xor ecx, ecx
or edx, eax
add esp, 0x14
mov eax, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x50], edx
cmp cx, word [eax + 0x2a]
jge 0x4e59f4
mov dword [esp + 0x24], ecx
cmp edx, 0xffffffff
je 0x4e59ba
cmp esi, 0x20
jge 0x4e5936
mov eax, 1
mov ecx, esi
shl eax, cl
test edx, eax
jne 0x4e59ba
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xf], 1
jne 0x4e59ba
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e5982
mov eax, dword [esp + 0x5c]
mov edx, 0x49
push 0
add eax, esi
mov ecx, edi
push eax
push 0
call fcn.0049b0a0
jmp 0x4e59d1
cmp dword [esp + 0x4c], 0
je 0x4e58ce
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
call fcn.004cce50
jmp 0x4e58d0
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 + 0x5c]
add eax, esi
mov dword [ecx + 0x10], 0
mov dword [ecx + 8], eax
jmp 0x4e59d8
mov eax, dword [esp + 0x5c]
mov ecx, edi
mov edx, dword [esp + 0x10]
add eax, esi
push eax
push esi
push dword [esp + 0x14]
call fcn.004b63b0
mov edx, dword [esp + 0x5c]
add esp, 0xc
mov eax, dword [esp + 0x10]
inc esi
mov ecx, dword [esp + 0x24]
add ecx, 0x10
mov dword [esp + 0x24], ecx
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x4e5913
cmp byte [esp + 0x17], 0
jne 0x4e5a58
cmp dword [esp + 0x30], 0
jne 0x4e5a58
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e5a25
push 0
push dword [esp + 0x38]
mov edx, 0x4e
mov ecx, edi
push dword [esp + 0x20]
call fcn.0049b0a0
add esp, 0xc
jmp 0x4e5a58
mov edx, dword [esp + 0x18]
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 + 0x34]
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 + 0x28]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0xc]
push dword [esp + 0x14]
push 1
push 1
push dword [esp + 0x4c]
call fcn.004e45a0
mov edx, eax
xor ecx, ecx
mov eax, dword [esp + 0x24]
xor esi, esi
add esp, 0x14
mov dword [esp + 0x20], edx
mov dword [esp + 0xac], ecx
cmp si, word [eax + 0x2a]
jge 0x4e5c68
mov esi, dword [esp + 0xb4]
nop dword [eax]
movsx eax, word [eax + 0x28]
cmp ecx, eax
jne 0x4e5afe
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e5ac6
push 0
push esi
push 0
mov edx, 0x49
mov ecx, edi
call fcn.0049b0a0
jmp 0x4e5c3d
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x48]
mov dword [eax + ecx*4], 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 0x4e5c44
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + ecx*4]
test eax, eax
js 0x4e5be3
mov ecx, dword [esp + 0x3c]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*8 + 4]
test edx, edx
je 0x4e5b86
cmp byte [edx], 0xab
jne 0x4e5b86
mov ecx, dword [esp + 8]
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x5c], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x24], ecx
mov edx, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], edx
jg 0x4e5b4e
push 0
push esi
push eax
mov edx, 0x4e
call fcn.0049b0a0
jmp 0x4e5c3d
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x4e
mov edx, dword [esp + 0x5c]
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 0x4e5c40
mov ecx, dword [esp + 8]
push esi
call fcn.004b6620
add esp, 4
mov dword [esp + 0x5c], eax
cmp eax, esi
je 0x4e5c40
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x4e5c40
mov edx, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], edx
jg 0x4e5bca
push 0
push esi
push eax
mov edx, 0x4f
call fcn.0049b0a0
jmp 0x4e5c3d
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x4f
jmp 0x4e5b65
test dword [esp + 0xbc], 1
je 0x4e5c2c
cmp ecx, 0x1f
jg 0x4e5c2c
mov eax, 1
shl eax, cl
test edx, eax
jne 0x4e5c2c
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jle 0x4e5ab0
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 0x4e5b6d
mov edx, dword [esp + 0x10]
push esi
push ecx
push dword [esp + 0x14]
mov ecx, edi
call fcn.004b63b0
add esp, 0xc
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc esi
mov ecx, dword [esp + 0xac]
inc ecx
mov dword [esp + 0xac], ecx
movsx eax, word [eax + 0x2a]
cmp ecx, eax
mov eax, dword [esp + 0x10]
jl 0x4e5aa0
test byte [esp + 0xbc], 1
je 0x4e5e0b
push dword [esp + 0xb4]
mov edx, eax
mov ecx, edi
call fcn.004cda50
mov eax, dword [esp + 0x2c]
add esp, 4
mov esi, eax
test eax, eax
je 0x4e5cd8
mov edi, dword [esp + 0x2c]
cmp byte [esi + 8], 0x7d
jne 0x4e5ccd
cmp byte [esi + 9], 1
jne 0x4e5ccd
mov edx, dword [esp + 0x3c]
mov ecx, dword [esi + 0x10]
call fcn.004e3a40
test eax, eax
je 0x4e5ccd
mov ecx, dword [esp + 8]
mov edx, esi
push edi
push dword [ebp + 0x10]
push dword [esp + 0x20]
push dword [esp + 0x1c]
call fcn.004e4450
add esp, 0x10
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x4e5c97
mov edi, dword [esp + 0x48]
cmp dword [esp + 0x30], 0
je 0x4e5dae
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x4e5d0a
push dword [esp + 0x40]
mov edx, 0x1c
mov ecx, edi
push dword [esp + 0x30]
push dword [esp + 0x14]
call fcn.0049b0a0
add esp, 0xc
mov edx, eax
jmp 0x4e5d3d
mov esi, dword [esp + 0xc]
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 + 0x40]
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 0x4e5d5b
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0xb8]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
xor eax, eax
xor esi, esi
cmp ax, word [ecx + 0x2a]
jge 0x4e5e0f
mov eax, dword [esp + 0x1c]
cmp dword [eax + esi*4], 0
jge 0x4e5d9f
movsx eax, word [ecx + 0x28]
cmp esi, eax
je 0x4e5d9f
mov eax, dword [esp + 0xb4]
add eax, esi
push eax
push esi
push edx
mov edx, ecx
mov ecx, edi
call fcn.004b63b0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
movsx eax, word [ecx + 0x2a]
inc esi
mov edx, dword [esp + 0xc]
cmp esi, eax
jl 0x4e5d71
jmp 0x4e5e0f
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e5dd3
push dword [esp + 0x18]
mov edx, 0x1f
mov ecx, edi
push dword [esp + 0x30]
push dword [esp + 0x14]
call fcn.0049b0a0
add esp, 0xc
jmp 0x4e5d5b
mov esi, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov edx, dword [esp + 0xc]
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 + 0x18]
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 0x4e5d5f
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x90], 0
mov esi, dword [esp + 0x2c]
jne 0x4e6096
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x140]
mov edx, ecx
mov ecx, dword [esp + 0x10]
push eax
push esi
push dword [ebp + 0x10]
push dword [esp + 0x58]
push dword [esp + 0x30]
push dword [esp + 0x50]
push dword [esp + 0xb4]
push dword [esp + 0x30]
push dword [esp + 0x90]
call fcn.004cf360
add esp, 0x2c
cmp dword [esp + 0x138], 0
jne 0x4e5e74
cmp byte [esp + 0x44], 0
je 0x4e5ef8
cmp dword [esp + 0x30], 0
je 0x4e5f7e
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x4e5ea3
push dword [esp + 0x40]
mov edx, 0x1c
mov ecx, edi
push esi
push dword [esp + 0x14]
call fcn.0049b0a0
add esp, 0xc
mov edx, eax
jmp 0x4e5eda
mov esi, dword [esp + 0xc]
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 + 0x40]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4e5ef8
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0xb8]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x4c], 0
je 0x4e5f21
push dword [esp + 0xa4]
mov ecx, dword [esp + 0xc]
push dword [esp + 0x20]
push 0
push edx
mov edx, dword [esp + 0x20]
call fcn.004cc830
add esp, 0x10
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
push dword [esp + 0x6c]
push dword [esp + 0x9c]
push dword [esp + 0x18]
call fcn.004c7960
mov edx, dword [esp + 0x5c]
add esp, 0x10
cmp edx, 1
jg 0x4e5f56
cmp byte [esp + 0x44], 0
je 0x4e600e
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e5fd7
push 0
push 0
push dword [esp + 0x14]
mov edx, 0x7b
mov ecx, edi
call fcn.0049b0a0
mov edx, dword [esp + 0x58]
add esp, 0xc
jmp 0x4e600e
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e5fa3
push dword [esp + 0x18]
mov edx, 0x1f
mov ecx, edi
push esi
push dword [esp + 0x14]
call fcn.0049b0a0
add esp, 0xc
jmp 0x4e5ef8
mov edx, dword [esp + 0xc]
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 + 0x18]
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
jmp 0x4e5efc
mov esi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x7b
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test edx, edx
je 0x4e6033
push dword [esp + 0xa4]
mov edx, dword [esp + 0x14]
push dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push dword [esp + 0x3c]
push 0
call fcn.004cc830
add esp, 0x10
mov edx, dword [esp + 0x10]
xor eax, eax
cmp dword [esp + 0x54], 2
mov ecx, dword [esp + 8]
push 0
sete al
push 0
lea eax, [eax*2 + 4]
push eax
push dword [esp + 0x74]
push dword [esp + 0x44]
push dword [esp + 0xa8]
push dword [esp + 0x24]
call fcn.004d0d20
add esp, 0x1c
cmp dword [esp + 0x4c], 0
je 0x4e6096
push dword [esp + 0xa4]
mov edx, dword [esp + 0x14]
push dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push dword [esp + 0x20]
push dword [esp + 0x48]
call fcn.004cd6c0
add esp, 0x10
mov edx, dword [esp + 0xc4]
test edx, edx
je 0x4e60f2
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e60bf
push 0
push 1
push edx
mov edx, 0x53
mov ecx, edi
call fcn.0049b0a0
add esp, 0xc
jmp 0x4e60f2
mov esi, dword [esp + 0x2c]
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 eax, dword [esp + 0x28]
test eax, eax
je 0x4e6149
mov edi, dword [esp + 8]
nop
cmp byte [eax + 8], 0x7d
jne 0x4e613a
cmp byte [eax + 9], 2
jne 0x4e613a
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax + 0x10]
call fcn.004e3a40
test eax, eax
je 0x4e6136
mov edx, dword [esp + 0x28]
mov ecx, edi
push esi
push dword [ebp + 0x10]
push dword [esp + 0x20]
push dword [esp + 0x1c]
call fcn.004e4450
add esp, 0x10
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x4e6100
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x54]
cmp eax, 1
je 0x4e625e
cmp eax, 2
jne 0x4e6198
mov ecx, dword [edi + 0xc]
not esi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e6181
push esi
mov edx, edi
call fcn.0049b880
mov ecx, dword [esp + 0x7c]
add esp, 4
call fcn.004f61b0
jmp 0x4e625e
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + esi*4], eax
mov ecx, dword [esp + 0x78]
call fcn.004f61b0
jmp 0x4e625e
cmp dword [esp + 0x30], 0
je 0x4e6211
mov ecx, dword [edi + 0xc]
not esi
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e61b9
push esi
mov edx, edi
call fcn.0049b880
add esp, 4
jmp 0x4e61c2
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 0x4e61e9
mov edx, dword [esp + 0xc0]
mov ecx, edi
push 0
push edx
push dword [esp + 0x74]
mov edx, 5
call fcn.0049b0a0
add esp, 0xc
jmp 0x4e625e
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 + 0xc0]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
jmp 0x4e624e
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e622f
push 0
push esi
push 0
mov edx, 0xb
mov ecx, edi
call fcn.0049b0a0
add esp, 0xc
jmp 0x4e625e
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 + 0x58]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e627c
push edx
mov edx, edi
call fcn.0049b880
add esp, 4
jmp 0x4e6285
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 0x4e62a9
cmp dword [eax + 0x78], 0
jne 0x4e62a9
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x4e62a9
cmp dword [eax + 0x70], ecx
je 0x4e62a9
mov ecx, eax
call fcn.004cde50
mov edx, dword [esp + 0xc4]
test edx, edx
je 0x4e6369
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e62d6
push 0
push 1
push edx
mov edx, 0x51
mov ecx, edi
call fcn.0049b0a0
add esp, 0xc
jmp 0x4e6305
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.0049d300
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4e6369
mov edi, dword [edi + 0x74]
mov esi, str.rows_updated
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4e6324
sub esi, ecx
mov eax, 0x2400
and esi, 0x7fffffff
test word [edi + 8], ax
jne 0x4e6344
cmp dword [edi + 0x18], 0
je 0x4e634b
mov ecx, edi
call fcn.00499bb0
mov eax, 0xa02
mov dword [edi + 0x10], str.rows_updated
mov dword [edi + 0x24], 0
mov dword [edi + 0xc], esi
mov word [edi + 8], ax
mov byte [edi + 0xa], 1
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
test ecx, ecx
je 0x4e6382
mov eax, dword [esp + 0xc8]
mov dword [ecx + 0xf0], eax
mov esi, dword [esp + 0x84]
test edi, edi
je 0x4e6421
test esi, esi
je 0x4e63c9
cmp dword [esi + 0x1e8], 0
je 0x4e63a9
mov edx, edi
mov ecx, esi
call fcn.004795e0
jmp 0x4e6421
cmp edi, dword [esi + 0x138]
jb 0x4e63c9
cmp edi, dword [esi + 0x13c]
jae 0x4e63c9
mov eax, dword [esi + 0x134]
mov dword [edi], eax
mov dword [esi + 0x134], edi
jmp 0x4e6421
cmp dword [0x70c868], 0
je 0x4e6417
mov eax, dword [0x717aa0]
test eax, eax
je 0x4e63e5
push eax
call dword [0x70c8b8]
add esp, 4
push edi
call dword [0x70c894]
sub dword [0x717ad8], eax
add esp, 4
dec dword [0x717afc]
push edi
call dword [0x70c88c]
mov eax, dword [0x717aa0]
add esp, 4
test eax, eax
je 0x4e6421
push eax
call dword [0x70c8c0]
jmp 0x4e641e
push edi
call dword [0x70c88c]
add esp, 4
mov edx, dword [esp + 0x74]
mov ecx, esi
call fcn.004c4900
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4e643d
mov edx, eax
mov ecx, esi
call fcn.004b2f20
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4e6451
mov edx, eax
mov ecx, esi
call fcn.004b1ce0
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.00621f5c
mov esp, ebp
pop ebp
ret