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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x513040]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], edi
cmp dword [edi + 0x28], 0
mov edx, dword [edi]
mov dword [esp + 0x64], esi
mov dword [esp + 0x9c], eax
mov dword [esp + 0xc4], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x90], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0xcc], 1
mov dword [esp + 0xc8], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x48], 0
movlpd qword [esp + 0xa4], xmm0
mov dword [esp + 0x88], edx
jne 0x4c0d46
mov edx, dword [esp + 0x7c]
call fcn.0048f870
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x4c0d42
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x50], 0xffff8000
test ecx, ecx
je 0x4be98f
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x50], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4be98f
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4be983
mov dword [esp + 0x50], edx
cmp dword [esi + 0x38], 0
jne 0x4be9a7
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4be9b0
cmp dword [eax + 0x30], 0
je 0x4be9b0
cmp byte [edi + 0xa5], 0
je 0x4be9c5
mov dword [esp + 0xd4], 0
mov dword [esp + 0x58], 0
jmp 0x4be9f5
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0xdc]
push eax
push ecx
push 0x82
mov edx, esi
mov ecx, edi
call fcn.004bcb70
mov dword [esp + 0x64], eax
add esp, 0xc
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x7c]
mov cl, byte [esi + 0x2b]
mov byte [esp + 0x1b], cl
cmp dword [eax], 1
jle 0x4bea11
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
jmp 0x4bea19
mov dword [esp + 0x30], 0
cmp cl, 1
je 0x4bea25
cmp word [esi + 0x22], 0
jg 0x4bea36
mov edx, esi
mov ecx, edi
call fcn.00489e10
test eax, eax
jne 0x4c0d42
push dword [esp + 0x58]
mov edx, esi
mov ecx, edi
call fcn.0048f9e0
add esp, 4
test eax, eax
jne 0x4c0d42
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xbc], eax
lea ecx, [eax + 1]
mov dword [edi + 0x2c], ecx
test byte [esi + 0x1c], 0x80
mov dword [esp + 0xc0], ecx
jne 0x4bea79
mov dword [esp + 0x34], 0
jmp 0x4bea9c
mov ecx, dword [esi + 8]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x4bea9c
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4bea94
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4bea84
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 8]
xor edx, edx
mov dword [esp + 0xa0], edx
test ecx, ecx
je 0x4beadc
mov edx, dword [edi + 0x2c]
nop
cmp dword [esp + 0x34], ecx
mov eax, edx
cmovne eax, dword [esp + 0x10]
inc edx
inc dword [esp + 0xa0]
mov dword [edi + 0x2c], edx
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x10], eax
test ecx, ecx
jne 0x4beab0
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x4beb06
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xbc]
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x7c]
push 0
mov dword [ecx + 0x34], eax
movsx eax, word [esi + 0x22]
mov ecx, dword [esp + 0x8c]
add eax, edx
lea eax, [eax*4 + 6]
add eax, edx
push eax
call fcn.0042f570
mov ecx, eax
add esp, 8
mov dword [esp + 0x4c], ecx
test ecx, ecx
je 0x4c0d42
movsx eax, word [esi + 0x22]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x98], ecx
lea ecx, [ecx + eax*4]
inc eax
push eax
add ecx, 4
push 1
push ecx
mov dword [esp + 0xa0], ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0xac]
add esp, 0xc
mov ecx, dword [esp + 0x94]
mov byte [ecx + eax + 1], 0
xor eax, eax
xor ecx, ecx
cmp ax, word [esi + 0x22]
jge 0x4beba4
mov edi, dword [esp + 0x4c]
nop dword [eax]
mov dword [edi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [esi + 0x22]
cmp ecx, eax
jl 0x4beb90
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x7c]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x108], eax
mov eax, dword [edi + 8]
movlpd qword [esp + 0x110], xmm0
mov dword [esp + 0x118], 0
movlpd qword [esp + 0x120], xmm0
mov dword [esp + 0x104], edi
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x11c], 0x200
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4bec21
cmp dword [edi + 0x84], eax
jne 0x4bec0e
mov eax, dword [edi]
test byte [eax + 0x50], 8
jne 0x4bec0e
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.00457d00
mov dword [esp + 0xc], eax
test eax, eax
je 0x4c0d32
mov ecx, dword [esp + 0x5c]
xor al, al
mov byte [esp + 0x3b], al
mov byte [esp + 0x22], al
mov dword [esp + 0x40], 0
cmp dword [ecx], 0
jle 0x4bee64
lea esi, [ecx + 8]
mov dword [esp + 0x28], esi
mov ecx, dword [esi + 4]
xor dl, dl
mov byte [esp + 0x23], dl
test ecx, ecx
jne 0x4bec5a
mov byte [esp + 0x23], dl
jmp 0x4bec76
mov al, byte [ecx]
test al, al
je 0x4bec76
movzx eax, al
lea ecx, [ecx + 1]
add dl, byte [eax + 0x506c98]
mov al, byte [ecx]
test al, al
jne 0x4bec60
mov byte [esp + 0x23], dl
cmp dword [esp + 0x30], 0
jne 0x4bec93
mov edx, dword [esi]
lea ecx, [esp + 0x104]
call fcn.00470b30
test eax, eax
jne 0x4c0d32
mov edx, dword [esp + 0x1c]
xor edi, edi
movsx eax, word [edx + 0x22]
mov dword [esp + 0x44], eax
test eax, eax
jle 0x4bed4b
mov eax, dword [edx + 4]
mov cl, byte [esp + 0x23]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x68], eax
nop dword [eax + eax]
cmp byte [eax + 0xa], cl
jne 0x4bed37
mov esi, dword [esi + 4]
mov edx, dword [eax]
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4bed12
test ecx, ecx
jne 0x4bed24
mov edx, dword [esp + 0x1c]
movsx eax, word [edx + 0x20]
cmp edi, eax
jne 0x4bed96
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x22], 1
mov eax, dword [esi]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov dword [ecx + edi*4], eax
jmp 0x4bed4f
movzx eax, byte [eax + 0x506c98]
movzx ecx, byte [ecx + 0x506c98]
sub ecx, eax
jne 0x4bed27
inc edx
jmp 0x4becd0
mov eax, dword [esp + 0x68]
mov cl, byte [esp + 0x23]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
inc edi
add eax, 0x10
mov dword [esp + 0x68], eax
cmp edi, edx
jl 0x4becc0
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
movsx eax, word [edx + 0x22]
cmp edi, eax
jl 0x4bede7
cmp dword [esp + 0x34], 0
jne 0x4beee3
mov ecx, dword [esi + 4]
call fcn.004747d0
test eax, eax
je 0x4beee3
mov eax, dword [esi]
or edi, 0xffffffff
mov dword [esp + 0x8c], eax
mov edx, str.ROWID
mov eax, dword [esp + 0x40]
mov byte [esp + 0x22], 1
mov dword [esp + 0x78], eax
jmp 0x4bedfc
cmp dword [esp + 0x34], 0
je 0x4bedc1
mov eax, dword [edx + 4]
mov ecx, edi
add ecx, ecx
test byte [eax + ecx*8 + 0xe], 1
je 0x4bedc1
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
mov byte [esp + 0x3b], 1
mov dword [ecx + edi*4], eax
jmp 0x4bed4f
mov eax, dword [edx + 4]
mov ecx, edi
add ecx, ecx
test byte [eax + ecx*8 + 0xe], 0x60
jne 0x4beeca
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
mov dword [ecx + edi*4], eax
jmp 0x4bed4f
test edi, edi
jns 0x4bedf2
mov edx, str.ROWID
jmp 0x4bedfc
mov eax, dword [edx + 4]
mov ecx, edi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x50]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
push dword [edx]
mov edx, 0x17
call fcn.00484700
add esp, 0xc
cmp eax, 1
je 0x4c0d32
cmp eax, 2
jne 0x4bee40
mov eax, dword [esp + 0x4c]
mov dword [eax + edi*4], 0xffffffff
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x5c]
inc eax
mov esi, dword [esp + 0x28]
add esi, 0x14
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], esi
cmp eax, dword [ecx]
jl 0x4bec47
mov al, byte [esp + 0x3b]
mov edx, dword [esp + 0x1c]
add al, byte [esp + 0x22]
mov byte [esp + 0x54], al
test byte [edx + 0x1c], 0x60
je 0x4befc2
nop word [eax + eax]
xor ecx, ecx
xor eax, eax
xor esi, esi
mov dword [esp + 0x44], ecx
cmp ax, word [edx + 0x22]
jge 0x4befc2
xor edi, edi
nop word [eax + eax]
mov eax, dword [esp + 0x4c]
cmp dword [eax + esi*4], 0
jge 0x4befaa
mov eax, dword [edx + 4]
test byte [eax + edi + 0xe], 0x60
je 0x4befaa
movzx eax, word [eax + edi + 0xc]
test ax, ax
jne 0x4bef0d
xor edx, edx
jmp 0x4bef2d
push dword [eax + ecx*8]
push str.cannot_UPDATE_generated_column___s_
push dword [esp + 0x1c]
call fcn.00432d50
add esp, 0xc
jmp 0x4c0d32
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x14]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 0xc]
push str.no_such_column:__s
push esi
call fcn.00432d50
add esp, 0xc
mov byte [esi + 0x11], 1
jmp 0x4c0d32
cmp byte [edx + 0x2b], 0
je 0x4bef17
xor edx, edx
jmp 0x4bef2d
mov edx, dword [edx + 0x34]
test edx, edx
je 0x4bef2d
cmp dword [edx], eax
jge 0x4bef26
xor edx, edx
jmp 0x4bef2d
lea eax, [eax + eax*4]
mov edx, dword [edx + eax*4 - 0xc]
mov eax, dword [esp + 0x4c]
xorps xmm0, xmm0
movaps xmmword [esp + 0xe0], xmm0
mov dword [esp + 0xf8], 0
movq qword [esp + 0xf0], xmm0
mov dword [esp + 0xe4], 0x49c900
mov dword [esp + 0xf8], eax
test edx, edx
je 0x4bef76
lea ecx, [esp + 0xe0]
call fcn.0046d580
mov ecx, dword [esp + 0x44]
cmp byte [esp + 0x22], 0
mov ax, word [esp + 0xf4]
jne 0x4bef8d
mov edx, 0xfffd
and ax, dx
mov edx, dword [esp + 0x1c]
test ax, ax
je 0x4befaa
mov eax, dword [esp + 0x4c]
mov ecx, 1
mov dword [esp + 0x44], ecx
mov dword [eax + esi*4], 0x1869f
movsx eax, word [edx + 0x22]
inc esi
add edi, 0x10
cmp esi, eax
jl 0x4beea0
test ecx, ecx
jne 0x4bee80
cmp byte [edx + 0x2b], 1
jne 0x4befd0
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x4befea
xorps xmm0, xmm0
movlpd qword [esp + 0xb0], xmm0
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
mov esi, dword [esp + 0x7c]
mov dword [esi + 0x40], eax
movzx eax, byte [esp + 0x54]
push eax
push dword [esp + 0x50]
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 0x1c]
call fcn.00498880
add esp, 8
mov dword [esp + 0x74], eax
cmp dword [ebp + 0x10], 5
jne 0x4bf01f
mov dword [esp + 0x128], 1
mov edx, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x68], edi
mov esi, dword [edx + 8]
test esi, esi
je 0x4bf1d2
mov edi, dword [esp + 0x94]
inc edi
mov dword [esp + 0x28], edi
cmp byte [esp + 0x54], 0
jne 0x4bf33b
cmp eax, 1
jg 0x4bf33b
cmp esi, dword [esp + 0x34]
je 0x4bf33b
mov edx, dword [esi + 0x24]
test edx, edx
je 0x4bf0cd
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0xe0]
xorps xmm0, xmm0
mov dword [esp + 0xf8], 0
movaps xmmword [esp + 0xe0], xmm0
movq qword [esp + 0xf0], xmm0
mov dword [esp + 0xe4], 0x49c900
mov dword [esp + 0xf8], eax
call fcn.0046d580
cmp byte [esp + 0x22], 0
mov cx, word [esp + 0xf4]
jne 0x4bf0bd
mov eax, 0xfffd
and cx, ax
xor eax, eax
test cx, cx
setne al
test eax, eax
jne 0x4bf33b
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [esp + 0xb0], ecx
cmp ax, word [esi + 0x32]
jae 0x4bf1a0
mov dword [esp + 0x44], ecx
nop dword [eax + eax]
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x4bf10e
mov edx, dword [esp + 0x4c]
cwde
mov eax, dword [edx + eax*4]
not eax
shr eax, 0x1f
jmp 0x4bf17d
mov eax, dword [esi + 0x28]
xorps xmm0, xmm0
movaps xmmword [esp + 0xe0], xmm0
mov dword [esp + 0xf8], 0
movq qword [esp + 0xf0], xmm0
mov edx, dword [eax + ecx + 8]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xe4], 0x49c900
mov dword [esp + 0xf8], eax
test edx, edx
je 0x4bf15a
lea ecx, [esp + 0xe0]
call fcn.0046d580
cmp byte [esp + 0x22], 0
mov cx, word [esp + 0xf4]
jne 0x4bf171
mov eax, 0xfffd
and cx, ax
xor eax, eax
test cx, cx
mov ecx, dword [esp + 0x44]
setne al
test eax, eax
jne 0x4bf30a
movzx eax, word [esi + 0x32]
inc edi
add ecx, 0x14
mov dword [esp + 0x44], ecx
cmp edi, eax
jl 0x4bf0f0
mov ecx, dword [esp + 0xb0]
mov edi, dword [esp + 0x28]
mov byte [edi], 0
mov eax, dword [esp + 0x68]
inc edi
mov edx, dword [esp + 0x98]
mov dword [esp + 0x28], edi
mov dword [edx + eax*4], ecx
inc eax
mov esi, dword [esi + 0x14]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
test esi, esi
jne 0x4bf040
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x98]
inc dword [esi + 0x30]
mov eax, dword [esi + 0x30]
mov dword [ecx + edi*4], eax
cmp dword [esp + 0x128], 0
je 0x4bf20a
mov eax, dword [esp + 0xa0]
inc eax
push eax
push 1
push dword [esp + 0x9c]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp byte [esi + 0x12], 0
jne 0x4bf21b
mov eax, dword [esp + 0xc]
or dword [eax + 0x98], 0x10
cmp dword [esp + 0x58], 0
jne 0x4bf22e
cmp dword [esp + 0x74], 0
mov byte [esp + 0x23], 0
je 0x4bf233
mov byte [esp + 0x23], 1
mov eax, dword [esi + 0x84]
test eax, eax
mov ecx, dword [esp + 0x50]
cmovne esi, eax
mov eax, 1
shl eax, cl
mov edx, dword [esi + 0x60]
test edx, eax
jne 0x4bf266
bts edx, ecx
mov dword [esi + 0x60], edx
cmp ecx, 1
jne 0x4bf266
mov ecx, esi
call fcn.0048e0d0
mov ecx, dword [esp + 0x50]
mov eax, dword [esi + 0x5c]
bts eax, ecx
mov dword [esi + 0x5c], eax
mov al, byte [esp + 0x23]
or byte [esi + 0x14], al
mov esi, dword [esp + 0x1c]
cmp byte [esi + 0x2b], 1
je 0x4bf35c
mov eax, dword [esp + 0x98]
mov eax, dword [eax + edi*4]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov edx, dword [edi + 0x30]
inc edx
cmp byte [esp + 0x3b], 0
mov dword [esp + 0x70], edx
mov dword [edi + 0x30], edx
mov dword [esp + 0x24], edx
jne 0x4bf2c0
cmp dword [esp + 0x58], 0
jne 0x4bf2c0
mov eax, dword [esp + 0x74]
mov ecx, edx
test eax, eax
je 0x4bf2d7
movsx ecx, word [esi + 0x22]
lea eax, [edx + 1]
add ecx, edx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x74]
mov dword [edi + 0x30], ecx
cmp byte [esp + 0x54], 0
jne 0x4bf2e9
cmp dword [esp + 0x58], 0
jne 0x4bf2e9
test eax, eax
je 0x4bf2f5
lea eax, [ecx + 1]
mov dword [esp + 0x70], eax
mov ecx, eax
mov dword [edi + 0x30], eax
lea eax, [ecx + 1]
mov dword [esp + 0xac], eax
movsx eax, word [esi + 0x22]
add eax, ecx
mov dword [edi + 0x30], eax
jmp 0x4bf360
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov ecx, dword [edx + 0x30]
inc ecx
mov dword [edx + 0x30], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
cmp dword [ebp + 0x10], 0xb
mov dword [edx + 0x30], eax
jne 0x4bf34f
cmp byte [esi + 0x36], 5
jne 0x4bf34f
mov dword [esp + 0x128], 1
jmp 0x4bf34f
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x30]
inc ecx
mov dword [edx + 0x30], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
mov dword [edx + 0x30], eax
test ecx, ecx
jne 0x4bf1a7
jmp 0x4bf1a4
mov edi, dword [esp + 0x14]
mov cl, byte [esp + 0x1b]
cmp cl, 2
jne 0x4bf38b
mov ecx, dword [edi + 0x108]
mov eax, dword [esi]
mov dword [esp + 0xb0], ecx
mov cl, byte [esp + 0x1b]
mov dword [esp + 0xd8], edi
mov dword [edi + 0x108], eax
jmp 0x4bf3a7
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xb0], eax
cmp dword [esp + 0x30], 0
jne 0x4bf3e3
cmp cl, 2
jne 0x4bf3cb
push dword [esp + 0x10]
mov edx, esi
mov ecx, edi
push 0
push 0
push dword [esp + 0x70]
call fcn.0048fb20
add esp, 0x10
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x104]
call fcn.00470b30
test eax, eax
jne 0x4c0d1a
cmp byte [esi + 0x2b], 1
jne 0x4bf416
push dword [ebp + 0x10]
mov edx, dword [esp + 0x80]
mov ecx, edi
push dword [esp + 0x68]
push dword [esp + 0x54]
push dword [esp + 0x98]
push dword [esp + 0x6c]
push esi
call fcn.004c0da0
add esp, 0x18
jmp 0x4c0d1a
dec dword [edi + 0x3c]
mov eax, dword [edi + 0x3c]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x4bf48d
cmp dword [edi + 0x88], 0
jne 0x4bf48d
cmp byte [edi + 0x12], 0
jne 0x4bf48d
cmp byte [edi + 0xa3], 0
jne 0x4bf48d
cmp dword [esp + 0x9c], 0
mov edx, dword [esp + 0xc]
jne 0x4bf491
mov eax, dword [edi + 0x30]
inc eax
mov dword [edi + 0x30], eax
mov ecx, dword [edx + 0x6c]
mov dword [esp + 0xc8], eax
cmp dword [edx + 0x70], ecx
jg 0x4bf4d5
mov ecx, dword [esp + 0xc]
mov edx, 0x47
push 0
push eax
push 0
call fcn.00457f50
add esp, 0xc
mov edx, dword [esp + 0xc]
cmp dword [esp + 0x30], 0
jne 0x4bf621
test byte [esi + 0x1c], 0x80
jne 0x4bf621
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4bf511
push dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov edx, 0x4b
push dword [esp + 0x84]
push 0
call fcn.00457f50
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x4bf547
mov edi, dword [esp + 0xc8]
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4bf491
mov esi, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [edi + 0x2c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], edi
lea eax, [edi + 1]
mov dword [ecx + 0x2c], eax
mov esi, dword [edx + 0x6c]
mov dword [esp + 0xa4], esi
cmp dword [edx + 0x70], esi
jg 0x4bf58d
push dword [esp + 0x80]
mov ecx, dword [esp + 0x10]
mov edx, 0x75
push 0
push edi
call fcn.00457f50
mov esi, eax
add esp, 0xc
mov dword [esp + 0xa4], esi
jmp 0x4bf5bf
lea eax, [esi + 1]
mov dword [edx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x75
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x9c], 0
je 0x4bf819
mov edi, dword [esp + 0x14]
push 0x10
push dword [esp + 0x2c]
mov dword [esp + 0xd8], 0
push dword [esp + 0x6c]
mov dword [esp + 0x48], 1
push edi
call fcn.0047b370
mov eax, dword [esp + 0xc0]
add esp, 0x10
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xcc], 0
mov dword [esp + 0x50], edi
jmp 0x4bf945
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4bf62f
movzx edx, word [eax + 0x32]
jmp 0x4bf631
xor edx, edx
mov eax, dword [edi + 0x30]
mov dword [esp + 0x6c], edx
lea ecx, [eax + 1]
inc eax
mov dword [esp + 0x60], ecx
movsx ecx, dx
mov edx, dword [esp + 0x30]
add eax, ecx
add eax, edx
cmp dword [esp + 0x9c], 0
mov dword [esp + 0x48], eax
mov dword [edi + 0x30], eax
jne 0x4bf90e
cmp byte [esp + 0x1b], 2
jne 0x4bf66d
movsx eax, word [esi + 0x22]
jmp 0x4bf66f
xor eax, eax
mov edi, dword [edi + 0x2c]
lea esi, [ecx + eax]
add esi, edx
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x34], 0
mov edx, dword [esp + 0x14]
lea eax, [edi + 1]
mov dword [edx + 0x2c], eax
je 0x4bf6f0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
dec edx
add edx, ecx
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x4bf6b7
push edx
push dword [esp + 0x64]
mov edx, 0x4b
mov ecx, eax
push 0
call fcn.00457f50
add esp, 0xc
jmp 0x4bf6f0
mov edi, dword [esp + 0xc]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, edi
mov edi, dword [esp + 0x60]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0xa4], edx
cmp dword [ecx + 0x70], edx
jg 0x4bf71d
push 0
push esi
push edi
mov edx, 0x75
call fcn.00457f50
add esp, 0xc
mov dword [esp + 0xa4], eax
jmp 0x4bf74c
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x75
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4bf79b
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.0048e9b0
mov edx, eax
test edx, edx
je 0x4bf797
mov word [edx + 8], si
mov esi, dword [esp + 0xc]
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4bf785
push edx
mov edx, 0xfffffff8
call fcn.00458ba0
add esp, 4
jmp 0x4bf797
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x30], 0
je 0x4bf819
mov ecx, dword [esp + 0x7c]
sub esp, 8
mov edx, edi
push dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x28]
push eax
call fcn.004be3e0
add esp, 0x18
cmp byte [esp + 0x1b], 2
jne 0x4bf7d1
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x84]
mov ecx, edi
mov edx, dword [esp + 0x60]
test eax, eax
mov edi, dword [esp + 0xb4]
cmovne ecx, eax
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x6c]
movsx esi, ax
mov eax, dword [esp + 0xb0]
mov byte [ecx + 0x14], 1
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x44], eax
jmp 0x4bfc1f
mov esi, dword [esp + 0x14]
mov eax, 4
cmp byte [esi + 0x12], 0
jne 0x4bf85d
cmp dword [esp + 0x58], 0
jne 0x4bf85d
cmp dword [esp + 0x74], 0
jne 0x4bf85d
cmp byte [esp + 0x54], 0
jne 0x4bf85d
cmp dword [esp + 0x128], 0
jne 0x4bf85d
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x4bf858
test dword [ecx + 4], 0x400000
jne 0x4bf85d
mov eax, 0xc
push dword [esp + 0xc0]
mov edx, dword [esp + 0x80]
mov ecx, esi
push eax
push 0
push 0
push 0
push dword [esp + 0x78]
call fcn.004d6810
mov ecx, eax
add esp, 0x18
mov dword [esp + 0xd0], ecx
test ecx, ecx
je 0x4c0d1a
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x44], eax
movzx eax, byte [ecx + 0x2e]
mov ecx, dword [ecx + 0x30]
and ecx, 1
mov dword [esp + 0x50], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0xcc], ecx
cmp eax, 1
je 0x4bf936
mov eax, dword [esi + 0x84]
mov ecx, esi
test eax, eax
cmovne ecx, eax
cmp dword [esp + 0x3c], 2
mov eax, dword [esp + 0x10]
mov byte [ecx + 0x14], 1
jne 0x4bf93a
test edx, edx
js 0x4bf93a
cmp edx, eax
je 0x4bf93a
mov ecx, dword [esp + 0x94]
mov eax, edx
sub eax, dword [esp + 0xbc]
mov edi, edx
mov esi, dword [esp + 0xa4]
cmp byte [eax + ecx], 0
mov eax, dword [esp + 0x10]
je 0x4bf945
mov dword [esp + 0x3c], 0
jmp 0x4bf945
mov edx, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0xa4], esi
mov dword [esp + 0x10], edx
cmp dword [esp + 0x30], esi
je 0x4bf5d1
jmp 0x4bf7d5
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0xa4]
mov ecx, dword [esp + 0x1c]
test byte [ecx + 0x1c], 0x80
jne 0x4bfa85
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4bf97d
mov ecx, dword [esp + 0xc]
mov edx, 0x87
push 0
push dword [esp + 0x28]
push eax
call fcn.00457f50
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x4bf9b4
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x4bfa43
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x98]
mov esi, dword [esp + 0xc]
mov eax, dword [ecx + 0x30]
inc eax
mov dword [ecx + 0x30], eax
mov ecx, dword [esp + 0x68]
mov dword [edx + ecx*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4bfa08
push dword [esp + 0x24]
mov edx, 0x80
mov ecx, esi
push dword [esp + 0x84]
push dword [esp + 0x34]
call fcn.00457f50
add esp, 0xc
jmp 0x4bfc1b
mov edx, dword [esp + 0x2c]
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 + 0x80]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4bfc1b
test esi, esi
je 0x4bfc1f
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
jne 0x4bfc1b
mov eax, dword [esp + 0xc]
lea edx, [esi + esi*4]
mov eax, dword [eax + 0x68]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.00458ba0
add esp, 4
mov word [esi], 0xbb
mov dword [esi + 0x10], 0
jmp 0x4bfc1b
mov eax, dword [esp + 0x6c]
xor esi, esi
movsx edi, ax
test edi, edi
jle 0x4bfac0
mov eax, dword [esp + 0x60]
mov edx, ecx
mov ecx, dword [esp + 0xc]
add eax, esi
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.00477b60
mov ecx, dword [esp + 0x28]
inc esi
add esp, 0xc
cmp esi, edi
jl 0x4bfa92
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4bfb25
mov edx, dword [esp + 0xa4]
test edx, edx
je 0x4bfb08
mov esi, dword [esp + 0xc]
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
jne 0x4bfb04
mov eax, dword [esi + 0x68]
lea edx, [edx + edx*4]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.00458ba0
add esp, 4
mov word [esi], 0xbb
mov dword [esi + 0x10], 0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x50]
cwde
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x48], eax
jmp 0x4bfc1f
mov eax, dword [esp + 0x34]
mov esi, dword [eax + 0x10]
test esi, esi
jne 0x4bfb40
mov ecx, dword [esp + 0x88]
mov edx, eax
call fcn.00499ce0
mov esi, eax
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x6c]
movsx edi, ax
mov edx, dword [ecx + 0x6c]
mov dword [esp + 0x68], edx
cmp dword [ecx + 0x70], edx
jg 0x4bfb72
push dword [esp + 0x48]
mov edx, 0x61
push edi
mov edi, dword [esp + 0x68]
push edi
call fcn.00457f50
add esp, 0xc
mov edx, eax
jmp 0x4bfbad
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x60]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x68]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x6c]
cwde
push eax
push esi
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.00458db0
mov ecx, dword [esi + 0x6c]
add esp, 8
mov eax, dword [esp + 0x6c]
movsx edx, ax
cmp dword [esi + 0x70], ecx
jg 0x4bfbec
push edx
push edi
push dword [esp + 0x50]
mov edx, 0x8a
mov ecx, esi
push dword [esp + 0x38]
call fcn.00457f90
add esp, 0x10
jmp 0x4bfc17
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0xfd8a
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], edx
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x9c], 0
jne 0x4bfe35
cmp dword [esp + 0x30], 0
jne 0x4bfc45
cmp ecx, 2
je 0x4bfc45
mov ecx, dword [esp + 0xd0]
call fcn.004d78c0
cmp byte [esp + 0x1b], 2
je 0x4bfd72
mov ecx, dword [esp + 0x3c]
xor esi, esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x68], esi
test ecx, ecx
je 0x4bfd0b
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x94]
test eax, eax
js 0x4bfc83
sub eax, dword [esp + 0xbc]
mov byte [eax + edx], 0
test edi, edi
js 0x4bfc94
mov eax, edi
sub eax, dword [esp + 0xbc]
mov byte [eax + edx], 0
cmp ecx, 2
jne 0x4bfd0b
mov ecx, dword [esp + 0xa0]
xor eax, eax
test edi, edi
setns al
sub ecx, eax
test ecx, ecx
jle 0x4bfd0b
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], esi
jg 0x4bfcd4
push 0
push 0
push 0
mov edx, 0xf
call fcn.00457f50
add esp, 0xc
mov esi, eax
jmp 0x4bfd0b
lea eax, [esi + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x68]
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x9c]
push dword [esp + 0xc8]
push 0
push 0x71
call fcn.0049ee60
add esp, 0x18
test esi, esi
je 0x4bfd72
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x6c]
lea eax, [edx - 1]
cmp esi, eax
jne 0x4bfd53
mov edx, ecx
mov dword [edx + 0x6c], eax
jmp 0x4bfd76
mov eax, dword [ecx]
cmp byte [eax + 0x57], 0
je 0x4bfd62
mov eax, 0x515db8
jmp 0x4bfd6f
mov eax, dword [esp + 0xc]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x4bfea6
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x44], eax
je 0x4bfdf1
cmp edi, eax
je 0x4bfdf1
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4bfdbb
push dword [esp + 0x90]
mov ecx, dword [esp + 0x10]
mov edx, 0x1c
push dword [esp + 0x4c]
push dword [esp + 0x30]
push eax
call fcn.00457f90
add esp, 0x10
jmp 0x4bfdf1
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x90]
mov dword [eax + ecx*4], 0xfd1c
mov dword [eax + ecx*4 + 0x10], edx
cmp esi, 1
je 0x4bfe05
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + 0x3c]
dec edi
mov dword [esp + 0x40], edi
mov dword [ecx + 0x3c], edi
mov esi, dword [esp + 0xc]
cmp dword [esp + 0x34], 0
mov edx, dword [esp + 0x24]
cmovne edx, dword [esp + 0x48]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4bfe75
push 0
push dword [esp + 0x2c]
mov ecx, esi
push edx
mov edx, 0x33
call fcn.00457f50
add esp, 0xc
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
cmp byte [esp + 0x22], 0
je 0x4c02e8
test eax, eax
jne 0x4c0240
mov esi, dword [esp + 0x70]
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x14]
push esi
call fcn.0047a860
mov edx, dword [esp + 0x10]
add esp, 4
jmp 0x4c0299
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 + 0x28]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4bfe35
cmp dword [esp + 0x34], 0
jne 0x4bffea
cmp dword [esp + 0x30], 0
jne 0x4bffea
mov ecx, dword [edx + 0x6c]
mov esi, dword [esp + 0x2c]
cmp dword [edx + 0x70], ecx
jg 0x4bfee2
mov ecx, dword [esp + 0xc]
mov edx, 0x24
push 0
push dword [esp + 0x2c]
push esi
call fcn.00457f50
add esp, 0xc
jmp 0x4bff11
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov edi, dword [ecx + 0x3c]
dec edi
mov dword [ecx + 0x3c], edi
mov ecx, dword [edx + 0x6c]
mov dword [esp + 0x40], edi
mov dword [esp + 0xc4], ecx
cmp dword [edx + 0x70], ecx
jg 0x4bff58
mov ecx, dword [esp + 0xc]
mov edx, 0x87
push 0
push dword [esp + 0x28]
push esi
call fcn.00457f50
mov edx, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0xc4], eax
jmp 0x4bff8b
mov edi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x40]
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4bffb2
push dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov edx, 0x1f
push edi
push dword [esp + 0x18]
call fcn.00457f50
add esp, 0xc
jmp 0x4bfe39
mov esi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4bfe3d
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
mov edi, dword [ecx + 0x3c]
dec edi
mov dword [ecx + 0x3c], edi
mov ecx, dword [edx + 0x6c]
mov dword [esp + 0x40], edi
cmp dword [edx + 0x70], ecx
jg 0x4c001f
mov ecx, dword [esp + 0xc]
mov edx, 0x24
push 0
push dword [esp + 0x2c]
push esi
call fcn.00457f50
add esp, 0xc
jmp 0x4c004e
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], esi
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 + 0xc]
mov eax, dword [esp + 0x30]
mov ecx, dword [edx + 0x6c]
mov dword [esp + 0xc4], ecx
test eax, eax
je 0x4c0189
cmp byte [esp + 0x1b], 2
je 0x4bfe41
cmp dword [esp + 0x34], 0
je 0x4c015f
mov eax, dword [esp + 0x6c]
xor esi, esi
movsx edi, ax
mov dword [esp + 0x44], edi
test edi, edi
jle 0x4c00fe
jmp 0x4c0099
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x6c]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
add edx, esi
cmp dword [eax + 0x70], ecx
jg 0x4c00c2
push edx
push esi
push dword [esp + 0x34]
mov edx, 0x5e
mov ecx, eax
call fcn.00457f50
add esp, 0xc
jmp 0x4c00f5
mov edi, dword [esp + 0xc]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
inc esi
cmp esi, edi
jl 0x4c0095
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x40]
movsx edx, ax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4c012f
push edx
push dword [esp + 0x64]
mov edx, 0x1c
mov ecx, esi
push edi
push dword [esp + 0x1c]
call fcn.00457f90
add esp, 0x10
jmp 0x4bfe35
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x60]
mov dword [eax + ecx*4], 0xfd1c
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x4bfe35
cmp dword [edx + 0x70], ecx
jg 0x4bff58
mov ecx, dword [esp + 0xc]
mov edx, 0x87
push 0
push dword [esp + 0x28]
push esi
call fcn.00457f50
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x4bff8b
cmp dword [edx + 0x70], ecx
jg 0x4c01ac
mov ecx, dword [esp + 0xc]
mov edx, 0x86
push 0
push dword [esp + 0x4c]
push esi
call fcn.00457f50
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x4c01df
mov edi, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4c0208
mov ecx, dword [esp + 0xc]
mov edx, 0x1c
push 0
push dword [esp + 0x4c]
push edi
push dword [esp + 0x1c]
call fcn.00457f90
add esp, 0x10
jmp 0x4bfe39
mov esi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0xfd1c
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4bfe3d
mov ecx, dword [edx + 0x6c]
mov edi, dword [esp + 0x78]
cmp dword [edx + 0x70], ecx
jg 0x4c026e
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0xc]
push edx
push edi
push esi
mov edx, 0x5e
call fcn.00457f50
mov edx, dword [esp + 0x18]
add esp, 0xc
mov esi, dword [esp + 0x70]
jmp 0x4c0299
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x70]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4c02b9
mov ecx, dword [esp + 0xc]
mov edx, 0xd
push 0
push 0
push esi
call fcn.00457f50
add esp, 0xc
jmp 0x4c02e8
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x3b], 0
jne 0x4c03c0
cmp dword [esp + 0x74], 0
jne 0x4c03cb
mov edx, dword [esp + 0x58]
test edx, edx
je 0x4c04b1
xor esi, esi
push dword [ebp + 0x10]
mov edx, dword [esp + 0x5c]
push dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 3
push 0
push dword [esp + 0x6c]
call fcn.004be1d0
mov ecx, dword [esp + 0x30]
or esi, eax
mov dword [esp + 0x8c], esi
xor eax, eax
add esp, 0x14
xor esi, esi
cmp ax, word [ecx + 0x22]
jge 0x4c0444
xor edi, edi
nop dword [eax + eax]
mov eax, dword [ecx + 4]
mov edx, esi
movzx eax, word [edi + eax + 0xe]
mov dword [esp + 0x8c], eax
call fcn.00486380
movsx edx, ax
add edx, dword [esp + 0x84]
cmp dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x44], edx
je 0x4c041a
cmp esi, 0x20
jge 0x4c0397
mov eax, 1
mov ecx, esi
shl eax, cl
test dword [esp + 0x78], eax
jne 0x4c041a
test byte [esp + 0x8c], 1
jne 0x4c041a
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x4c03df
push 0
push edx
push 0
mov edx, 0x4b
mov ecx, eax
call fcn.00457f50
jmp 0x4c042d
cmp dword [esp + 0x74], 0
je 0x4c030a
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
call fcn.00498790
mov esi, eax
jmp 0x4c030c
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edx + 0x6c], eax
mov eax, edx
mov edx, dword [esp + 0x44]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x4b
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 0x4c0430
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x20]
push esi
push dword [esp + 0x18]
call fcn.00477b60
add esp, 0xc
mov ecx, dword [esp + 0x1c]
inc esi
add edi, 0x10
movsx eax, word [ecx + 0x22]
cmp esi, eax
jl 0x4c0350
cmp byte [esp + 0x22], 0
jne 0x4c04ad
cmp dword [esp + 0x34], 0
jne 0x4c04ad
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4c047a
mov edx, dword [esp + 0x70]
mov ecx, esi
push 0
push edx
push dword [esp + 0x2c]
mov edx, 0x50
call fcn.00457f50
add esp, 0xc
jmp 0x4c04ad
mov edx, dword [esp + 0x24]
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 + 0x70]
mov dword [eax + ecx*4], 0x50
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 + 0x58]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x20]
push 1
push 1
push dword [esp + 0x6c]
call fcn.004be1d0
mov edx, dword [esp + 0xc0]
xor edi, edi
mov dword [esp + 0xa0], eax
add esp, 0x14
mov eax, dword [esp + 0x1c]
mov esi, edx
mov dword [esp + 0x84], edi
movzx ecx, word [eax + 0x22]
cmp di, cx
jge 0x4c06a8
xor edx, edx
mov dword [esp + 0x78], edx
nop dword [eax]
movsx eax, word [eax + 0x20]
cmp edi, eax
jne 0x4c0530
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4c062d
mov ecx, dword [esp + 0xc]
mov edx, 0x4b
push 0
push esi
push 0
call fcn.00457f50
jmp 0x4c067c
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
movzx eax, word [eax + edx + 0xe]
test al, 0x60
je 0x4c054e
test al, 0x20
je 0x4c067f
dec esi
jmp 0x4c067f
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + edi*4]
test eax, eax
js 0x4c05f9
cmp dword [esp + 0x30], 0
je 0x4c05dc
cmp byte [esp + 0x1b], 2
je 0x4c056f
mov ecx, dword [esp + 0x6c]
movzx ecx, cx
movsx edx, cx
add edx, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x84], edx
mov ecx, dword [eax + 0x6c]
cmp dword [eax + 0x70], ecx
jg 0x4c05a1
push esi
push edx
push dword [esp + 0x34]
mov edx, 0x5e
mov ecx, eax
call fcn.00457f50
jmp 0x4c067c
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [edx + 0x6c], eax
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x84]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4c067f
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x5c]
push esi
mov edx, dword [eax + edx*4 + 8]
call fcn.0047a860
add esp, 4
jmp 0x4c067f
test dword [esp + 0xd4], 1
je 0x4c065e
cmp edi, 0x1f
jg 0x4c065e
mov eax, 1
mov ecx, edi
shl eax, cl
test dword [esp + 0x8c], eax
jne 0x4c065e
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jle 0x4c0518
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4], 0x4b
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 0x4c067f
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
push esi
push edi
push dword [esp + 0x18]
call fcn.00477b60
mov dword [esp + 0xd8], 0
add esp, 0xc
mov eax, dword [esp + 0x1c]
inc edi
add dword [esp + 0x78], 0x10
inc esi
mov edx, dword [esp + 0x78]
movzx eax, word [eax + 0x22]
mov ecx, eax
cwde
cmp edi, eax
mov eax, dword [esp + 0x1c]
jl 0x4c0500
mov edx, dword [esp + 0xac]
test byte [eax + 0x1c], 0x60
je 0x4c06bf
mov ecx, dword [esp + 0x14]
push eax
call fcn.0049a060
mov eax, dword [esp + 0x20]
add esp, 4
test byte [esp + 0xd4], 1
je 0x4c0869
push dword [esp + 0xac]
mov edi, dword [esp + 0x10]
mov edx, eax
mov ecx, edi
call fcn.00499d90
mov esi, dword [esp + 0x44]
add esp, 4
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x14]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x2c]
push dword [esp + 0x28]
push 1
push dword [esp + 0x70]
push 0x82
call fcn.004be0e0
add esp, 0x1c
cmp byte [esp + 0x1b], 2
je 0x4c0b4b
cmp dword [esp + 0x34], 0
mov ecx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
je 0x4c077f
cmp eax, ecx
jg 0x4c074f
push dword [esp + 0x90]
mov edx, 0x1c
mov ecx, edi
push dword [esp + 0x4c]
push esi
push dword [esp + 0x1c]
call fcn.00457f90
add esp, 0x10
jmp 0x4c07cc
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 + 0x48]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x90]
mov dword [eax + ecx*4], 0xfd1c
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x4c07c8
cmp eax, ecx
jg 0x4c079d
push dword [esp + 0x24]
mov edx, 0x1f
mov ecx, edi
push esi
push dword [esp + 0x18]
call fcn.00457f50
add esp, 0xc
jmp 0x4c07cc
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 + 0x24]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 8], esi
mov edx, dword [esp + 0x1c]
xor ecx, ecx
mov eax, dword [esp + 0xac]
xor esi, esi
mov edi, eax
cmp cx, word [edx + 0x22]
jge 0x4c0852
mov dword [esp + 0x84], ecx
nop word [eax + eax]
mov eax, dword [edx + 4]
movzx eax, word [ecx + eax + 0xe]
test al, 0x60
je 0x4c0808
test al, 0x20
lea eax, [edi - 1]
cmove eax, edi
mov edi, eax
jmp 0x4c0837
mov eax, dword [esp + 0x4c]
cmp dword [eax + esi*4], 0
jge 0x4c0837
movsx eax, word [edx + 0x20]
cmp esi, eax
je 0x4c0837
mov ecx, dword [esp + 0xc]
push edi
push esi
push dword [esp + 0x18]
call fcn.00477b60
mov ecx, dword [esp + 0x90]
add esp, 0xc
mov edx, dword [esp + 0x1c]
movsx eax, word [edx + 0x22]
inc esi
add ecx, 0x10
inc edi
mov dword [esp + 0x84], ecx
cmp esi, eax
jl 0x4c07f0
mov eax, dword [esp + 0xac]
test byte [edx + 0x1c], 0x60
je 0x4c0878
mov ecx, dword [esp + 0x14]
push edx
mov edx, eax
call fcn.0049a060
add esp, 4
jmp 0x4c0874
cmp byte [esp + 0x1b], 2
je 0x4c0b47
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x128]
push 0
push dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
push eax
push esi
push dword [ebp + 0x10]
push dword [esp + 0x68]
push dword [esp + 0x3c]
push dword [esp + 0x8c]
push dword [esp + 0xe0]
push dword [esp + 0x34]
push dword [esp + 0xc0]
call fcn.0049c940
add esp, 0x2c
cmp dword [esp + 0x128], 0
jne 0x4c08d1
mov al, byte [esp + 0x54]
test al, al
je 0x4c099d
cmp dword [esp + 0x34], 0
mov edi, dword [esp + 0xc]
mov ecx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
je 0x4c0946
cmp eax, ecx
jg 0x4c090e
push dword [esp + 0x90]
mov edx, 0x1c
mov ecx, edi
push dword [esp + 0x4c]
push esi
push dword [esp + 0x1c]
call fcn.00457f90
mov al, byte [esp + 0x64]
add esp, 0x10
jmp 0x4c09a1
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 + 0x48]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x90]
mov dword [eax + ecx*4], 0xfd1c
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0x10], edx
mov al, byte [esp + 0x54]
jmp 0x4c09a1
cmp eax, ecx
jg 0x4c0968
push dword [esp + 0x24]
mov edx, 0x1f
mov ecx, edi
push esi
push dword [esp + 0x18]
call fcn.00457f50
mov al, byte [esp + 0x60]
add esp, 0xc
jmp 0x4c09a1
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 + 0x24]
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
mov al, byte [esp + 0x54]
jmp 0x4c09a5
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x74], 0
je 0x4c09c7
mov ecx, dword [esp + 0x14]
movzx eax, al
push eax
push dword [esp + 0x50]
push 0
push edx
mov edx, dword [esp + 0x2c]
call fcn.00498140
add esp, 0x10
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push dword [esp + 0x9c]
push dword [esp + 0xc8]
push dword [esp + 0x1c]
call fcn.00491420
add esp, 0x10
cmp dword [esp + 0xcc], 0
je 0x4c0a49
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4c0a16
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x8f
mov ecx, edi
call fcn.00457f50
add esp, 0xc
jmp 0x4c0a49
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], 0x8f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x74]
cmp edx, 1
jg 0x4c0a5a
mov al, byte [esp + 0x54]
test al, al
je 0x4c0ab9
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4c0a82
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x82
mov ecx, edi
call fcn.00457f50
mov edx, dword [esp + 0x80]
add esp, 0xc
jmp 0x4c0ab5
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x82
mov dword [eax + ecx*4 + 4], edi
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 + 0x54]
test edx, edx
je 0x4c0adb
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
movzx eax, al
push eax
push dword [esp + 0x50]
push dword [esp + 0x78]
push 0
call fcn.00498140
add esp, 0x10
mov edi, dword [esp + 0x3c]
xor eax, eax
mov edx, dword [esp + 0x1c]
cmp edi, 2
mov ecx, dword [esp + 0x14]
push 0
sete al
push 0
lea eax, [eax*2 + 4]
push eax
push dword [esp + 0xa4]
push dword [esp + 0x80]
push dword [esp + 0xd4]
push dword [esp + 0x28]
call fcn.0049ebf0
add esp, 0x1c
cmp dword [esp + 0x74], 0
je 0x4c0b4f
movzx eax, byte [esp + 0x54]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push eax
push dword [esp + 0x50]
push dword [esp + 0x2c]
push dword [esp + 0x68]
call fcn.00499ac0
add esp, 0x10
jmp 0x4c0b4f
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x4c0bb4
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4c0b7e
mov ecx, dword [esp + 0xc]
mov edx, 0x56
push 0
push 1
push eax
call fcn.00457f50
add esp, 0xc
jmp 0x4c0bb4
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0xc8]
mov dword [eax + ecx*4], 0x56
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 + 0x58]
test eax, eax
je 0x4c0be1
mov ecx, dword [esp + 0x14]
mov edx, eax
push esi
push dword [ebp + 0x10]
push dword [esp + 0x2c]
push dword [esp + 0x28]
push 2
push dword [esp + 0x70]
push 0x82
call fcn.004be0e0
add esp, 0x1c
cmp edi, 1
je 0x4c0c1c
mov edx, dword [esp + 0xc]
not esi
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + 0x40]
cmp edi, 2
jne 0x4c0c45
add eax, dword [ecx + 0x3c]
jns 0x4c0c07
push esi
call fcn.00458810
add esp, 4
jmp 0x4c0c10
mov ecx, dword [ecx + 0x44]
mov eax, dword [edx + 0x6c]
mov dword [ecx + esi*4], eax
mov ecx, dword [esp + 0xd0]
call fcn.004d78c0
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
not edx
mov eax, dword [ecx + 0x40]
add eax, dword [ecx + 0x3c]
jns 0x4c0cc8
push edx
mov edx, esi
call fcn.00458810
add esp, 4
jmp 0x4c0cd1
add eax, dword [ecx + 0x3c]
jns 0x4c0c59
push esi
call fcn.00458810
mov edx, dword [esp + 0x10]
add esp, 4
jmp 0x4c0c62
mov ecx, dword [ecx + 0x44]
mov eax, dword [edx + 0x6c]
mov dword [ecx + esi*4], eax
mov ecx, dword [edx + 0x6c]
mov esi, dword [esp + 0xc]
cmp dword [edx + 0x70], ecx
jg 0x4c0c8d
mov edx, dword [esp + 0xc4]
mov ecx, esi
push 0
push edx
push dword [esp + 0x34]
mov edx, 0x27
call fcn.00457f50
add esp, 0xc
jmp 0x4c0c20
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc4]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4c0c20
mov ecx, dword [ecx + 0x44]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x12], 0
jne 0x4c0cfe
cmp dword [eax + 0x88], 0
jne 0x4c0cfe
cmp dword [esp + 0x9c], 0
jne 0x4c0cfe
cmp dword [eax + 0x80], 0
je 0x4c0cfe
mov ecx, eax
call fcn.0049a440
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x4c0d1a
push str.rows_updated
mov edx, eax
mov ecx, esi
call fcn.0048f900
add esp, 4
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x4c0d32
mov ecx, dword [esp + 0xb0]
mov dword [eax + 0x108], ecx
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x88]
call fcn.0042f0e0
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x88]
call fcn.0048d7c0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4c0d6c
mov ecx, dword [esp + 0x88]
mov edx, eax
call fcn.00473e80
test esi, esi
je 0x4c0d7e
mov ecx, dword [esp + 0x88]
mov edx, esi
call fcn.00472a80
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
xor ecx, esp
call fcn.004f5edb
mov esp, ebp
pop ebp
ret