Function at 0x4d3d8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 0x24], 0
jle 0x4d4925
xor eax, eax
push ebp
push 0x4d491b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x472c], 0
jl 0x4d3dd1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x472c], 0x3d090
jl 0x4d3ddc
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x472c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4730]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4734]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x3c]
jne 0x4d3e13
cmp dword [ebp - 0x38], 0
jl 0x4d3e13
cmp dword [ebp - 0x38], 0x3d090
jge 0x4d3e13
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
jmp 0x4d3e1f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x472c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov al, byte [eax + 0x494]
mov byte [ebp - 0x51], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
cmp byte [eax + 0x495], 0
jne 0x4d3e67
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4728], 0
jg 0x4d3e67
fld qword [ebp + 0x10]
fcomp dword [0x4d4930]
fnstsw ax
sahf
jne 0x4d4694
mov eax, dword [ebp + 0x18]
mov ax, word [eax + 0xe]
sub ax, 8
je 0x4d3e83
sub ax, 8
je 0x4d4067
jmp 0x4d4694
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5b8]
sub eax, 1
jb 0x4d3ead
je 0x4d3f05
dec eax
je 0x4d3f88
dec eax
je 0x4d3fe2
jmp 0x4d4694
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x4d4694
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], 0
push ebp
lea eax, [ebp - 0x2a]
call fcn.004d34b4
pop ecx
test al, al
je 0x4d3ee2
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
movsx edx, word [ebp - 0x2a]
add eax, edx
mov dword [ebp - 0x30], eax
jmp 0x4d3eeb
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
shr eax, 1
mov edx, dword [ebp - 0x1c]
mov byte [edx], al
inc dword [ebp - 0x1c]
inc dword [ebp - 0x28]
dec dword [ebp - 0x58]
jne 0x4d3ec3
jmp 0x4d4694
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x4d4694
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], 0
push ebp
lea eax, [ebp - 0x2a]
call fcn.004d34b4
pop ecx
test al, al
je 0x4d3f58
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul qword [ebp + 0x10]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004a6a38
and eax, 0xff
movsx edx, word [ebp - 0x2a]
add eax, edx
shr eax, 1
mov edx, dword [ebp - 0x1c]
mov byte [edx], al
jmp 0x4d3f78
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul qword [ebp + 0x10]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004a6a38
mov edx, dword [ebp - 0x1c]
mov byte [edx], al
inc dword [ebp - 0x1c]
inc dword [ebp - 0x28]
dec dword [ebp - 0x58]
jne 0x4d3f1b
jmp 0x4d4694
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x4d4694
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], 0
push ebp
lea eax, [ebp - 0x2a]
call fcn.004d34b4
pop ecx
test al, al
je 0x4d3fd2
fild word [ebp - 0x2a]
fmul qword [ebp + 8]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004a6a38
and eax, 0xff
mov edx, dword [ebp - 0x1c]
movzx edx, byte [edx]
add eax, edx
shr eax, 1
mov edx, dword [ebp - 0x1c]
mov byte [edx], al
inc dword [ebp - 0x1c]
inc dword [ebp - 0x28]
dec dword [ebp - 0x58]
jne 0x4d3f9e
jmp 0x4d4694
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x4d4694
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], 0
push ebp
lea eax, [ebp - 0x2a]
call fcn.004d34b4
pop ecx
test al, al
je 0x4d4037
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul qword [ebp + 0x10]
fild word [ebp - 0x2a]
fmul qword [ebp + 8]
faddp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004a6a38
and eax, 0xff
shr eax, 1
mov edx, dword [ebp - 0x1c]
mov byte [edx], al
jmp 0x4d4057
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul qword [ebp + 0x10]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004a6a38
mov edx, dword [ebp - 0x1c]
mov byte [edx], al
inc dword [ebp - 0x1c]
inc dword [ebp - 0x28]
dec dword [ebp - 0x58]
jne 0x4d3ff8
jmp 0x4d4694
mov eax, dword [ebp - 0x24]
shr eax, 1
dec eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5b8]
sub eax, 1
jb 0x4d4093
je 0x4d40ed
dec eax
je 0x4d4168
dec eax
je 0x4d41c7
jmp 0x4d4694
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x4d4694
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], 0
push ebp
lea eax, [ebp - 0x2a]
call fcn.004d34b4
pop ecx
test al, al
je 0x4d40c8
mov eax, dword [ebp - 0x1c]
movsx eax, word [eax]
movsx edx, word [ebp - 0x2a]
add eax, edx
mov dword [ebp - 0x30], eax
jmp 0x4d40d1
mov eax, dword [ebp - 0x1c]
movsx eax, word [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
shr eax, 1
mov edx, dword [ebp - 0x1c]
mov word [edx], ax
add dword [ebp - 0x1c], 2
inc dword [ebp - 0x28]
dec dword [ebp - 0x58]
jne 0x4d40a9
jmp 0x4d4694
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x4d4694
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], 0
push ebp
lea eax, [ebp - 0x2a]
call fcn.004d34b4
pop ecx
test al, al
je 0x4d413d
mov eax, dword [ebp - 0x1c]
fild word [eax]
fmul qword [ebp + 0x10]
fild word [ebp - 0x2a]
faddp st(1)
fld dword [0x4d4934]
call fcn.00403420
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004a6a70
mov edx, dword [ebp - 0x1c]
mov word [edx], ax
jmp 0x4d4157
mov eax, dword [ebp - 0x1c]
fild word [eax]
fmul qword [ebp + 0x10]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004a6a70
mov edx, dword [ebp - 0x1c]
mov word [edx], ax
add dword [ebp - 0x1c], 2
inc dword [ebp - 0x28]
dec dword [ebp - 0x58]
jne 0x4d4103
jmp 0x4d4694
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x4d4694
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], 0
push ebp
lea eax, [ebp - 0x2a]
call fcn.004d34b4
pop ecx
test al, al
je 0x4d41b6
fild word [ebp - 0x2a]
fmul qword [ebp + 8]
mov eax, dword [ebp - 0x1c]
fild word [eax]
faddp st(1)
fld dword [0x4d4934]
call fcn.00403420
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004a6a70
mov edx, dword [ebp - 0x1c]
mov word [edx], ax
add dword [ebp - 0x1c], 2
inc dword [ebp - 0x28]
dec dword [ebp - 0x58]
jne 0x4d417e
jmp 0x4d4694
mov byte [ebp - 0x52], 0
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
cmp byte [eax + 0x495], 0
je 0x4d44de
push ebp
call fcn.004d3c00
pop ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
cmp dword [eax + 0x49c], 0
jne 0x4d4210
cmp dword [eax + 0x498], 5
jae 0x4d42e7
jmp 0x4d4216
jge 0x4d42e7
mov eax, dword [ebp - 0x10]
inc eax
add eax, eax
cmp eax, dword [ebp - 0x34]
jg 0x4d42de
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov edx, dword [eax + 0x49c]
mov eax, dword [eax + 0x498]
add eax, 1
adc edx, 0
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x330]
mov dword [ecx + 0x498], eax
mov dword [ecx + 0x49c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
cmp dword [eax + 0x49c], 0
jne 0x4d4272
cmp dword [eax + 0x498], 5
jb 0x4d42c3
jmp 0x4d4274
jl 0x4d42c3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov dword [eax + 0x4a8], 0
mov dword [eax + 0x4ac], 0
push ebp
mov eax, dword [ebp - 0x10]
inc eax
add eax, eax
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
call fcn.00402fcc
call fcn.004d3c50
pop ecx
push ebp
call fcn.004d3c00
pop ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
inc eax
cmp eax, dword [ebp - 0x34]
setle byte [ebp - 0x52]
jmp 0x4d44de
push ebp
mov eax, dword [ebp - 0x10]
inc eax
push eax
mov eax, dword [ebp - 0x34]
pop edx
sub eax, edx
call fcn.004d3c50
pop ecx
mov byte [ebp - 0x52], 0
jmp 0x4d44de
mov byte [ebp - 0x52], 0
jmp 0x4d44de
cmp dword [ebp - 0x10], 0
jle 0x4d437e
fild dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
fmul dword [0x4d4938]
fcompp
fnstsw ax
sahf
ja 0x4d437e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov edx, dword [eax + 0x4a4]
mov eax, dword [eax + 0x4a0]
add eax, 1
adc edx, 0
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x330]
mov dword [ecx + 0x4a0], eax
mov dword [ecx + 0x4a4], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
cmp dword [eax + 0x4a4], 0
jne 0x4d4358
cmp dword [eax + 0x4a0], 0x28
jbe 0x4d439b
jmp 0x4d435a
jle 0x4d439b
push ebp
mov eax, dword [ebp - 0x10]
inc eax
add eax, eax
mov dword [ebp - 0x68], eax
fild dword [ebp - 0x68]
call fcn.00402fcc
call fcn.004d3c50
pop ecx
push ebp
call fcn.004d3c00
pop ecx
mov dword [ebp - 0x34], eax
jmp 0x4d439b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov dword [eax + 0x4a0], 0
mov dword [eax + 0x4a4], 0
mov eax, dword [ebp - 0x10]
inc eax
cmp eax, dword [ebp - 0x34]
setle byte [ebp - 0x52]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
cmp dword [eax + 0x49c], 0
jne 0x4d43c4
cmp dword [eax + 0x498], 0xa
setb al
jmp 0x4d43c7
setl al
and al, byte [ebp - 0x52]
je 0x4d43fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov edx, dword [eax + 0x49c]
mov eax, dword [eax + 0x498]
add eax, 1
adc edx, 0
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x330]
mov dword [ecx + 0x498], eax
mov dword [ecx + 0x49c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
cmp dword [eax + 0x49c], 0
jne 0x4d441a
cmp dword [eax + 0x498], 0xa
setae al
jmp 0x4d441d
setge al
mov byte [ebp - 9], al
cmp byte [ebp - 0x52], 0
jne 0x4d44c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
cmp dword [eax + 0x4ac], 0
jne 0x4d4447
cmp dword [eax + 0x4a8], 1
ja 0x4d4453
jmp 0x4d4449
jg 0x4d4453
cmp dword [ebp - 0x34], 0
jle 0x4d4453
mov byte [ebp - 0x52], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov edx, dword [eax + 0x4ac]
mov eax, dword [eax + 0x4a8]
add eax, 1
adc edx, 0
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x330]
mov dword [ecx + 0x4a8], eax
mov dword [ecx + 0x4ac], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
cmp dword [eax + 0x4ac], 0
jne 0x4d44a0
cmp dword [eax + 0x4a8], 0x1e
jb 0x4d44de
jmp 0x4d44a2
jl 0x4d44de
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov dword [eax + 0x498], 0
mov dword [eax + 0x49c], 0
jmp 0x4d44de
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov dword [eax + 0x4a8], 0
mov dword [eax + 0x4ac], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
cmp byte [eax + 0x495], 0
je 0x4d4603
mov al, byte [0x5672c4]
and al, byte [ebp - 0x52]
je 0x4d450b
cmp byte [ebp - 9], 0
je 0x4d450b
push ebp
call fcn.004d360c
pop ecx
cmp byte [ebp - 0x51], 0
jne 0x4d4544
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
cmp byte [eax + 0x496], 0
je 0x4d4544
mov eax, dword [ebp - 0x10]
inc eax
cmp eax, 0x3d090
jge 0x4d4544
cmp byte [ebp - 0x52], 0
je 0x4d4603
push ebp
call fcn.004d39cc
pop ecx
jmp 0x4d4603
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x4d4603
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], 0
cmp byte [ebp - 0x52], 0
je 0x4d45bb
push ebp
lea eax, [ebp - 0x12]
call fcn.004d357c
pop ecx
test al, al
je 0x4d45bb
cmp byte [ebp - 0x51], 0
je 0x4d4586
mov eax, dword [ebp - 0x1c]
mov dx, word [ebp - 0x12]
mov word [eax], dx
jmp 0x4d45f3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
cmp byte [eax + 0x496], 0
je 0x4d45af
mov eax, dword [ebp - 0x1c]
mov ax, word [eax]
mov dx, word [ebp - 0x12]
call fcn.004d3450
mov edx, dword [ebp - 0x1c]
mov word [edx], ax
jmp 0x4d45f3
mov eax, dword [ebp - 0x1c]
mov dx, word [ebp - 0x12]
mov word [eax], dx
jmp 0x4d45f3
cmp byte [ebp - 0x51], 0
je 0x4d45cb
mov eax, dword [ebp - 0x1c]
mov word [eax], 0
jmp 0x4d45f3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
cmp byte [eax + 0x496], 0
je 0x4d45eb
mov eax, dword [ebp - 0x1c]
mov ax, word [eax]
mov edx, dword [ebp - 0x1c]
mov word [edx], ax
jmp 0x4d45f3
mov eax, dword [ebp - 0x1c]
mov word [eax], 0
add dword [ebp - 0x1c], 2
inc dword [ebp - 0x28]
dec dword [ebp - 0x58]
jne 0x4d4560
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jl 0x4d4694
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], 0
push ebp
lea eax, [ebp - 0x2a]
call fcn.004d34b4
pop ecx
test al, al
je 0x4d4672
fld qword [ebp + 0x10]
fcomp dword [0x4d4930]
fnstsw ax
sahf
jne 0x4d4647
mov eax, dword [ebp - 0x1c]
mov dx, word [ebp - 0x2a]
mov word [eax], dx
jmp 0x4d4688
fld dword [0x4d493c]
fmul qword [0x567308]
fsubr dword [0x4d4940]
mov eax, dword [ebp - 0x1c]
fild word [eax]
fmulp st(1)
fild word [ebp - 0x2a]
faddp st(1)
call fcn.00402fd8
mov edx, dword [ebp - 0x1c]
mov word [edx], ax
jmp 0x4d4688
fld qword [ebp + 0x10]
fcomp dword [0x4d4930]
fnstsw ax
sahf
jne 0x4d4688
mov eax, dword [ebp - 0x1c]
mov word [eax], 0
add dword [ebp - 0x1c], 2
inc dword [ebp - 0x28]
dec dword [ebp - 0x58]
jne 0x4d461f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
cmp byte [eax + 0x4b7], 0
je 0x4d48f5
mov eax, dword [ebp + 0x18]
cmp word [eax + 0xe], 0x10
jne 0x4d4844
mov eax, dword [ebp - 0x24]
shr eax, 1
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4d482f
cmp dword [ebp - 0x10], 0x4c4b40
jge 0x4d482f
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jl 0x4d4746
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
fild word [eax]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004a6a70
movsx eax, ax
cdq
xor eax, edx
sub eax, edx
mov word [ebp - 0x1e], ax
movsx eax, word [ebp - 0x1e]
cdq
cmp edx, dword [ebp - 0x44]
jne 0x4d472d
cmp eax, dword [ebp - 0x48]
jbe 0x4d473a
jmp 0x4d472f
jle 0x4d473a
movsx eax, word [ebp - 0x1e]
cdq
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
add dword [ebp - 0x1c], 2
inc dword [ebp - 0x28]
dec dword [ebp - 0x58]
jne 0x4d46ff
push 0
push 0
push 0
push 0x7fff
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.0042fef8
push edx
push eax
call fcn.0042ff88
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 0
jne 0x4d477b
cmp dword [ebp - 0x48], 0x19
jbe 0x4d481a
jmp 0x4d4781
jle 0x4d481a
push 0
push 0
push 0
push 0xc004
push 0xf0000000
push 0
fild qword [ebp - 0x48]
fld dword [0x4d4944]
call fcn.00403420
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042fee0
fmul dword [0x4d4948]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042ffc8
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042ff38
fadd dword [0x4d494c]
fstp qword [ebp - 0x50]
wait
fld dword [0x4d4940]
fmul qword [ebp - 0x50]
fld dword [0x4d494c]
call fcn.00403420
fmul dword [0x4d4950]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004a6a38
xor edx, edx
mov dl, al
xor eax, eax
call fcn.0042ff80
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x330]
mov byte [edx + 0x4b6], al
jmp 0x4d48f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov byte [eax + 0x4b6], 0
jmp 0x4d48f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov byte [eax + 0x4b6], 0
jmp 0x4d48f5
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4d48e5
cmp dword [ebp - 0x10], 0xf4240
jge 0x4d48e5
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jl 0x4d48ac
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
cdq
xor eax, edx
sub eax, edx
cdq
add eax, dword [ebp - 0x48]
adc edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
inc dword [ebp - 0x1c]
inc dword [ebp - 0x28]
dec dword [ebp - 0x58]
jne 0x4d4889
fild qword [ebp - 0x48]
fmul dword [0x4d4940]
fild dword [ebp - 0x10]
call fcn.00403420
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.004a6a38
xor edx, edx
mov dl, al
xor eax, eax
call fcn.0042ff80
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x330]
mov byte [edx + 0x4b6], al
jmp 0x4d48f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov byte [eax + 0x4b6], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4720], 0
jle 0x4d4911
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4724]
mov ax, word [eax]
mov word [ebp - 0x1e], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d4925
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14