Function at 0x1003d780
Capabilities:
Encode data using xor
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x10052040]
xor eax, esp
mov dword [esp + 0x2c], eax
movd xmm0, dword [0x100ffbb4]
cvtdq2ps xmm0, xmm0
push esi
push edi
mov edi, dword [0x384035dc]
movss xmm1, dword [0x1004f250]
addss xmm0, dword [0x1004f258]
movss dword [0x383927dc], xmm0
movd xmm0, dword [0x100ffbb0]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1004f214]
movss dword [0x3839274c], xmm0
movd xmm0, dword [0x100ffbb0]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movss dword [0x38392770], xmm0
movd xmm0, dword [0x100ffbb0]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movss dword [0x38392794], xmm0
movd xmm0, dword [0x100ffbb0]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movss dword [0x383927b8], xmm0
movd xmm0, dword [0x100ffbb0]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1004f208]
movss dword [0x38392800], xmm0
cmp byte [0x100ffbae], 0
je 0x1003d85f
push 0x20
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1003d85f
mov eax, dword [edi + 0x10]
mov dword [eax + 0xb8], 0x44898000
jmp 0x1003d86c
mov eax, dword [edi + 0x10]
mov dword [eax + 0xb8], 0xc4898000
cmp byte [0x100ffbad], 0
je 0x1003d88a
cmp dword [0x383d8b74], 1
jne 0x1003d89d
mov dword [0x383d8b74], 0xfffffffb
jmp 0x1003d89d
cmp dword [0x383d8b74], 0xfffffffb
jne 0x1003d89d
mov dword [0x383d8b74], 1
cmp byte [0x100ffbac], 0
je 0x1003db1d
mov dword [esp + 0x24], 0xe8e5e7c9
xor ecx, ecx
mov dword [esp + 0x28], 0xe9d6fbe0
mov dword [esp + 0x2c], 0xf1ecf5bc
mov word [esp + 0x30], pe_nt_image_headers32
nop dword [eax + eax]
lea eax, [ecx - 0x76]
xor byte [esp + ecx + 0x24], al
inc ecx
cmp ecx, 0xc
jb 0x1003d8d0
lea eax, [esp + 0x24]
mov byte [esp + 0x31], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [eax + 0x6bf34]
test esi, esi
je 0x1003db1d
movss xmm0, dword [edi + 0x54]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [edi + 0x58]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x26
movss dword [esp + 0xc], xmm0
call edi
shr eax, 0xf
and eax, 0xffffff01
push 0x28
mov dword [esp + 0x10], eax
call edi
shr eax, 0xf
and eax, 0xffffff01
push 0x25
mov dword [esp + 0x18], eax
call edi
shr eax, 0xf
and eax, 0xffffff01
push 0x27
mov dword [esp + 0x14], eax
call edi
shr eax, 0xf
and eax, 0xffffff01
cmp byte [esp + 0xc], 0
mov dword [esp + 0x20], eax
jne 0x1003d981
cmp byte [esp + 0x14], 0
jne 0x1003d977
cmp byte [esp + 0x10], 0
jne 0x1003da21
test al, al
jmp 0x1003da9f
movss xmm1, dword [0x1004f290]
jmp 0x1003d989
movss xmm1, dword [0x1004f16c]
movss xmm0, dword [esp + 8]
mulss xmm1, dword [0x1004f1ac]
cvtps2pd xmm0, xmm0
movss dword [esp + 0xc], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xc]
addss xmm0, dword [esi + 0xc8]
movss dword [esi + 0xc8], xmm0
movss xmm0, dword [esp + 0x18]
xorps xmm0, xmmword [0x1004f570]
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mulss xmm1, dword [esp + 0xc]
addss xmm1, dword [esi + 0xcc]
movss dword [esi + 0xcc], xmm1
movss xmm1, dword [esp + 8]
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cmp byte [esp + 0x10], 0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xc]
addss xmm0, dword [esi + 0xd0]
movss dword [esi + 0xd0], xmm0
je 0x1003da9a
movss xmm0, dword [esp + 8]
subss xmm0, dword [0x1004f184]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [0x1004f1ac]
addss xmm1, dword [esi + 0xc8]
movss dword [esi + 0xc8], xmm1
movss xmm1, dword [esi + 0xcc]
addss xmm1, xmm0
movsd xmm0, qword [esp + 0x18]
movss dword [esi + 0xcc], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x1004f1ac]
addss xmm0, dword [esi + 0xd0]
movss dword [esi + 0xd0], xmm0
cmp byte [esp + 0x20], 0
je 0x1003db1d
movss xmm0, dword [esp + 8]
addss xmm0, dword [0x1004f184]
movss dword [esp + 8], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [0x1004f1ac]
addss xmm1, dword [esi + 0xc8]
movss dword [esi + 0xc8], xmm1
movss xmm1, dword [esi + 0xcc]
addss xmm1, xmm0
movss dword [esi + 0xcc], xmm1
movss xmm1, dword [esp + 8]
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x1004f1ac]
addss xmm0, dword [esi + 0xd0]
movss dword [esi + 0xd0], xmm0
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.10047260
mov esp, ebp
pop ebp
ret