Function at 0x4a1630
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
mov esi, ecx
fild dword [esi + 0x188]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
shr eax, 1
fstp dword [esp + 0x84]
mov edx, eax
fild dword [esi + 0x18c]
shl edx, 4
sub edx, eax
mov eax, dword [ecx]
fstp dword [esp + 0x88]
lea ebx, [eax + edx*8 - 0x78]
fild dword [esi + 0x190]
push edi
lea eax, [ebx + 0x34]
lea ecx, [esp + 0x88]
fstp dword [esp + 0x90]
lea edx, [esp + 0x3c]
fild dword [esi + 0x194]
mov dword [esp + 0x54], ebx
fstp dword [esp + 0x94]
call fcn.004ba450
fild dword [ebx + 0x60]
fstp dword [esp + 0x14]
fld dword [esp + 0x3c]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4a16c5
fstp st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
jmp 0x4a16c7
fstp st(0)
fild dword [ebx + 0x64]
fstp dword [esp + 0x14]
fld dword [esp + 0x40]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4a16e7
fstp dword [esp + 0x40]
jmp 0x4a16e9
fstp st(0)
fild dword [ebx + 0x68]
fstp dword [esp + 0x14]
fld dword [esp + 0x44]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x4a1709
fstp dword [esp + 0x44]
jmp 0x4a170b
fstp st(0)
fild dword [ebx + 0x6c]
fstp dword [esp + 0x14]
fld dword [esp + 0x48]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4a172f
fstp st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
jmp 0x4a1731
fstp st(0)
fld dword [esp + 0x44]
fcomp st(2)
fnstsw ax
test ah, 0x41
jnp 0x4a174f
fld dword [esp + 0x40]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x4a17fc
or edx, 0xffffffff
fxch st(1)
mov edi, edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edx
mov esi, dword [esi + 0x268]
mov ecx, dword [ebx + 0x5c]
mov eax, esi
shr eax, 8
and esi, 0xff00ff
imul esi, ecx
mov ebx, eax
and ebx, 0xffff00ff
imul ebx, ecx
and eax, 0xff00ff
imul eax, ecx
shr esi, 8
xor esi, ebx
and esi, 0xff00ff
xor esi, eax
cmp edx, edi
jge 0x4a17d8
mov ecx, dword [esp + 0x80]
cmp dword [esp + 0x78], ecx
jge 0x4a17d8
cmp esi, 0xffffff
jbe 0x4a17d8
mov edx, dword [esp + 0x54]
fstp st(1)
mov eax, dword [edx + 0x70]
fstp st(0)
push eax
mov ebx, esi
lea eax, [esp + 0x78]
call fcn.0047bf60
fld dword [esp + 0x48]
fld dword [esp + 0x3c]
fild dword [esp + 0x74]
mov dl, 1
fstp dword [esp + 0x5c]
fld st(0)
fld dword [esp + 0x5c]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4a1882
mov cl, dl
jmp 0x4a1884
fstp st(1)
fsub qword [0x69f210]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp dword [esp + 0x30]
fld dword [esp + 0x44]
mov eax, dword [esp + 0x30]
fsub qword [0x69f210]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp dword [esp + 0x4c]
fld dword [esp + 0x40]
mov edi, dword [esp + 0x4c]
fadd qword [0x69f210]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp dword [esp + 0x34]
fld dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
fadd qword [0x69f210]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp dword [esp + 0x5c]
mov edx, dword [esp + 0x5c]
fld dword [esp + 0x48]
fld dword [esp + 0x3c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], eax
jmp 0x4a1769
xor cl, cl
fild dword [esp + 0x7c]
mov byte [esp + 0x2b], dl
fstp dword [esp + 0x58]
fld dword [esp + 0x44]
fld st(0)
fld dword [esp + 0x58]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4a18a8
mov byte [esp + 0x2b], 0
fild dword [esp + 0x78]
mov byte [esp + 0x29], dl
fstp dword [esp + 0x38]
fld dword [esp + 0x40]
fld st(0)
fld dword [esp + 0x38]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4a18cc
mov byte [esp + 0x29], 0
fild dword [esp + 0x80]
mov byte [esp + 0x2a], dl
fstp dword [esp + 0x14]
fld st(3)
fld dword [esp + 0x14]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4a18ef
mov byte [esp + 0x2a], 0
fxch st(1)
fcomp st(2)
fnstsw ax
test ah, 0x41
jnp 0x4a1bc8
fcomp st(2)
fnstsw ax
test ah, 1
je 0x4a1bca
fstp st(0)
fadd qword [0x69f210]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fistp dword [esp + 0x2c]
fld dword [esp + 0x44]
mov edi, dword [esp + 0x2c]
fadd qword [0x69f210]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fistp dword [esp + 0x50]
fld dword [esp + 0x40]
mov eax, dword [esp + 0x50]
fsub qword [0x69f210]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fistp dword [esp + 0x60]
fld dword [esp + 0x3c]
mov ebx, dword [esp + 0x60]
fsub qword [0x69f210]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fistp dword [esp + 0x84]
mov edx, dword [esp + 0x84]
fld dword [esp + 0x48]
fld dword [esp + 0x3c]
mov dword [esp + 0x64], edx
mov dword [esp + 0x6c], eax
test cl, cl
fld qword [0x6c0b80]
mov dword [esp + 0x70], edi
mov dword [esp + 0x68], ebx
je 0x4a1aad
fld dword [esp + 0x5c]
mov edx, esi
fnstcw word [esp + 0x12]
and edx, 0xff00ff
movzx eax, word [esp + 0x12]
fsub st(2)
or eax, 0xc00
mov dword [esp + 0x24], eax
mov ecx, esi
fmul st(1)
shr ecx, 8
fldcw word [esp + 0x24]
and ecx, 0xffff00ff
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
imul edx, eax
imul ecx, eax
fldcw word [esp + 0x12]
shr edx, 8
xor edx, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
imul ecx, eax
and edx, 0xff00ff
xor edx, ecx
lea ecx, [ebx + 1]
lea eax, [edi - 1]
cmp ecx, eax
mov dword [esp + 0x24], ecx
jge 0x4a1aad
fnstcw word [esp + 0x12]
mov ebx, 0x100
movzx eax, word [esp + 0x12]
fld st(1)
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, edx
fldcw word [esp + 0x12]
shr eax, 0x18
sub ebx, eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x70]
mov edi, dword [eax + 4]
imul edi, ecx
mov ecx, dword [eax + 0x10]
add edi, dword [esp + 0x34]
lea eax, [ecx + edi*4]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov ecx, eax
shr ecx, 8
and eax, 0xff00ff
mov edi, ecx
imul eax, ebx
and edi, 0xffff00ff
imul edi, ebx
and ecx, 0xff00ff
imul ecx, ebx
shr eax, 8
xor eax, edi
mov edi, dword [esp + 0x70]
and eax, 0xff00ff
xor eax, ecx
mov ecx, dword [esp + 0x18]
add eax, edx
mov dword [ecx], eax
mov ecx, dword [esp + 0x24]
add ecx, 1
lea eax, [edi - 1]
cmp ecx, eax
mov dword [esp + 0x24], ecx
jl 0x4a1a41
mov ebx, dword [esp + 0x68]
cmp byte [esp + 0x2b], 0
je 0x4a1bdc
fld dword [esp + 0x44]
mov edx, esi
fsub dword [esp + 0x58]
and edx, 0xff00ff
fnstcw word [esp + 0x12]
mov ecx, esi
movzx eax, word [esp + 0x12]
fmul st(1)
or eax, 0xc00
mov dword [esp + 0x18], eax
shr ecx, 8
and ecx, 0xffff00ff
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
imul edx, eax
imul ecx, eax
fldcw word [esp + 0x12]
shr edx, 8
xor edx, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
imul ecx, eax
and edx, 0xff00ff
xor edx, ecx
lea ecx, [ebx + 1]
lea eax, [edi - 1]
cmp ecx, eax
mov dword [esp + 0x58], ecx
jge 0x4a1bdc
fnstcw word [esp + 0x12]
mov ebx, 0x100
movzx eax, word [esp + 0x12]
fxch st(1)
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, edx
fldcw word [esp + 0x12]
shr eax, 0x18
sub ebx, eax
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x70]
mov edi, dword [eax + 4]
imul edi, ecx
mov ecx, dword [eax + 0x10]
add edi, dword [esp + 0x34]
lea eax, [ecx + edi*4]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov ecx, eax
shr ecx, 8
and eax, 0xff00ff
mov edi, ecx
imul eax, ebx
and edi, 0xffff00ff
imul edi, ebx
and ecx, 0xff00ff
imul ecx, ebx
shr eax, 8
xor eax, edi
mov edi, dword [esp + 0x70]
and eax, 0xff00ff
xor eax, ecx
mov ecx, dword [esp + 0x18]
add eax, edx
mov dword [ecx], eax
mov ecx, dword [esp + 0x58]
add ecx, 1
lea eax, [edi - 1]
cmp ecx, eax
mov dword [esp + 0x58], ecx
jl 0x4a1b5e
jmp 0x4a1bde
fstp st(0)
or edi, 0xffffffff
mov dword [esp + 0x64], edi
mov ebx, edi
mov dword [esp + 0x6c], edi
jmp 0x4a1987
fstp st(1)
cmp byte [esp + 0x29], 0
je 0x4a1cd7
fld dword [esp + 0x38]
mov edx, esi
fsub dword [esp + 0x40]
and edx, 0xff00ff
fnstcw word [esp + 0x12]
mov ecx, esi
movzx eax, word [esp + 0x12]
fmul st(1)
or eax, 0xc00
mov dword [esp + 0x18], eax
shr ecx, 8
and ecx, 0xffff00ff
fldcw word [esp + 0x18]
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
imul ecx, eax
imul edx, eax
fldcw word [esp + 0x12]
shr edx, 8
xor edx, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
imul ecx, eax
mov eax, dword [esp + 0x64]
and edx, 0xff00ff
xor edx, ecx
mov ecx, dword [esp + 0x6c]
add eax, 1
add ecx, 0xffffffff
cmp eax, ecx
mov dword [esp + 0x38], eax
jge 0x4a1cd7
mov ecx, edx
shr ecx, 0x18
mov ebx, 0x100
sub ebx, ecx
mov ecx, dword [esp + 0x54]
mov ecx, dword [ecx + 0x70]
mov edi, dword [ecx + 4]
imul edi, dword [esp + 0x68]
add edi, eax
mov eax, dword [ecx + 0x10]
lea eax, [eax + edi*4]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov ecx, eax
shr ecx, 8
and eax, 0xff00ff
imul eax, ebx
mov edi, ecx
and edi, 0xffff00ff
and ecx, 0xff00ff
imul edi, ebx
imul ecx, ebx
shr eax, 8
xor eax, edi
and eax, 0xff00ff
xor eax, ecx
mov ecx, dword [esp + 0x18]
add eax, edx
mov dword [ecx], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x6c]
add eax, 1
add ecx, 0xffffffff
cmp eax, ecx
mov dword [esp + 0x38], eax
jl 0x4a1c6b
mov edi, dword [esp + 0x70]
cmp byte [esp + 0x2a], 0
je 0x4a1dce
fld dword [esp + 0x14]
mov edx, esi
fnstcw word [esp + 0x12]
mov ecx, esi
movzx eax, word [esp + 0x12]
fsubp st(2)
or eax, 0xc00
mov dword [esp + 0x18], eax
and edx, 0xff00ff
fmulp st(1)
shr ecx, 8
fldcw word [esp + 0x18]
shr esi, 8
and ecx, 0xffff00ff
and esi, 0xff00ff
fistp qword [esp + 0x18]
mov eax, dword [esp + 0x18]
fldcw word [esp + 0x12]
imul edx, eax
imul ecx, eax
imul esi, eax
mov eax, dword [esp + 0x6c]
shr edx, 8
xor edx, ecx
and edx, 0xff00ff
xor edx, esi
mov esi, dword [esp + 0x64]
add eax, 0xffffffff
add esi, 1
cmp esi, eax
mov dword [esp + 0x38], eax
jge 0x4a1dd2
mov eax, edx
shr eax, 0x18
mov ebx, 0x100
sub ebx, eax
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x70]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x10]
imul ecx, edi
add ecx, esi
lea eax, [eax + ecx*4]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov ecx, eax
and eax, 0xff00ff
imul eax, ebx
shr ecx, 8
mov ebx, ecx
and ebx, 0xffff00ff
imul ebx, dword [esp + 0x14]
shr eax, 8
xor eax, ebx
mov ebx, dword [esp + 0x14]
and ecx, 0xff00ff
imul ecx, ebx
and eax, 0xff00ff
xor eax, ecx
mov ecx, dword [esp + 0x18]
add eax, edx
add esi, 1
cmp esi, dword [esp + 0x38]
mov dword [ecx], eax
jl 0x4a1d64
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
fstp st(1)
fstp st(0)
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4