Function at 0x4d47c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
xor ebx, ebx
mov edi, dword [esp + 0xc0]
mov ebp, dword [edi + 0x70]
mov al, byte [edi + 0x126]
mov edx, ebp
mov bl, al
and edx, 0x1100
cmp edx, 0x1100
je 0x4d4a95
mov eax, dword [edi + 0x138]
cmp ebx, 3
mov dword [edi + 0x142], eax
mov eax, dword [edi + 0x13c]
mov dword [edi + 0x146], eax
mov eax, dword [edi + 0x140]
mov word [edi + 0x14a], ax
je 0x4d4ab2
test ebp, 0x602000
je 0x4d483b
fldz
fcomp dword [edi + 0x15c]
fnstsw ax
test ah, 0x40
je 0x4d4b31
test ebp, 0x80
jne 0x4d4860
and ebp, 8
je 0x4d4851
cmp ebx, 3
je 0x4d49e4
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ebx, 3
jne 0x4d4851
mov si, word [edi + 0x13a]
mov cx, word [edi + 0x11a]
mov ebx, esi
mov eax, dword [edi + 0x13c]
mov byte [esp + 0x48], bl
mov bx, word [edi + 0x13e]
mov edx, dword [edi + 0x114]
mov byte [esp + 0x50], al
test cx, cx
mov byte [esp + 0x58], bl
je 0x4d49db
and ecx, 0xffff
and esi, 0xff
inc ecx
and eax, 0xff
and ebx, 0xff
mov dword [esp + 0x88], ecx
mov word [esp + 0x80], si
mov ecx, 1
mov word [esp + 0x8c], ax
mov word [esp + 0x60], bx
jmp 0x4d48fd
mov bl, byte [esp + 0x48]
mov byte [edx], bl
mov bl, byte [esp + 0x50]
mov byte [edx + 1], bl
mov bl, byte [esp + 0x58]
mov byte [edx + 2], bl
inc ecx
add edx, 3
cmp ecx, dword [esp + 0x88]
je 0x4d49d8
lea esi, [ecx - 1]
mov eax, dword [edi + 0x188]
mov bl, byte [eax + esi]
test bl, bl
je 0x4d48d8
cmp bl, 0xff
je 0x4d48ec
mov al, bl
mov ebp, 0xff
and ebx, 0xff
inc ecx
sub ebp, ebx
mov ebx, ebp
mov ebp, dword [esp + 0x80]
mul byte [edx]
imul ebx, ebp
mov ebp, 0xff
lea eax, [eax + ebx + 0x80]
mov ebx, eax
and ebx, 0xffff
movzx eax, ah
add eax, ebx
sar eax, 8
mov byte [edx], al
mov eax, dword [edi + 0x188]
mov bl, byte [eax + esi]
mov al, bl
and ebx, 0xff
sub ebp, ebx
mov ebx, ebp
mov ebp, dword [esp + 0x8c]
mul byte [edx + 1]
imul ebx, ebp
lea eax, [eax + ebx + 0x80]
mov ebx, eax
and ebx, 0xffff
movzx eax, ah
add eax, ebx
sar eax, 8
mov byte [edx + 1], al
mov eax, dword [edi + 0x188]
mov bl, byte [eax + esi]
mov esi, 0xff
mov al, bl
and ebx, 0xff
sub esi, ebx
mov ebx, esi
mov esi, dword [esp + 0x60]
mul byte [edx + 2]
imul ebx, esi
lea eax, [eax + ebx + 0x80]
mov esi, eax
and esi, 0xffff
movzx eax, ah
add eax, esi
sar eax, 8
mov byte [edx + 2], al
add edx, 3
cmp ecx, dword [esp + 0x88]
jne 0x4d48fd
mov ebp, dword [edi + 0x70]
and ebp, 8
je 0x4d4851
mov ecx, 8
xor edx, edx
mov dl, byte [edi + 0x17c]
mov ebp, ecx
sub ebp, edx
xor edx, edx
mov dl, byte [edi + 0x17d]
mov esi, ecx
sub esi, edx
xor edx, edx
mov dl, byte [edi + 0x17e]
mov eax, dword [edi + 0x118]
sub ecx, edx
cmp ebp, 9
sbb edx, edx
and ebp, edx
cmp esi, 9
sbb edx, edx
mov dword [esp + 0x48], ebp
and esi, edx
cmp ecx, 9
sbb edx, edx
and ecx, edx
test ax, ax
mov dword [esp + 0x50], ecx
je 0x4d4851
dec eax
and eax, 0xffff
lea ebx, [eax + eax*2 + 3]
xor eax, eax
mov ebp, dword [edi + 0x114]
xor edx, edx
add ebp, eax
mov cl, byte [esp + 0x48]
mov dl, byte [ebp]
sar edx, cl
mov byte [ebp], dl
xor edx, edx
mov ebp, dword [edi + 0x114]
mov ecx, esi
add ebp, eax
mov dl, byte [ebp + 1]
sar edx, cl
mov byte [ebp + 1], dl
xor edx, edx
mov ebp, dword [edi + 0x114]
mov cl, byte [esp + 0x50]
add ebp, eax
add eax, 3
mov dl, byte [ebp + 2]
sar edx, cl
mov byte [ebp + 2], dl
cmp eax, ebx
jne 0x4d4a43
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
test al, 2
jne 0x4d4f18
cmp byte [edi + 0x127], 0x10
jbe 0x4d4fc0
mov ebp, dword [edi + 0x70]
jmp 0x4d47f2
mov cx, word [edi + 0x11a]
test cx, cx
je 0x4d4820
fld dword [edi + 0x15c]
fmul dword [edi + 0x160]
fsub dword [0x70d444]
fabs
fcomp qword [0x70d448]
fnstsw ax
test ah, 1
je 0x4d4820
and ecx, 0xffff
test ecx, ecx
jle 0x4d4b23
mov esi, dword [edi + 0x188]
mov dword [esp + 0x50], 0
xor eax, eax
mov dl, byte [esi + eax]
dec edx
cmp dl, 0xfd
ja 0x4d4b12
mov dword [esp + 0x50], 1
inc eax
cmp eax, ecx
jl 0x4d4b01
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x4d4820
and ebp, 0xffffdfff
mov dword [edi + 0x70], ebp
jmp 0x4d4820
mov dword [esp], edi
call fcn.004d3e40
mov ebp, dword [edi + 0x70]
test ebp, 0x80
je 0x4d4f50
cmp ebx, 3
je 0x4d51c6
xor ecx, ecx
mov eax, 1
mov cl, byte [edi + 0x127]
xor edx, edx
shl eax, cl
dec eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], eax
fild qword [esp + 0x90]
mov al, byte [edi + 0x130]
fstp qword [esp + 0x48]
cmp al, 2
je 0x4d4fcf
cmp al, 3
je 0x4d56b5
dec al
je 0x4d56a0
fld1
fst qword [esp + 0x58]
fstp qword [esp + 0x50]
mov eax, dword [edi + 0x140]
and eax, 0xffff
mov dword [esp + 0x9c], eax
fild dword [esp + 0x9c]
fdiv qword [esp + 0x48]
fld qword [esp + 0x50]
fstp qword [esp + 8]
fst qword [esp]
fstp qword [esp + 0x10]
call sub.msvcrt.dll_pow
fmul qword [esp + 0x48]
fnstcw word [esp + 0x9a]
mov ax, word [esp + 0x9a]
mov ah, 0xc
fld dword [0x70d454]
fadd st(1), st(0)
fxch st(1)
mov word [esp + 0x98], ax
fldcw word [esp + 0x98]
fistp dword [esp + 0x9c]
fldcw word [esp + 0x9a]
fld qword [esp + 0x58]
mov esi, dword [esp + 0x9c]
mov word [edi + 0x14a], si
fstp qword [esp + 8]
fld qword [esp + 0x10]
fstp qword [esp]
fstp qword [esp + 0x20]
call sub.msvcrt.dll_pow
fmul qword [esp + 0x48]
fnstcw word [esp + 0x9a]
mov ax, word [esp + 0x9a]
mov ah, 0xc
fld qword [esp + 0x20]
faddp st(1)
mov word [esp + 0x98], ax
fldcw word [esp + 0x98]
fistp dword [esp + 0x9c]
fldcw word [esp + 0x9a]
mov eax, dword [esp + 0x9c]
mov ebx, dword [edi + 0x13c]
mov edx, eax
mov word [edi + 0x140], ax
mov ax, word [edi + 0x13a]
cmp ax, bx
je 0x4d5655
fld qword [esp + 0x48]
fdivr dword [0x70d444]
and eax, 0xffff
and ebx, 0xffff
mov dword [esp + 0x9c], eax
fst qword [esp + 0x80]
fild dword [esp + 0x9c]
fmulp st(1)
fld qword [esp + 0x50]
fstp qword [esp + 8]
fst qword [esp]
fstp qword [esp + 0x30]
call sub.msvcrt.dll_pow
fmul qword [esp + 0x48]
fnstcw word [esp + 0x9a]
mov ax, word [esp + 0x9a]
mov ah, 0xc
fadd qword [0x70d480]
mov word [esp + 0x98], ax
fldcw word [esp + 0x98]
fistp dword [esp + 0x9c]
fldcw word [esp + 0x9a]
mov eax, dword [esp + 0x9c]
mov word [edi + 0x144], ax
mov dword [esp + 0x9c], ebx
fild dword [esp + 0x9c]
fmul qword [esp + 0x80]
fld qword [esp + 0x50]
fstp qword [esp + 8]
fst qword [esp]
fstp qword [esp + 0x20]
call sub.msvcrt.dll_pow
fmul qword [esp + 0x48]
fnstcw word [esp + 0x9a]
mov ax, word [esp + 0x9a]
mov ah, 0xc
fadd qword [0x70d480]
mov word [esp + 0x98], ax
fldcw word [esp + 0x98]
fistp dword [esp + 0x9c]
fldcw word [esp + 0x9a]
mov eax, dword [esp + 0x9c]
mov word [edi + 0x146], ax
mov ax, word [edi + 0x13e]
and eax, 0xffff
mov dword [esp + 0x9c], eax
fild dword [esp + 0x9c]
fmul qword [esp + 0x80]
fld qword [esp + 0x50]
fstp qword [esp + 8]
fst qword [esp]
fstp qword [esp + 0x10]
call sub.msvcrt.dll_pow
fmul qword [esp + 0x48]
fnstcw word [esp + 0x9a]
mov ax, word [esp + 0x9a]
mov ah, 0xc
fadd qword [0x70d480]
mov word [esp + 0x98], ax
fldcw word [esp + 0x98]
fistp dword [esp + 0x9c]
fldcw word [esp + 0x9a]
fld qword [esp + 0x58]
mov eax, dword [esp + 0x9c]
mov word [edi + 0x148], ax
fstp qword [esp + 8]
fld qword [esp + 0x30]
fstp qword [esp]
call sub.msvcrt.dll_pow
fmul qword [esp + 0x48]
fnstcw word [esp + 0x9a]
mov ax, word [esp + 0x9a]
mov ah, 0xc
fadd qword [0x70d480]
mov word [esp + 0x98], ax
fldcw word [esp + 0x98]
fistp dword [esp + 0x9c]
fldcw word [esp + 0x9a]
fld qword [esp + 0x58]
mov eax, dword [esp + 0x9c]
mov word [edi + 0x13a], ax
fstp qword [esp + 8]
fld qword [esp + 0x20]
fstp qword [esp]
call sub.msvcrt.dll_pow
fmul qword [esp + 0x48]
fnstcw word [esp + 0x9a]
mov ax, word [esp + 0x9a]
mov ah, 0xc
fadd qword [0x70d480]
mov word [esp + 0x98], ax
fldcw word [esp + 0x98]
fistp dword [esp + 0x9c]
fldcw word [esp + 0x9a]
mov eax, dword [esp + 0x9c]
mov word [edi + 0x13c], ax
fld qword [esp + 0x58]
fstp qword [esp + 8]
fld qword [esp + 0x10]
fstp qword [esp]
call sub.msvcrt.dll_pow
fmul qword [esp + 0x48]
fnstcw word [esp + 0x9a]
mov ax, word [esp + 0x9a]
mov ah, 0xc
fadd qword [0x70d480]
mov word [esp + 0x98], ax
fldcw word [esp + 0x98]
fistp dword [esp + 0x9c]
fldcw word [esp + 0x9a]
mov eax, dword [esp + 0x9c]
mov word [edi + 0x13e], ax
jmp 0x4d4851
cmp ebx, 3
je 0x4d5124
mov eax, dword [edi + 0x138]
mov dword [edi + 0x142], eax
mov eax, dword [edi + 0x13c]
mov dword [edi + 0x146], eax
mov eax, dword [edi + 0x140]
mov word [edi + 0x14a], ax
jmp 0x4d4820
cmp ebx, 3
jne 0x4d4851
mov edx, dword [edi + 0x118]
mov eax, dword [edi + 0x114]
test dx, dx
je 0x4d49db
and edx, 0xffff
lea esi, [edx + edx*2]
xor edx, edx
lea esi, [esi]
xor ecx, ecx
mov ebx, dword [edi + 0x164]
mov cl, byte [eax]
add edx, 3
mov bl, byte [ebx + ecx]
xor ecx, ecx
mov byte [eax], bl
mov cl, byte [eax + 1]
mov ebx, dword [edi + 0x164]
mov bl, byte [ebx + ecx]
xor ecx, ecx
mov byte [eax + 1], bl
mov cl, byte [eax + 2]
mov ebx, dword [edi + 0x164]
mov bl, byte [ebx + ecx]
mov byte [eax + 2], bl
add eax, 3
cmp edx, esi
jne 0x4d4f80
jmp 0x4d49d8
xor eax, eax
mov al, byte [edi + 0x127]
jmp dword [eax*4 + 0x70d388]
fld dword [edi + 0x15c]
fld1
fld st(0)
fdiv st(2)
fstp qword [esp + 0x50]
fxch st(1)
fmul dword [edi + 0x160]
fdivp st(1)
fstp qword [esp + 0x58]
jmp 0x4d4ba4
mov edx, dword [edi + 0x140]
mov ebp, dword [edi + 0x70]
mov eax, edx
shl eax, 8
sub eax, edx
mov word [edi + 0x140], ax
mov word [edi + 0x13e], ax
mov word [edi + 0x13c], ax
mov word [edi + 0x13a], ax
test ebp, 0x2000000
jne 0x4d47f2
mov edx, dword [edi + 0x194]
mov eax, edx
shl eax, 8
sub eax, edx
mov word [edi + 0x194], ax
mov word [edi + 0x192], ax
mov word [edi + 0x190], ax
mov word [edi + 0x18e], ax
jmp 0x4d47f2
mov eax, dword [edi + 0x140]
mov ebp, dword [edi + 0x70]
mov edx, eax
shl edx, 4
add eax, edx
mov word [edi + 0x140], ax
mov word [edi + 0x13e], ax
mov word [edi + 0x13c], ax
mov word [edi + 0x13a], ax
test ebp, 0x2000000
jne 0x4d47f2
mov eax, dword [edi + 0x194]
mov edx, eax
shl edx, 4
add eax, edx
mov word [edi + 0x194], ax
mov word [edi + 0x192], ax
mov word [edi + 0x190], ax
mov word [edi + 0x18e], ax
jmp 0x4d47f2
mov eax, dword [edi + 0x140]
mov ebp, dword [edi + 0x70]
lea eax, [eax + eax*4]
mov edx, eax
shl edx, 4
add eax, edx
mov word [edi + 0x140], ax
mov word [edi + 0x13e], ax
mov word [edi + 0x13c], ax
mov word [edi + 0x13a], ax
test ebp, 0x2000000
jne 0x4d47f2
mov eax, dword [edi + 0x194]
lea eax, [eax + eax*4]
jmp 0x4d5096
mov eax, dword [edi + 0x140]
mov word [edi + 0x13e], ax
mov word [edi + 0x13c], ax
mov word [edi + 0x13a], ax
jmp case.0x4d4fc8.0
xor eax, eax
mov esi, dword [edi + 0x114]
mov al, byte [edi + 0x138]
xor edx, edx
mov cx, word [edi + 0x11a]
lea eax, [eax + eax*2]
add eax, esi
mov dl, byte [eax]
mov word [edi + 0x13a], dx
xor edx, edx
mov dl, byte [eax + 1]
mov word [edi + 0x13c], dx
mov al, byte [eax + 2]
and eax, 0xff
mov word [edi + 0x13e], ax
test ebp, 0x80000
je 0x4d519c
test ebp, 0x2000000
jne 0x4d519c
mov esi, ecx
and esi, 0xffff
test esi, esi
je 0x4d519c
xor eax, eax
mov edx, dword [edi + 0x188]
add edx, eax
inc eax
xor byte [edx], 0xff
cmp esi, eax
jg 0x4d5182
mov cx, word [edi + 0x11a]
mov ebp, dword [edi + 0x70]
mov eax, dword [edi + 0x138]
mov dword [edi + 0x142], eax
mov eax, dword [edi + 0x13c]
mov dword [edi + 0x146], eax
mov eax, dword [edi + 0x140]
mov word [edi + 0x14a], ax
jmp 0x4d4ab9
mov eax, dword [edi + 0x118]
mov ebx, dword [edi + 0x114]
and eax, 0xffff
mov dword [esp + 0x50], eax
mov al, byte [edi + 0x130]
cmp al, 2
je 0x4d5741
cmp al, 3
je 0x4d579a
dec al
je 0x4d56c0
fldz
fld1
fst qword [esp + 0x58]
fstp qword [esp + 0x48]
fcomp qword [0x70d448]
fnstsw ax
test ah, 1
jne 0x4d56ca
mov ax, word [edi + 0x13a]
and eax, 0xffff
mov dword [esp + 0x9c], eax
fild dword [esp + 0x9c]
fmul qword [0x70d460]
fld qword [esp + 0x58]
fstp qword [esp + 8]
fst qword [esp]
fstp qword [esp + 0x30]
call sub.msvcrt.dll_pow
fmul qword [0x70d478]
fnstcw word [esp + 0x9a]
mov ax, word [esp + 0x9a]
mov ah, 0xc
fadd qword [0x70d480]
mov word [esp + 0x98], ax
fldcw word [esp + 0x98]
fistp word [esp + 0x8e]
fldcw word [esp + 0x9a]
mov eax, dword [edi + 0x13c]
mov dx, word [esp + 0x8e]
and eax, 0xffff
mov byte [esp + 0x70], dl
mov dword [esp + 0x9c], eax
fild dword [esp + 0x9c]
fmul qword [0x70d460]
fld qword [esp + 0x58]
fstp qword [esp + 8]
fst qword [esp]
fstp qword [esp + 0x20]
call sub.msvcrt.dll_pow
fmul qword [0x70d478]
fnstcw word [esp + 0x9a]
mov ax, word [esp + 0x9a]
mov ah, 0xc
fadd qword [0x70d480]
mov word [esp + 0x98], ax
fldcw word [esp + 0x98]
fistp word [esp + 0x8e]
fldcw word [esp + 0x9a]
mov ax, word [edi + 0x13e]
mov dx, word [esp + 0x8e]
and eax, 0xffff
mov byte [esp + 0x88], dl
mov dword [esp + 0x9c], eax
fild dword [esp + 0x9c]
fmul qword [0x70d460]
fld qword [esp + 0x58]
fstp qword [esp + 8]
fst qword [esp]
fstp qword [esp + 0x10]
call sub.msvcrt.dll_pow
fmul qword [0x70d478]
fnstcw word [esp + 0x9a]
mov ax, word [esp + 0x9a]
mov ah, 0xc
fadd qword [0x70d480]
mov word [esp + 0x98], ax
fldcw word [esp + 0x98]
fistp word [esp + 0x8e]
fldcw word [esp + 0x9a]
fld qword [esp + 0x30]
mov dx, word [esp + 0x8e]
fld qword [esp + 0x20]
mov byte [esp + 0x60], dl
fld qword [esp + 0x10]
fld qword [esp + 0x48]
fstp qword [esp + 8]
fxch st(2)
fstp qword [esp]
fxch st(1)
fstp qword [esp + 0x10]
fstp qword [esp + 0x20]
call sub.msvcrt.dll_pow
fmul qword [0x70d478]
fnstcw word [esp + 0x9a]
mov ax, word [esp + 0x9a]
mov ah, 0xc
fadd qword [0x70d480]
mov word [esp + 0x98], ax
fldcw word [esp + 0x98]
fistp word [esp + 0x8e]
fldcw word [esp + 0x9a]
fld qword [esp + 0x48]
mov cx, word [esp + 0x8e]
fstp qword [esp + 8]
fld qword [esp + 0x20]
mov byte [esp + 0x44], cl
fstp qword [esp]
call sub.msvcrt.dll_pow
fmul qword [0x70d478]
fnstcw word [esp + 0x9a]
mov ax, word [esp + 0x9a]
mov ah, 0xc
fadd qword [0x70d480]
mov word [esp + 0x98], ax
fldcw word [esp + 0x98]
fistp word [esp + 0x8e]
fldcw word [esp + 0x9a]
fld qword [esp + 0x48]
mov si, word [esp + 0x8e]
fstp qword [esp + 8]
fld qword [esp + 0x10]
fstp qword [esp]
call sub.msvcrt.dll_pow
fmul qword [0x70d478]
fnstcw word [esp + 0x9a]
mov ax, word [esp + 0x9a]
mov ah, 0xc
fadd qword [0x70d480]
mov word [esp + 0x98], ax
fldcw word [esp + 0x98]
fistp word [esp + 0x8e]
fldcw word [esp + 0x9a]
mov ax, word [esp + 0x8e]
mov cl, byte [esp + 0x44]
mov edx, dword [esp + 0x50]
test edx, edx
je 0x4d49db
and ecx, 0xff
mov edx, ebx
mov word [esp + 0x58], cx
mov ecx, esi
xor ebx, ebx
and ecx, 0xff
and eax, 0xff
mov word [esp + 0x80], cx
mov word [esp + 0x8c], ax
mov esi, ebx
jmp 0x4d551e
mov eax, dword [edi + 0x188]
mov cl, byte [eax + esi]
cmp cl, 0xff
je 0x4d552e
test cl, cl
jne 0x4d5561
mov bl, byte [esp + 0x70]
mov cl, byte [esp + 0x88]
mov byte [edx], bl
mov bl, byte [esp + 0x60]
mov byte [edx + 1], cl
mov byte [edx + 2], bl
lea esi, [esi]
inc esi
add edx, 3
cmp dword [esp + 0x50], esi
jle 0x4d49d8
mov ax, word [edi + 0x11a]
and eax, 0xffff
cmp eax, esi
jg 0x4d54e0
xor eax, eax
mov ecx, dword [edi + 0x164]
mov al, byte [edx]
mov cl, byte [ecx + eax]
xor eax, eax
mov byte [edx], cl
mov al, byte [edx + 1]
mov ecx, dword [edi + 0x164]
mov cl, byte [ecx + eax]
xor eax, eax
mov byte [edx + 1], cl
mov al, byte [edx + 2]
mov ecx, dword [edi + 0x164]
mov cl, byte [ecx + eax]
mov byte [edx + 2], cl
jmp 0x4d5510
xor ebx, ebx
mov ebp, dword [edi + 0x16c]
mov bl, byte [edx]
mov al, byte [ebp + ebx]
mov ebx, 0xff
mul cl
and ecx, 0xff
mov ebp, dword [esp + 0x58]
sub ebx, ecx
mov ecx, ebx
imul ecx, ebp
lea eax, [eax + ecx + 0x80]
movzx ecx, ah
lea eax, [ecx + eax]
mov ecx, dword [edi + 0x168]
movzx eax, ah
mov cl, byte [ecx + eax]
mov byte [edx], cl
xor ecx, ecx
mov cl, byte [edx + 1]
mov eax, dword [edi + 0x188]
mov dword [esp + 0x48], ecx
mov ebp, dword [edi + 0x16c]
mov ebx, dword [esp + 0x48]
mov cl, byte [eax + esi]
mov al, byte [ebp + ebx]
mov ebx, 0xff
mul cl
and ecx, 0xff
sub ebx, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x80]
imul ecx, ebx
lea eax, [eax + ecx + 0x80]
movzx ecx, ah
lea eax, [ecx + eax]
mov ecx, dword [edi + 0x168]
movzx eax, ah
mov cl, byte [ecx + eax]
mov byte [edx + 1], cl
xor ecx, ecx
mov cl, byte [edx + 2]
mov eax, dword [edi + 0x188]
mov dword [esp + 0x48], ecx
mov ebp, dword [edi + 0x16c]
mov ebx, dword [esp + 0x48]
mov cl, byte [eax + esi]
mov al, byte [ebp + ebx]
mov ebx, 0xff
mul cl
and ecx, 0xff
mov ebp, dword [esp + 0x8c]
sub ebx, ecx
mov ecx, ebx
imul ecx, ebp
lea eax, [eax + ecx + 0x80]
movzx ecx, ah
lea eax, [ecx + eax]
mov ecx, dword [edi + 0x168]
movzx eax, ah
mov cl, byte [ecx + eax]
mov byte [edx + 2], cl
jmp 0x4d5510
cmp ax, word [edi + 0x13e]
jne 0x4d4c95
cmp dx, ax
jne 0x4d4c95
mov word [edi + 0x148], si
mov word [edi + 0x146], si
mov word [edi + 0x144], si
mov word [edi + 0x13e], dx
mov word [edi + 0x13c], dx
mov word [edi + 0x13a], dx
jmp 0x4d4851
fld dword [edi + 0x160]
fstp qword [esp + 0x50]
fld1
fstp qword [esp + 0x58]
jmp 0x4d4ba4
fld dword [edi + 0x134]
jmp 0x4d4fd5
fld dword [edi + 0x160]
fstp qword [esp + 0x48]
mov ax, word [edi + 0x13a]
mov edx, dword [edi + 0x13c]
mov byte [esp + 0x70], al
and eax, 0xffff
mov cx, word [edi + 0x13e]
mov dword [esp + 0x9c], eax
fild dword [esp + 0x9c]
fmul qword [0x70d460]
mov eax, edx
and eax, 0xffff
mov byte [esp + 0x88], dl
mov dword [esp + 0x9c], eax
mov eax, ecx
fild dword [esp + 0x9c]
fmul qword [0x70d460]
and eax, 0xffff
mov dword [esp + 0x9c], eax
mov byte [esp + 0x60], cl
fild dword [esp + 0x9c]
fmul qword [0x70d460]
jmp 0x4d5392
mov cx, word [edi + 0x13a]
mov eax, dword [edi + 0x164]
and ecx, 0xffff
mov esi, dword [edi + 0x13c]
and esi, 0xffff
mov dl, byte [eax + ecx]
mov byte [esp + 0x70], dl
mov dl, byte [eax + esi]
mov byte [esp + 0x88], dl
mov dx, word [edi + 0x13e]
and edx, 0xffff
mov al, byte [eax + edx]
mov byte [esp + 0x60], al
mov eax, dword [edi + 0x16c]
mov cl, byte [eax + ecx]
movzx esi, byte [eax + esi]
mov al, byte [eax + edx]
jmp 0x4d54a4
fld dword [edi + 0x134]
fld1
fld st(0)
fdiv st(2)
fstp qword [esp + 0x48]
fxch st(1)
fmul dword [edi + 0x160]
fld st(1)
fdivrp st(1)
fst qword [esp + 0x58]
fsubrp st(1)
fabs
jmp 0x4d5205