Function at 0x494200
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0xb100]
mov eax, 0xb100
call fcn.00507730
push 0xffffffffffffffff
push 0x53c4ee
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x5755c4]
xor eax, ebp
mov dword [ebp + 0xb0fc], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xb108]
lea eax, [ebp - 0xd]
push eax
push ebx
mov dword [ebp - 0x24], ebx
call fcn.00494160
cmp eax, 3
jne 0x49454e
push dword [ebx + 0x2214]
lea ecx, [ebp]
call fcn.00458580
mov dword [ebp - 4], 0
lea eax, [ebp]
push 0
push 2
push eax
push ebx
call fcn.00490ab0
test al, al
je 0x49453b
push 0x66
call fcn.004193f0
push 0x55003c
mov ecx, ebx
call fcn.00460930
test eax, eax
je 0x4944bc
cmp byte [ebx + 0x7e6c], 0
jne 0x4944bc
push 0
lea ecx, [ebp - 0xa0]
call fcn.00489f10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
push dword [ebx + 0x67a4]
push dword [ebx + 0x67a0]
call fcn.0048a520
push 8
lea eax, [ebp + 0xb0f4]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0048a1e0
lea ecx, [ebp - 0xa0]
call fcn.0048a090
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x40], eax
call fcn.0048a0e0
mov edi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.00433cb0
push 0x68
call fcn.004193f0
movzx eax, byte [ebp - 0xd]
mov ecx, dword [ebx + 0x7e48]
neg eax
mov edx, dword [ebx + 0x7e4c]
sbb eax, eax
mov dword [ebp - 0x18], ecx
and eax, 0x1c
mov dword [ebp - 0x2c], edx
add eax, 0x1a
mov dword [ebp - 0x48], ecx
cmp byte [ebx + 0x7e64], 0
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x44], eax
je 0x494376
mov edi, dword [ebp - 0x44]
not eax
inc eax
add edi, 8
and eax, 0xf
add edi, eax
mov dword [ebp - 0x44], edi
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x44]
xor esi, esi
mov dword [ebp - 0x90], 0
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
adc esi, dword [ebp - 0x38]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x80], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x6c], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x14]
push edx
push ecx
push esi
mov esi, dword [ebp - 0x40]
push edi
push esi
push dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x90]
push eax
push ebx
call fcn.00491f60
mov eax, esi
mov dword [ebp - 0x68], 0
shl eax, 9
lea ecx, [ebp - 0x68]
push eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x58], 0
call fcn.004051c0
mov byte [ebp - 4], 4
push dword [ebp - 0x64]
push 0
push dword [ebp - 0x68]
call fcn.00520500
mov eax, dword [ebx]
add esp, 0xc
mov esi, dword [eax + 0x10]
mov ecx, esi
push 0
push 0
push 0
call dword [0x540780]
mov ecx, ebx
call esi
push 0x67
call fcn.004193f0
cmp dword [ebp - 0x2c], 0
mov dword [0x5b7828], 0xffffffff
mov dword [ebp - 0x20], 0
jl 0x494a12
mov esi, dword [ebp - 0x18]
jg 0x494480
test esi, esi
je 0x494a12
mov edi, dword [ebp - 0x2c]
call fcn.0049e910
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x38]
sub eax, esi
mov ecx, edx
sbb ecx, edi
cmp dword [ebp - 0x48], 0x7fffffff
jne 0x49486f
cmp edx, 0x7fffffff
jne 0x49486f
mov dword [0x5b7828], 0xffffffff
jmp 0x4948ad
mov eax, dword [ebx]
push 0
push 0
push dword [ebx + 0x7e68]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x540780]
mov ecx, ebx
call esi
push 0x78
mov ecx, ebx
call fcn.00460720
test eax, eax
je 0x49450e
cmp byte [ebx + 0x7e6c], 0
jne 0x49450e
movzx eax, word [ebx + 0x7abe]
xor esi, esi
mov edi, dword [ebx + 0x7ac0]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 0xd], 0
jmp 0x49431f
cmp byte [ebp - 0xd], 0
je 0x494573
cmp byte [ebx + 0x7e64], 0
je 0x494573
push 0x69
call fcn.004193f0
lea eax, [ebx + 0x24]
push eax
push 0x41
call fcn.00415840
push 0xa
mov ecx, 0x5b77e4
call fcn.0046e7a0
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00458800
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xb0fc]
xor ecx, ebp
call fcn.00507712
lea esp, [ebp + 0xb100]
pop ebp
ret 4
mov eax, dword [ebx]
push 0
push 0
push 0
mov esi, dword [eax + 0x10]
mov ecx, esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0
mov dword [ebx + 0x7e48], 0
mov dword [ebx + 0x7e4c], 0
call dword [0x540780]
mov ecx, ebx
call esi
mov eax, dword [ebx]
lea ecx, [ebp + 0x8ef4]
push 0x2000
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x540780]
mov ecx, ebx
call esi
mov esi, dword [ebp + 0xb0f8]
test eax, eax
mov edi, dword [ebp + 0xb0f4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov al, byte [ebp - 0xd]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0xd], al
je 0x4946fe
mov esi, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x38], eax
lea eax, [esi - 0x32]
test eax, eax
jle 0x4946aa
mov ebx, dword [ebp - 0x38]
lea edi, [ebp + 0x8ef6]
mov edi, edi
mov al, byte [edi]
cmp al, 0x7a
jne 0x494657
cmp dword [edi + 0x20], 0x746f7250
jne 0x494657
cmp dword [edi + 0x24], 0x2b746365
jne 0x494657
mov bl, byte [edi - 1]
mov bh, byte [edi - 2]
push 0x34
push edi
push 0xffffffffffffffff
call fcn.00469970
movzx edx, bl
shl edx, 8
movzx ecx, bh
add edx, ecx
not edx
xor eax, edx
movzx eax, ax
test eax, eax
je 0x494738
mov ebx, dword [ebp - 0x38]
jmp 0x494697
cmp al, 0x78
jne 0x494697
cmp dword [edi + 0x10], 0x746f7250
jne 0x494697
cmp dword [edi + 0x14], 0x21746365
jne 0x494697
movzx ecx, byte [edi - 1]
movzx eax, byte [edi - 2]
shl ecx, 8
push 0x18
add ecx, eax
push edi
not ecx
push 0xffffffffffffffff
movzx esi, cx
call fcn.00469970
movzx eax, ax
cmp esi, eax
je 0x4947ff
mov esi, dword [ebp - 0x28]
inc ebx
lea eax, [esi - 0x32]
inc edi
mov dword [ebp - 0x38], ebx
cmp ebx, eax
jl 0x494610
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
add eax, 0x1fce
mov esi, dword [ebx]
adc edx, 0
mov dword [ebp - 0x20], eax
push 0
push edx
mov esi, dword [esi + 0x10]
mov ecx, esi
push eax
mov dword [ebp - 0x34], edx
call dword [0x540780]
mov ecx, ebx
call esi
mov eax, dword [ebx]
lea ecx, [ebp + 0x8ef4]
push 0x2000
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x540780]
mov ecx, ebx
call esi
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x4945f2
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x7e48]
or eax, dword [ebx + 0x7e4c]
jne 0x49431f
mov eax, dword [ebx]
push 0
push 0
push 0
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x540780]
mov ecx, ebx
call esi
push 0x69
call fcn.004193f0
mov ebx, 1
jmp 0x49453d
movzx ecx, byte [edi + 0x2b]
movzx eax, byte [edi + 0x2a]
shl ecx, 8
add ecx, eax
mov byte [ebp - 0xd], 1
movzx eax, byte [edi + 0x29]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x28]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x33]
cdq
mov dword [ebp - 0x40], ecx
mov esi, eax
movzx eax, byte [edi + 0x32]
mov ecx, edx
shld ecx, esi, 8
cdq
shl esi, 8
add esi, eax
movzx eax, byte [edi + 0x31]
adc ecx, edx
cdq
shld ecx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [edi + 0x30]
adc ecx, edx
cdq
shld ecx, esi, 8
shl esi, 8
add esi, eax
movzx eax, byte [edi + 0x2f]
adc ecx, edx
cdq
mov dword [ebp + 0xb0f8], ecx
mov ebx, edx
mov ecx, eax
movzx eax, byte [edi + 0x2e]
shld ebx, ecx, 8
cdq
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x2d]
adc ebx, edx
cdq
shld ebx, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x2c]
adc ebx, edx
cdq
shld ebx, ecx, 8
shl ecx, 8
add ecx, 0
adc ebx, esi
add ecx, eax
mov eax, dword [ebp - 0x38]
adc ebx, edx
mov dword [ebp - 0x1c], ecx
cdq
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x24]
adc edx, dword [ebp - 0x34]
mov dword [ebx + 0x7e48], eax
mov dword [ebx + 0x7e4c], edx
jmp 0x4946aa
movzx ecx, byte [edi + 0xb]
movzx eax, byte [edi + 0xa]
shl ecx, 8
add ecx, eax
mov byte [ebp - 0xd], 0
movzx eax, byte [edi + 0xf]
cdq
mov dword [ebp - 0x40], ecx
mov esi, edx
mov ecx, eax
movzx eax, byte [edi + 0xe]
shld esi, ecx, 8
cdq
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0xd]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0xc]
adc esi, edx
cdq
shld esi, ecx, 8
shl ecx, 8
add ecx, eax
mov eax, ebx
mov ebx, dword [ebp - 0x24]
adc esi, edx
mov dword [ebp - 0x1c], ecx
cdq
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], esi
adc edx, dword [ebp - 0x34]
mov dword [ebx + 0x7e48], eax
mov dword [ebx + 0x7e4c], edx
jmp 0x4946aa
push edx
push dword [ebp - 0x48]
push ecx
push eax
call fcn.0049d200
mov ecx, dword [ebx + 0x2214]
mov dword [ebp - 0x3c], eax
cmp byte [ecx + 0x6148], 0
jne 0x4948a8
cmp eax, dword [0x5b7828]
je 0x4948a8
push 0
push 0x64
cdq
push edx
push eax
push 0x5508b4
call fcn.004a0b80
mov eax, dword [ebp - 0x3c]
mov dword [0x5b7828], eax
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x20], eax
jae 0x494915
mov eax, dword [ebx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x540780]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x90]
cmp edx, dword [esi + ecx*8 + 4]
jl 0x494912
jg 0x4948df
cmp eax, dword [esi + ecx*8]
jb 0x494912
mov eax, dword [ebp - 0x7c]
mov esi, dword [ebx]
push 1
mov eax, dword [eax + ecx*4]
mov esi, dword [esi + 0x10]
mov ecx, esi
cdq
push edx
push eax
call dword [0x540780]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x18]
mov eax, dword [eax + ecx*4]
cdq
sub esi, eax
sbb edi, edx
inc ecx
mov dword [ebp - 0x20], ecx
jmp 0x494915
mov esi, dword [ebp - 0x18]
test edi, edi
jg 0x49494a
jl 0x494923
cmp esi, 0x200
jae 0x49494a
mov eax, 0x200
mov dword [ebp - 0x30], esi
sub eax, esi
push eax
lea eax, [ebp + 0xaef4]
add eax, esi
push 0
push eax
call fcn.00520500
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x18], ecx
xor edi, edi
jmp 0x49495d
add esi, 0xfffffe00
mov dword [ebp - 0x30], 0x200
mov dword [ebp - 0x18], esi
adc edi, 0xffffffff
mov eax, dword [ebx]
lea ecx, [ebp + 0xaef4]
push dword [ebp - 0x30]
mov dword [ebp - 0x2c], edi
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x540780]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x28]
lea edx, [ebp + 0xaef5]
shl ecx, 9
lea esi, [ebp + 0xaef4]
add ecx, dword [ebp - 0x68]
mov eax, ecx
neg eax
add edx, eax
add esi, eax
mov dword [ebp - 0x3c], edx
lea edx, [ebp + 0xaef6]
mov ebx, dword [ebp - 0x3c]
add edx, eax
mov dword [ebp - 0x50], edx
lea edx, [ebp + 0xaef7]
mov edi, dword [ebp - 0x50]
add eax, edx
mov dword [ebp - 0x30], eax
mov edx, 0x80
lea esp, [esp]
mov al, byte [ecx + esi]
lea ecx, [ecx + 4]
xor byte [ecx - 4], al
mov al, byte [ecx + ebx - 4]
xor byte [ecx - 3], al
mov al, byte [ecx + edi - 4]
xor byte [ecx - 2], al
mov eax, dword [ebp - 0x30]
mov al, byte [ecx + eax - 4]
xor byte [ecx - 1], al
sub edx, 1
jne 0x4949c0
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
inc eax
cmp eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x18]
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x28], ecx
test edi, edi
jg 0x494483
jl 0x494a0f
test esi, esi
jne 0x494483
mov edi, dword [ebp - 0x1c]
push 0
push 0x64
push 0
push 0x64
call fcn.0049d200
mov ecx, dword [ebx + 0x2214]
mov esi, eax
cmp byte [ecx + 0x6148], 0
jne 0x494a49
cmp esi, dword [0x5b7828]
je 0x494a49
push 0
push 0x64
cdq
push edx
push eax
push 0x5508b4
call fcn.004a0b80
mov eax, dword [ebp - 0x14]
shld eax, edi, 1
mov dword [0x5b7828], esi
mov esi, dword [ebx]
add edi, edi
add edi, dword [ebp - 0x44]
push 0
adc eax, dword [ebp - 0x34]
mov esi, dword [esi + 0x10]
mov ecx, esi
push eax
push edi
call dword [0x540780]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x494ae6
mov edi, dword [ebp - 0x68]
lea eax, [ebp + 0xaef5]
sub eax, edi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x30], eax
jmp 0x494a90
mov eax, dword [ebx]
lea ecx, [ebp + 0xaef4]
push 0x200
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x540780]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x30]
mov edx, 0x80
mov al, byte [ecx + edi - 1]
xor byte [edi], al
mov al, byte [ecx + edi]
xor byte [edi + 1], al
mov al, byte [ecx + edi + 1]
xor byte [edi + 2], al
mov al, byte [ecx + edi + 2]
xor byte [edi + 3], al
add edi, 4
sub edx, 1
jne 0x494ab5
sub ecx, 0x200
sub dword [ebp - 0x4c], 1
mov dword [ebp - 0x30], ecx
jne 0x494a90
mov eax, dword [ebx]
push 0
push 0
push 0
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x540780]
mov ecx, ebx
call esi
mov esi, dword [ebp - 0x38]
lea ecx, [ebp + 0x8ea8]
mov edi, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp + 0x8ec8], eax
mov dword [ebp + 0x8ecc], eax
mov dword [ebp + 0x8ed0], eax
mov dword [ebp + 0x8ed4], eax
mov dword [ebp + 0x8ed8], eax
mov dword [ebp + 0x8edc], eax
mov dword [ebp + 0x8ee0], eax
mov dword [ebp + 0x8ee4], eax
mov dword [ebp + 0x8eec], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x54], 0
mov dword [ebp + 0x8eac], 0x541b9c
mov dword [ebp + 0x8eb0], 0x541b9c
mov dword [ebp + 0x8eb4], 0x541b9c
mov dword [ebp + 0x8eb8], 0x541b9c
mov dword [ebp + 0x8ebc], 0x541b9c
mov dword [ebp + 0x8ec0], 0x541b9c
mov dword [ebp + 0x8ec4], 0x541b9c
mov dword [ebp + 0x8ef0], 0x65
mov dword [ebp + 0x8ea8], eax
mov dword [ebp + 0x8ee8], 1
call fcn.0049f740
mov dword [0x5b7828], 0xffffffff
mov dword [ebp - 0x28], 0
test esi, esi
jl 0x4952a2
jg 0x494beb
test edi, edi
jbe 0x4952a2
mov dword [ebp - 0x18], 0
call fcn.0049e910
mov esi, dword [ebp - 0x48]
mov eax, esi
mov edx, dword [ebp - 0x38]
sub eax, edi
mov ecx, edx
sbb ecx, dword [ebp - 0x14]
cmp esi, 0x7fffffff
jne 0x494c1e
cmp edx, esi
jne 0x494c1e
mov dword [0x5b7828], 0xffffffff
jmp 0x494c57
push edx
push esi
push ecx
push eax
call fcn.0049d200
mov ecx, dword [ebx + 0x2214]
mov esi, eax
cmp byte [ecx + 0x6148], 0
jne 0x494c51
cmp esi, dword [0x5b7828]
je 0x494c51
push 0
push 0x64
cdq
push edx
push eax
push 0x5508b4
call fcn.004a0b80
mov dword [0x5b7828], esi
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x28], eax
jae 0x494cb8
mov eax, dword [ebx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x540780]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x90]
cmp edx, dword [esi + ecx*8 + 4]
jl 0x494cb8
jg 0x494c89
cmp eax, dword [esi + ecx*8]
jb 0x494cb8
mov eax, dword [ebp - 0x7c]
mov esi, dword [ebx]
push 1
mov eax, dword [eax + ecx*4]
mov esi, dword [esi + 0x10]
mov ecx, esi
cdq
push edx
push eax
call dword [0x540780]
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + ecx*4]
cdq
sub edi, eax
sbb dword [ebp - 0x14], edx
inc ecx
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x14]
test edx, edx
jg 0x494cf6
jl 0x494cc9
cmp edi, 0x200
jae 0x494cf6
mov eax, 0x200
mov esi, edi
sub eax, edi
push eax
lea eax, [ebp + 0xaef4]
add eax, edi
push 0
push eax
call fcn.00520500
add esp, 0xc
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x14], 0
jmp 0x494d0a
add edi, 0xfffffe00
mov esi, 0x200
mov dword [ebp - 0x4c], edi
adc edx, 0xffffffff
mov dword [ebp - 0x14], edx
mov eax, dword [ebx]
lea ecx, [ebp + 0xaef4]
push esi
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x540780]
mov ecx, ebx
call esi
push eax
mov dword [ebp + 0xb0f8], eax
lea ecx, [ebp]
lea eax, [ebp + 0xaef4]
push eax
call fcn.004743f0
push 0x200
lea eax, [ebp + 0xaef4]
push eax
push 0xffffffffffffffff
call fcn.00469970
movzx eax, ax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x540780]
mov ecx, ebx
call esi
mov esi, dword [ebp - 0x24]
mov ebx, eax
push 0
push dword [ebp - 0x34]
mov edi, edx
mov esi, dword [esi]
push dword [ebp - 0x44]
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x540780]
mov ecx, dword [ebp - 0x24]
call esi
mov esi, dword [ebp - 0x24]
mov ecx, esi
call fcn.00473b90
movzx eax, al
mov ecx, esi
mov dword [ebp - 0x2c], eax
call fcn.00473b90
mov esi, dword [esi]
movzx eax, al
shl eax, 8
add dword [ebp - 0x2c], eax
add dword [ebp - 0x44], 2
mov esi, dword [esi + 0x10]
mov ecx, esi
adc dword [ebp - 0x34], 0
push 0
push edi
push ebx
call dword [0x540780]
mov ecx, dword [ebp - 0x24]
call esi
mov ebx, dword [ebp - 0x2c]
cmp ebx, dword [ebp - 0x3c]
jne 0x494e99
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xffffffff
je 0x494e8e
push dword [ebp - 0x18]
mov eax, ecx
shl eax, 9
push eax
push ecx
push 0x6e
call fcn.0048f7f0
xor eax, eax
mov dword [ebp + 0x8ea8], 0x541b9c
lea ecx, [ebp + 0x8ea8]
mov dword [ebp + 0x8eac], 0x541b9c
mov dword [ebp + 0x8eb0], 0x541b9c
mov dword [ebp + 0x8eb4], 0x541b9c
mov dword [ebp + 0x8eb8], 0x541b9c
mov dword [ebp + 0x8ebc], 0x541b9c
mov dword [ebp + 0x8ec0], 0x541b9c
mov dword [ebp + 0x8ec4], 0x541b9c
mov dword [ebp + 0x8ec8], eax
mov dword [ebp + 0x8ecc], eax
mov dword [ebp + 0x8ed0], eax
mov dword [ebp + 0x8ed4], eax
mov dword [ebp + 0x8ed8], eax
mov dword [ebp + 0x8edc], eax
mov dword [ebp + 0x8ee0], eax
mov dword [ebp + 0x8ee4], eax
mov dword [ebp + 0x8ee8], eax
mov dword [ebp + 0x8eec], eax
mov dword [ebp + 0x8ef0], 0x70
call fcn.0049f740
or esi, 0xffffffff
mov dword [ebp - 0x1c], esi
jmp 0x4951ac
mov eax, dword [ebp - 0x54]
lea esi, [ebp + 0xaef4]
shl eax, 9
lea edi, [ebp - 0x2a0]
add eax, dword [ebp - 0x68]
mov ecx, 0x80
rep movsd dword es:[edi], dword [esi]
mov edx, eax
lea ecx, [ebp + 0xaef4]
xor esi, esi
lea edi, [eax + 2]
sub edx, ecx
mov dword [ebp - 0x50], edx
jmp 0x494ed0
lea ecx, [ebp + 0xaef4]
add ecx, esi
mov al, byte [edx + ecx]
xor byte [ecx], al
mov al, byte [esi + edi - 1]
xor byte [ecx + 1], al
mov al, byte [esi + edi]
xor byte [ecx + 2], al
mov al, byte [esi + edi + 1]
add esi, 4
xor byte [ecx + 3], al
cmp esi, 0x200
jb 0x494ed0
push 0x200
lea eax, [ebp + 0xaef4]
push eax
push 0xffffffffffffffff
call fcn.00469970
movzx eax, ax
cmp ebx, eax
je 0x494ff7
mov ebx, 0x40
mov dword [ebp - 0x3c], ebx
mov ecx, 0x80
lea esi, [ebp - 0x2a0]
lea edi, [ebp + 0xaef4]
xor edx, edx
rep movsd dword es:[edi], dword [esi]
test ebx, ebx
jle 0x494f55
jmp 0x494f40
mov eax, dword [ebp - 0x50]
lea ecx, [ebp + 0xaef4]
add ecx, edx
inc edx
mov al, byte [eax + ecx]
xor byte [ecx], al
cmp edx, ebx
jl 0x494f40
push 0x200
lea eax, [ebp + 0xaef4]
push eax
push 0xffffffffffffffff
call fcn.00469970
movzx eax, ax
cmp dword [ebp - 0x2c], eax
je 0x494ff7
lea esi, [ebp - 0x2a0]
mov ecx, 0x80
lea edi, [ebp + 0xaef4]
mov eax, ebx
rep movsd dword es:[edi], dword [esi]
cmp ebx, 0x200
jae 0x494fb0
mov ebx, dword [ebp - 0x50]
lea ecx, [ebx + eax]
mov cl, byte [ebp + ecx + 0xaef4]
xor byte [ebp + eax + 0xaef4], cl
inc eax
cmp eax, 0x200
jb 0x494f94
mov ebx, dword [ebp - 0x3c]
push 0x200
lea eax, [ebp + 0xaef4]
push eax
push 0xffffffffffffffff
call fcn.00469970
movzx eax, ax
cmp dword [ebp - 0x2c], eax
je 0x494ff7
add ebx, 0x40
mov dword [ebp - 0x3c], ebx
cmp ebx, 0x100
jl 0x494f22
inc dword [ebp - 0x30]
mov esi, dword [ebp - 0x1c]
cmp esi, 0xffffffff
jne 0x4951ac
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], esi
jmp 0x4951ac
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
cmp ecx, 0xffffffff
je 0x4950b8
push ebx
mov eax, ecx
shl eax, 9
push eax
push ecx
push 0x6e
call fcn.0048f7f0
xor eax, eax
mov dword [ebp + 0x8ea8], 0x541b9c
lea ecx, [ebp + 0x8ea8]
mov dword [ebp + 0x8eac], 0x541b9c
mov dword [ebp + 0x8eb0], 0x541b9c
mov dword [ebp + 0x8eb4], 0x541b9c
mov dword [ebp + 0x8eb8], 0x541b9c
mov dword [ebp + 0x8ebc], 0x541b9c
mov dword [ebp + 0x8ec0], 0x541b9c
mov dword [ebp + 0x8ec4], 0x541b9c
mov dword [ebp + 0x8ec8], eax
mov dword [ebp + 0x8ecc], eax
mov dword [ebp + 0x8ed0], eax
mov dword [ebp + 0x8ed4], eax
mov dword [ebp + 0x8ed8], eax
mov dword [ebp + 0x8edc], eax
mov dword [ebp + 0x8ee0], eax
mov dword [ebp + 0x8ee4], eax
mov dword [ebp + 0x8ee8], eax
mov dword [ebp + 0x8eec], eax
mov dword [ebp + 0x8ef0], 0x70
call fcn.0049f740
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xffffffff
je 0x495177
lea eax, [ebx + 0x200]
push eax
push ebx
push ecx
push 0x6e
call fcn.0048f7f0
xor eax, eax
mov dword [ebp + 0x8ea8], 0x541b9c
lea ecx, [ebp + 0x8ea8]
mov dword [ebp + 0x8eac], 0x541b9c
mov dword [ebp + 0x8eb0], 0x541b9c
mov dword [ebp + 0x8eb4], 0x541b9c
mov dword [ebp + 0x8eb8], 0x541b9c
mov dword [ebp + 0x8ebc], 0x541b9c
mov dword [ebp + 0x8ec0], 0x541b9c
mov dword [ebp + 0x8ec4], 0x541b9c
mov dword [ebp + 0x8ec8], eax
mov dword [ebp + 0x8ecc], eax
mov dword [ebp + 0x8ed0], eax
mov dword [ebp + 0x8ed4], eax
mov dword [ebp + 0x8ed8], eax
mov dword [ebp + 0x8edc], eax
mov dword [ebp + 0x8ee0], eax
mov dword [ebp + 0x8ee4], eax
mov dword [ebp + 0x8ee8], eax
mov dword [ebp + 0x8eec], eax
mov dword [ebp + 0x8ef0], 0x6f
call fcn.0049f740
or esi, 0xffffffff
lea ecx, [ebp]
push 0
mov dword [ebp - 0x1c], esi
call fcn.0045bbb0
mov edi, dword [ebp + 0xb0f8]
lea ecx, [ebp]
sub eax, edi
sbb edx, 0
push edx
push eax
call fcn.0045bad0
push edi
lea eax, [ebp + 0xaef4]
push eax
lea ecx, [ebp]
call fcn.004743f0
mov eax, dword [ebp - 0x54]
inc dword [ebp - 0x20]
inc eax
add dword [ebp - 0x18], 0x200
cmp eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x4c]
sbb ecx, ecx
and ecx, eax
cmp dword [ebp - 0x14], 0
mov dword [ebp - 0x54], ecx
jg 0x494bf2
jl 0x4951de
test edi, edi
jne 0x494bf2
cmp esi, 0xffffffff
je 0x49529f
mov eax, dword [ebp - 0x20]
shl eax, 9
push eax
mov eax, esi
shl eax, 9
push eax
push esi
push 0x6e
call fcn.0048f7f0
xor eax, eax
mov dword [ebp + 0x8ea8], 0x541b9c
lea ecx, [ebp + 0x8ea8]
mov dword [ebp + 0x8eac], 0x541b9c
mov dword [ebp + 0x8eb0], 0x541b9c
mov dword [ebp + 0x8eb4], 0x541b9c
mov dword [ebp + 0x8eb8], 0x541b9c
mov dword [ebp + 0x8ebc], 0x541b9c
mov dword [ebp + 0x8ec0], 0x541b9c
mov dword [ebp + 0x8ec4], 0x541b9c
mov dword [ebp + 0x8ec8], eax
mov dword [ebp + 0x8ecc], eax
mov dword [ebp + 0x8ed0], eax
mov dword [ebp + 0x8ed4], eax
mov dword [ebp + 0x8ed8], eax
mov dword [ebp + 0x8edc], eax
mov dword [ebp + 0x8ee0], eax
mov dword [ebp + 0x8ee4], eax
mov dword [ebp + 0x8ee8], eax
mov dword [ebp + 0x8eec], eax
mov dword [ebp + 0x8ef0], 0x70
call fcn.0049f740
mov ebx, dword [ebp - 0x24]
push 0
push 0x64
push 0
push 0x64
call fcn.0049d200
mov ecx, dword [ebx + 0x2214]
mov esi, eax
cmp byte [ecx + 0x6148], 0
jne 0x4952d9
cmp esi, dword [0x5b7828]
je 0x4952d9
push 0
push 0x64
cdq
push edx
push eax
push 0x5508b4
call fcn.004a0b80
mov dword [0x5b7828], esi
mov esi, dword [ebx]
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x48]
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x540780]
mov ecx, ebx
call esi
push SysReAllocString
push SysReAllocString
lea eax, [ebp]
mov ecx, ebx
push eax
call fcn.004736f0
lea ecx, [ebp]
call fcn.00473af0
test edx, edx
jl 0x4953d5
jg 0x495327
test eax, eax
je 0x4953d5
xor eax, eax
mov dword [ebp + 0x8eac], 0x541b9c
mov dword [ebp + 0x8ec8], eax
lea ecx, [ebp + 0x8ea8]
mov dword [ebp + 0x8ecc], eax
mov dword [ebp + 0x8ed0], eax
mov dword [ebp + 0x8ed4], eax
mov dword [ebp + 0x8ed8], eax
mov dword [ebp + 0x8edc], eax
mov dword [ebp + 0x8ee0], eax
mov dword [ebp + 0x8ee4], eax
mov dword [ebp + 0x8eec], eax
lea eax, [ebp + 0x24]
mov dword [ebp + 0x8eb0], 0x541b9c
mov dword [ebp + 0x8eb4], 0x541b9c
mov dword [ebp + 0x8eb8], 0x541b9c
mov dword [ebp + 0x8ebc], 0x541b9c
mov dword [ebp + 0x8ec0], 0x541b9c
mov dword [ebp + 0x8ec4], 0x541b9c
mov dword [ebp + 0x8ef0], 0x93
mov dword [ebp + 0x8ea8], eax
mov dword [ebp + 0x8ee8], 1
call fcn.0049f740
lea ecx, [ebp]
call fcn.00473690
mov ebx, dword [ebp - 0x30]
neg ebx
sbb ebx, ebx
and ebx, 2
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x495402
cmp byte [ebp - 0x58], 0
je 0x4953f9
push dword [ebp - 0x60]
push esi
call fcn.0049b220
push esi
call fcn.00524aa2
add esp, 4
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x7c]
test esi, esi
je 0x495429
cmp byte [ebp - 0x6c], 0
je 0x495420
mov eax, dword [ebp - 0x74]
shl eax, 2
push eax
push esi
call fcn.0049b220
push esi
call fcn.00524aa2
add esp, 4
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x90]
test esi, esi
je 0x49453d
cmp byte [ebp - 0x80], 0
je 0x495451
mov eax, dword [ebp - 0x88]
shl eax, 3
push eax
push esi
call fcn.0049b220
push esi
call fcn.00524aa2
add esp, 4
jmp 0x49453d