Function at 0x4e60a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x5e
push 0
push 0
dec ecx
jne 0x4e60a9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x4e60c3
add esp, 0xfffffff0
call fcn.00404a98
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.004059f8
xor eax, eax
push ebp
push 0x4e7449
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005ab96c
xor eax, eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [ebp - 0xc]
call fcn.0040559c
push 0x1f4
mov ecx, 0xc8
mov dl, 1
mov eax, dword [0x5aafa0]
call fcn.005ab104
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push 0x1f4
mov ecx, 0xc8
mov dl, 1
mov eax, dword [0x5aafa0]
call fcn.005ab104
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
push 0xa
mov ecx, 0xa
mov dl, 1
mov eax, dword [0x5aafa0]
call fcn.005ab104
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
push 0x32
mov ecx, 0xa
mov dl, 1
mov eax, dword [0x5aafa0]
call fcn.005ab104
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0x1f4
mov ecx, 0xc8
mov dl, 1
mov eax, dword [0x5aafa0]
call fcn.005ab104
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
push 0x1f4
mov ecx, 0xc8
mov dl, 1
mov eax, dword [0x5aafa0]
call fcn.005ab104
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
lea eax, [ebp - 0x284]
mov edx, dword [ebp - 0xc]
mov ecx, 0xff
call fcn.004057e4
lea eax, [ebp - 0x284]
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.004dfb74
lea eax, [ebp - 0x284]
mov edx, dword [ebp - 0x2c]
mov ecx, 0xff
call fcn.004057e4
lea eax, [ebp - 0x284]
call fcn.004df84c
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
cmp byte [ebp + 8], 0
je 0x4e61f5
cmp byte [ebp + 0x10], 0
je 0x4e61f9
xor eax, eax
jmp 0x4e61fb
mov al, 1
mov byte [ebp + 8], al
cmp byte [ebp + 0xc], 0
je 0x4e64bf
mov dl, 1
mov eax, dword [0x4d8bc8]
call fcn.004d8c24
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x81], 0
cmp byte [ebp + 8], 0
je 0x4e64bf
mov byte [ebp - 0x91], 0
xor eax, eax
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x28c]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x294], eax
mov byte [ebp - 0x290], 0xb
lea edx, [ebp - 0x294]
xor ecx, ecx
mov eax, 0x4e747c
call fcn.0040b180
mov eax, dword [ebp - 0x28c]
lea edx, [ebp - 0x288]
call fcn.0059dab8
mov eax, dword [ebp - 0x288]
push eax
lea eax, [ebp - 0x298]
call fcn.004b7314
mov edx, dword [ebp - 0x298]
lea eax, [ebp - 0x88]
pop ecx
call fcn.00405854
lea eax, [ebp - 0x182]
xor ecx, ecx
mov edx, 0x29
call fcn.00403738
mov eax, dword [0x4e748c]
mov dword [ebp - 0x182], eax
mov byte [ebp - 0x17e], 1
xor eax, eax
mov dword [ebp - 0x17d], eax
xor eax, eax
mov dword [ebp - 0x179], eax
xor eax, eax
mov dword [ebp - 0x175], eax
mov eax, dword [ebp + 0x14]
call fcn.005ab19c
dec eax
test eax, eax
jl 0x4e6341
inc eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
call fcn.005ab1a0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x98]
call fcn.005ab19c
add dword [ebp - 0x17d], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x94]
call fcn.005ab19c
add dword [ebp - 0x179], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x90]
call fcn.005ab19c
add dword [ebp - 0x175], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x98]
jne 0x4e62ec
mov eax, dword [ebp + 0x14]
fld qword [eax + 0x30]
mov eax, dword [ebp + 0x14]
fsub qword [eax + 0x18]
fstp qword [ebp - 0x171]
wait
mov eax, dword [ebp + 0x14]
fld qword [eax + 0x38]
mov eax, dword [ebp + 0x14]
fsub qword [eax + 0x20]
fstp qword [ebp - 0x169]
wait
mov eax, dword [ebp + 0x14]
fld qword [eax + 0x40]
mov eax, dword [ebp + 0x14]
fsub qword [eax + 0x28]
fstp qword [ebp - 0x161]
wait
mov eax, dword [ebp - 0x88]
call fcn.0040a434
test al, al
je 0x4e6478
xor eax, eax
push ebp
push 0x4e645b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov ecx, dword [ebp - 0x88]
mov dl, 1
mov eax, dword [0x419b20]
call fcn.0041e7cc
mov dword [ebp - 0x90], eax
lea edx, [ebp - 0x159]
mov ecx, 0x29
mov eax, dword [ebp - 0x90]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x29c]
lea edx, [ebp - 0x159]
mov ecx, 4
call fcn.004057b8
mov eax, dword [ebp - 0x29c]
mov edx, 0x4e7498
call fcn.00405954
jne 0x4e6445
cmp byte [ebp - 0x155], 1
jne 0x4e6445
mov eax, dword [ebp - 0x14c]
cmp eax, dword [ebp - 0x175]
jne 0x4e6445
mov eax, dword [ebp - 0x150]
cmp eax, dword [ebp - 0x179]
jne 0x4e6445
mov eax, dword [ebp - 0x154]
cmp eax, dword [ebp - 0x17d]
jne 0x4e6445
push 0x3fb99999
push 0x9999999a
lea edx, [ebp - 0x171]
lea eax, [ebp - 0x148]
call fcn.0059ebb4
test al, al
jne 0x4e6449
xor eax, eax
jmp 0x4e644b
mov al, 1
mov byte [ebp - 0x91], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e6478
cmp byte [ebp - 0x91], 0
jne 0x4e64bf
mov eax, dword [ebp - 0x90]
call fcn.00404734
push 0xffff
mov ecx, dword [ebp - 0x88]
mov dl, 1
mov eax, dword [0x419b20]
call fcn.0041e7cc
mov dword [ebp - 0x90], eax
lea edx, [ebp - 0x182]
mov ecx, 0x29
mov eax, dword [ebp - 0x90]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp + 0x14]
call fcn.005ab19c
dec eax
test eax, eax
jl 0x4e7077
inc eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
call fcn.005ab1a0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp word [eax + 4], 0x4ce
jne 0x4e6703
push 0
mov ecx, dword [ebp - 0x40]
mov dl, 1
mov eax, dword [0x592548]
call fcn.00592718
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov byte [eax + 0x60], 0
mov eax, dword [ebp - 0x40]
lea edx, [eax + 0x17c]
mov eax, dword [ebp - 0x64]
call fcn.00592a90
mov eax, dword [ebp - 0x40]
fld dword [eax + 0x15c]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 0x40]
fld dword [eax + 0x160]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 0x40]
fld dword [eax + 0x164]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x110]
call fcn.00485e44
lea ecx, [ebp - 0x110]
mov eax, dword [ebp - 0x64]
lea edx, [eax + 0x20]
lea eax, [ebp - 0x110]
call fcn.00486298
lea edx, [ebp - 0x110]
mov eax, dword [ebp - 0x64]
call fcn.00592a30
mov eax, dword [ebp - 0x40]
push dword [eax + 0x178]
mov eax, dword [ebp - 0x64]
call fcn.005932c8
mov eax, dword [ebp - 0x40]
mov dl, byte [eax + 0x174]
mov eax, dword [ebp - 0x64]
call fcn.005932a4
mov eax, dword [ebp - 0x40]
fld dword [eax + 0x13c]
fmul dword [0x4e74a0]
mov eax, dword [ebp - 0x40]
fld dword [eax + 0x140]
fmul dword [0x4e74a0]
fmul dword [0x4e74a4]
faddp st(1)
mov eax, dword [ebp - 0x40]
fld dword [eax + 0x144]
fmul dword [0x4e74a0]
fmul dword [0x4e74a8]
faddp st(1)
call fcn.00403040
mov edx, eax
mov eax, dword [ebp - 0x64]
call fcn.00592b2c
mov eax, dword [ebp - 0x40]
fld dword [eax + 0x13c]
mov eax, dword [ebp - 0x40]
fadd dword [eax + 0x140]
mov eax, dword [ebp - 0x40]
fadd dword [eax + 0x144]
fdiv dword [0x4e74ac]
add esp, 0xfffffffc
fstp dword [esp]
wait
mov eax, dword [ebp - 0x64]
call fcn.00592ba4
mov eax, dword [ebp - 0x40]
fld dword [eax + 0x12c]
mov eax, dword [ebp - 0x40]
fadd dword [eax + 0x130]
mov eax, dword [ebp - 0x40]
fadd dword [eax + 0x134]
fdiv dword [0x4e74ac]
add esp, 0xfffffffc
fstp dword [esp]
wait
mov eax, dword [ebp - 0x64]
call fcn.00592b68
mov eax, dword [ebp - 0x40]
fld dword [eax + 0x14c]
mov eax, dword [ebp - 0x40]
fadd dword [eax + 0x150]
mov eax, dword [ebp - 0x40]
fadd dword [eax + 0x154]
fdiv dword [0x4e74ac]
add esp, 0xfffffffc
fstp dword [esp]
wait
mov eax, dword [ebp - 0x64]
call fcn.00592be0
mov eax, dword [ebp - 0x40]
cmp byte [eax + 0x124], 0
jne 0x4e66df
push 0x43340000
mov eax, dword [ebp - 0x64]
call fcn.00592c1c
push 0
push 0
push 0
push 0
push 0xbff00000
push 0
lea eax, [ebp - 0x2bc]
call fcn.00485e44
lea edx, [ebp - 0x2bc]
lea ecx, [ebp - 0x110]
mov eax, dword [ebp - 0x64]
add eax, 0x20
call fcn.00486298
lea edx, [ebp - 0x110]
mov eax, dword [ebp - 0x64]
call fcn.00592a30
jmp 0x4e66f0
mov eax, dword [ebp - 0x40]
push dword [eax + 0x128]
mov eax, dword [ebp - 0x64]
call fcn.00592c1c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx + 0x28]
jmp 0x4e7068
mov byte [ebp - 0x25], 0
cmp byte [ebp + 0x10], 0
jne 0x4e6764
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.005ab19c
dec eax
test eax, eax
jl 0x4e6764
inc eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x14]
call fcn.005ab1a0
add eax, 4
mov edx, dword [ebp - 0x40]
add edx, 0xc
xor ecx, ecx
call fcn.0059a360
test al, al
je 0x4e6759
mov byte [ebp - 0x25], 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
jmp 0x4e6764
inc dword [ebp - 0x14]
dec dword [ebp - 0x9c]
jne 0x4e672b
cmp byte [ebp - 0x25], 0
jne 0x4e6798
mov eax, dword [ebp - 0x40]
lea ecx, [eax + 0xc]
mov dl, 1
mov eax, dword [0x5956c4]
call fcn.005957bc
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.005ab19c
dec eax
mov dword [ebp - 0x20], eax
mov al, byte [ebp + 8]
and al, byte [ebp - 0x91]
je 0x4e682b
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, dword [ebp - 0x90]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x14], 0
jle 0x4e6f50
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x90]
call fcn.0059b230
push 0x32
mov ecx, 0xa
mov dl, 1
mov eax, dword [0x59dde0]
call fcn.005a1d20
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x34]
call fcn.005a9328
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x84], 3
jl 0x4e6815
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x28]
jmp 0x4e681d
mov eax, dword [ebp - 0x34]
call fcn.00404734
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jg 0x4e67c4
jmp 0x4e6f50
mov dl, 1
mov eax, dword [0x5aafa0]
call fcn.005ab0c8
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.005ab19c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x98]
call fcn.005ab19c
dec eax
test eax, eax
jl 0x4e6c66
inc eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp - 0x14]
call fcn.005ab1a0
mov dword [ebp - 0x4c], eax
push 0x32
mov ecx, 0xa
mov dl, 1
mov eax, dword [0x59dde0]
call fcn.005a1d20
mov dword [ebp - 0x34], eax
mov dl, 1
mov eax, dword [ebp - 0x34]
call fcn.005a7ba8
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x9c], edx
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0xb8], edx
xor edx, edx
mov eax, dword [ebp - 0x34]
call fcn.005a7ba8
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 4]
call fcn.005ab19c
dec eax
test eax, eax
jl 0x4e6949
inc eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x18]
call fcn.005ab1a0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movsx edx, word [eax + 4]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x90]
call fcn.005ab1a0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [ebp - 0x44]
push dword [eax + 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x44]
push dword [eax + 0x1c]
push dword [eax + 0x18]
lea eax, [ebp - 0x2d4]
call fcn.0059edac
lea edx, [ebp - 0x2d4]
mov eax, dword [ebp - 0x34]
call fcn.005a2538
inc dword [ebp - 0x18]
dec dword [ebp - 0xa0]
jne 0x4e68e1
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 8], 0
je 0x4e6ad6
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0xd8]
mov eax, dword [ebp - 0x34]
call fcn.005a5044
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 8]
call fcn.005ab19c
dec eax
test eax, eax
jl 0x4e6ad6
inc eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x18]
call fcn.005ab1a0
mov dword [ebp - 0x54], eax
push 0x32
mov ecx, 0xa
mov dl, 1
mov eax, dword [0x59dde0]
call fcn.005a1d20
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 4]
call fcn.005ab19c
dec eax
test eax, eax
jl 0x4e6a36
inc eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x1c]
call fcn.005ab1a0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movsx edx, word [eax + 4]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x90]
call fcn.005ab1a0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [ebp - 0x44]
push dword [eax + 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x44]
push dword [eax + 0x1c]
push dword [eax + 0x18]
lea eax, [ebp - 0x2d4]
call fcn.0059edac
lea edx, [ebp - 0x2d4]
mov eax, dword [ebp - 0x38]
call fcn.005a2538
inc dword [ebp - 0x1c]
dec dword [ebp - 0xa4]
jne 0x4e69ce
lea ecx, [ebp - 0x2d4]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x84]
dec edx
mov eax, dword [ebp - 0x38]
call fcn.005a28c4
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x2ec]
xor edx, edx
mov eax, dword [ebp - 0x38]
call fcn.005a28c4
lea eax, [ebp - 0x2ec]
pop edx
call fcn.0059ed38
test al, al
je 0x4e6a87
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x84]
dec edx
mov eax, dword [ebp - 0x38]
call fcn.005a2690
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0xf0]
mov eax, dword [ebp - 0x38]
call fcn.005a5044
lea edx, [ebp - 0xf0]
lea eax, [ebp - 0xd8]
call fcn.0059e7f8
fcomp dword [0x4e74b0]
fnstsw ax
sahf
jae 0x4e6abc
mov eax, dword [ebp - 0x38]
call fcn.005a7118
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
call fcn.005a33a4
inc dword [ebp - 0x18]
dec dword [ebp - 0xa0]
jne 0x4e6989
cmp dword [ebp - 0x34], 0
je 0x4e6c52
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0xa4], edx
mov dl, 1
mov eax, dword [0x5aafa0]
call fcn.005ab0c8
mov dword [ebp - 0x78], eax
push 0x3fc99999
push 0x9999999a
xor edx, edx
mov eax, dword [ebp - 0x34]
call fcn.005a5368
test al, al
je 0x4e6b61
push 0x3fc99999
push 0x9999999a
xor edx, edx
mov eax, dword [ebp - 0x34]
call fcn.005a5368
cmp dword [ebp - 0x70], 0
jne 0x4e6b3c
mov dl, 1
mov eax, dword [0x4c6c78]
call fcn.004c5d88
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x78]
mov dword [eax + 0x20], edx
xor ecx, ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x70]
call fcn.004c7124
mov eax, dword [ebp - 0x34]
call fcn.00404734
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x4e6b6c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
call dword [ecx + 0x28]
cmp byte [ebp + 0xc], 0
je 0x4e6c33
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x4e6c20
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x78]
call fcn.005ab1a0
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x26], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x4e6bff
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x74]
call fcn.005ab1a0
mov dword [ebp - 0x3c], eax
push 0x3f847ae1
push 0x47ae147b
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
call fcn.005a8ee4
test al, al
je 0x4e6bcd
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x10]
jmp 0x4e6bff
push 0x3f847ae1
push 0x47ae147b
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
call fcn.005a8ee4
test al, al
je 0x4e6bfc
mov byte [ebp - 0x26], 1
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
call dword [ecx + 0x10]
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x4e6c0c
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x74]
call fcn.005ab19c
cmp eax, dword [ebp - 0x1c]
jg 0x4e6b99
cmp byte [ebp - 0x26], 0
jne 0x4e6c20
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x28]
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x78]
call fcn.005ab19c
cmp eax, dword [ebp - 0x18]
jg 0x4e6b80
jmp 0x4e6c42
push 1
xor ecx, ecx
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
call fcn.005ab718
mov eax, dword [ebp - 0x78]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [ebp - 0x78]
call fcn.00404734
xor eax, eax
mov dword [ebp - 0x34], eax
inc dword [ebp - 0x14]
dec dword [ebp - 0x9c]
jne 0x4e686d
cmp byte [ebp + 0xc], 0
je 0x4e6ea8
cmp dword [ebp - 0x70], 0
jne 0x4e6e99
mov dl, 1
mov eax, dword [0x4c6c78]
call fcn.004c5d88
mov dword [ebp - 0x70], eax
jmp 0x4e6e99
mov dl, 1
mov eax, dword [0x5aafa0]
call fcn.005ab0c8
mov dword [ebp - 0x78], eax
xor edx, edx
mov eax, dword [ebp - 0x74]
call fcn.005ab1a0
mov edx, eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
call dword [ecx + 0x28]
xor edx, edx
mov eax, dword [ebp - 0x74]
call fcn.005ab1a0
mov eax, dword [eax + 0x84]
mov dword [ebp - 0x1c], eax
xor edx, edx
mov eax, dword [ebp - 0x74]
call fcn.005ab1a0
lea edx, [ebp - 0x110]
call fcn.005a4048
xor edx, edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0xc]
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x4e6d8e
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x74]
call fcn.005ab1a0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x80]
call fcn.005ab19c
test eax, eax
jle 0x4e6d28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0xc]
jmp 0x4e6d8e
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 0x3c]
call fcn.005a4048
push 0x3f1a36e2
push 0xeb1c432d
push 0x3f847ae1
push 0x47ae147b
lea edx, [ebp - 0x130]
lea eax, [ebp - 0x110]
call fcn.00486ea4
test al, al
je 0x4e6d8b
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x74]
call fcn.005ab1a0
mov eax, dword [eax + 0x84]
add dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0xc]
jmp 0x4e6d8e
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x74]
call fcn.005ab19c
cmp eax, dword [ebp - 0x18]
jg 0x4e6ced
mov eax, dword [ebp - 0x78]
call fcn.005ab19c
dec eax
jle 0x4e6e77
cmp dword [ebp - 0x1c], 0x10
jg 0x4e6e77
mov dl, 1
mov eax, dword [0x5aafa0]
call fcn.005ab0c8
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x7c]
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x78]
call fcn.005ab19c
dec eax
test eax, eax
jl 0x4e6e47
inc eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x78]
call fcn.005ab1a0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x84], 3
jne 0x4e6e31
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x80]
call fcn.005ab19c
test eax, eax
jne 0x4e6e31
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
call dword [ecx + 0x28]
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x78]
mov ebx, dword [eax]
call dword [ebx + 0x18]
jmp 0x4e6e3c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x70]
call fcn.004c6e84
inc dword [ebp - 0x18]
dec dword [ebp - 0x9c]
jne 0x4e6deb
mov eax, dword [ebp - 0x78]
call fcn.005ab4ac
mov cl, 1
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x80]
call fcn.004d8c9c
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x78]
call fcn.005ab6f8
mov eax, dword [ebp - 0x7c]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [ebp - 0x7c]
call fcn.00404734
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
xor ecx, ecx
mov edx, dword [ebp - 0x78]
call fcn.005ab718
mov eax, dword [ebp - 0x78]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [ebp - 0x78]
call fcn.00404734
mov eax, dword [ebp - 0x74]
call fcn.005ab19c
dec eax
jg 0x4e6c8e
mov eax, dword [ebp - 0x74]
call fcn.005ab19c
test eax, eax
jle 0x4e6ece
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
xor ecx, ecx
mov edx, dword [ebp - 0x74]
call fcn.005ab718
mov eax, dword [ebp - 0x74]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [ebp - 0x74]
call fcn.00404734
mov al, byte [ebp + 0xc]
and al, byte [ebp + 8]
je 0x4e6f50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.005ab19c
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, dword [ebp - 0x90]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x14]
dec eax
test eax, eax
jl 0x4e6f50
inc eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.005ab1a0
lea edx, [ebp - 0x2f0]
call fcn.005a904c
mov edx, dword [ebp - 0x2f0]
mov eax, dword [ebp - 0x90]
call fcn.0059b2a4
inc dword [ebp - 0x18]
dec dword [ebp - 0x9c]
jne 0x4e6f18
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x94]
call fcn.005ab19c
dec eax
test eax, eax
jl 0x4e7068
inc eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 0x14]
call fcn.005ab1a0
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
movsx eax, word [eax + 4]
cdq
xor eax, edx
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x90]
call fcn.005ab1a0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x6c]
movsx eax, word [eax + 6]
cdq
xor eax, edx
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x90]
call fcn.005ab1a0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [ebp - 0x48]
push dword [eax + 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x48]
push dword [eax + 0x1c]
push dword [eax + 0x18]
lea eax, [ebp - 0x2d4]
call fcn.0059edac
lea eax, [ebp - 0x2d4]
push eax
push 0
mov eax, dword [ebp - 0x44]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [ebp - 0x44]
push dword [eax + 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x44]
push dword [eax + 0x1c]
push dword [eax + 0x18]
lea eax, [ebp - 0x2ec]
call fcn.0059edac
lea ecx, [ebp - 0x2ec]
mov dl, 1
mov eax, dword [0x59dce8]
call fcn.005a9900
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x68]
add eax, 0x3c
mov edx, dword [ebp - 0x6c]
mov edx, dword [edx + 0xc]
call fcn.0040559c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x28]
inc dword [ebp - 0x14]
dec dword [ebp - 0x9c]
jne 0x4e6f75
inc dword [ebp - 0x10]
dec dword [ebp - 0x98]
jne 0x4e64de
cmp byte [ebp + 0xc], 0
je 0x4e7085
mov eax, dword [ebp - 0x80]
call fcn.00404734
mov al, byte [ebp + 0xc]
and al, byte [ebp + 8]
je 0x4e7098
mov eax, dword [ebp - 0x90]
call fcn.00404734
mov eax, dword [ebp - 4]
test dword [eax + 0x50], 0x8040
je 0x4e7297
mov eax, dword [0x5b1f2c]
cmp dword [eax], 0
je 0x4e70c3
mov eax, dword [0x5b1f2c]
mov eax, dword [eax]
call fcn.005ab19c
cmp eax, 3
jge 0x4e7128
push 0xffffd8f1
push 0xffffd8f1
push 0xffffd8f1
push 0
lea eax, [ebp - 0x2f8]
push eax
mov eax, dword [0x5b1d54]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x4e74bc
call fcn.00488c64
push dword [ebp - 0x2f8]
push 0x4e74dc
mov eax, dword [ebp - 4]
push dword [eax + 4]
lea eax, [ebp - 0x2f4]
mov edx, 3
call fcn.004058c8
mov ecx, dword [ebp - 0x2f4]
mov eax, dword [0x5b19ac]
mov eax, dword [eax]
mov dl, 4
call fcn.004a1318
jmp 0x4e7297
push 0x32
mov ecx, 0xa
mov dl, 1
mov eax, dword [0x59dde0]
call fcn.005a1d20
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov eax, dword [0x5b1f2c]
mov eax, dword [eax]
call fcn.005ab19c
dec eax
test eax, eax
jl 0x4e71f9
inc eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x10], 0
mov eax, dword [0x5b1f2c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
call fcn.005ab1a0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push dword [eax + 0xc]
push dword [eax + 8]
push 0
push 0
mov eax, dword [ebp - 0x44]
push dword [eax + 0x1c]
push dword [eax + 0x18]
lea eax, [ebp - 0xc0]
call fcn.0059edac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
cmp dword [eax + 0x84], 0
je 0x4e71d9
lea ecx, [ebp - 0x2d4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [eax + 0x84]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.005a28c4
lea eax, [ebp - 0x2d4]
lea edx, [ebp - 0xc0]
call fcn.0059ed38
test al, al
jne 0x4e71ea
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
lea edx, [ebp - 0xc0]
call fcn.005a24b0
inc dword [ebp - 0x10]
dec dword [ebp - 0x98]
jne 0x4e7164
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004e8c00
jmp 0x4e721e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [eax + 0x84]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.005a2690
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
cmp dword [eax + 0x84], 2
jle 0x4e7275
lea ecx, [ebp - 0x2d4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [eax + 0x84]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.005a28c4
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x2ec]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
xor edx, edx
call fcn.005a28c4
lea eax, [ebp - 0x2ec]
pop edx
call fcn.0059ed38
test al, al
jne 0x4e7206
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
cmp dword [eax + 0x84], 3
jge 0x4e7297
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00404734
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x54], edx
mov eax, dword [ebp + 0x14]
push dword [eax + 0x1c]
push dword [eax + 0x18]
mov eax, dword [ebp + 0x14]
push dword [eax + 0x24]
push dword [eax + 0x20]
mov eax, dword [ebp + 0x14]
push dword [eax + 0x2c]
push dword [eax + 0x28]
lea eax, [ebp - 0x2d4]
call fcn.0059edac
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x2d4]
lea edi, [eax + 0x20]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x14]
push dword [eax + 0x34]
push dword [eax + 0x30]
mov eax, dword [ebp + 0x14]
push dword [eax + 0x3c]
push dword [eax + 0x38]
mov eax, dword [ebp + 0x14]
push dword [eax + 0x44]
push dword [eax + 0x40]
lea eax, [ebp - 0x2d4]
call fcn.0059edac
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x2d4]
lea edi, [eax + 0x38]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp + 0x10], 0
jne 0x4e7319
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004e76e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.005ab19c
dec eax
test eax, eax
jl 0x4e7380
inc eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x10], 0
push 0x32
mov ecx, 0xa
mov dl, 1
mov eax, dword [0x59dde0]
call fcn.005a1d20
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x10]
call fcn.005ab1a0
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 0x34]
call fcn.005a2014
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x28]
inc dword [ebp - 0x10]
dec dword [ebp - 0x98]
jne 0x4e7337
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.005ab19c
dec eax
test eax, eax
jl 0x4e73de
inc eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x10], 0
mov dl, 1
mov eax, dword [0x59dce8]
call fcn.005ab96c
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x10]
call fcn.005ab1a0
mov edx, eax
mov eax, dword [ebp - 0x68]
call fcn.005a99dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x28]
inc dword [ebp - 0x10]
dec dword [ebp - 0x98]
jne 0x4e739e
mov eax, dword [ebp - 0x70]
call fcn.00404734
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e7450
lea eax, [ebp - 0x2f8]
mov edx, 3
call fcn.0040556c
lea eax, [ebp - 0x29c]
mov edx, 2
call fcn.0040556c
lea eax, [ebp - 0x28c]
mov edx, 2
call fcn.0040556c
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.0040556c
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0040556c
lea eax, [ebp - 0xc]
call fcn.00405548
ret