Function at 0x46a420
Capabilities:
Delete file
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x50a6e0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x74]
lea eax, [esp + 0x28]
push eax
call fcn.00474090
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x70], 0
call fcn.0047b430
mov eax, dword [ebp + 0x4c98]
test eax, eax
jne 0x46a740
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov ecx, eax
sub ecx, esi
test ecx, 0xfffffffc
jne 0x46a4dc
lea edx, [esp + 0x74]
push 0x1ac
push edx
call fcn.00433510
mov eax, dword [eax]
mov ecx, dword [ebp + 4]
push 0x40
push eax
push ecx
xor eax, eax
call fcn.00488c60
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
add esp, 0x14
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46a4ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x28]
call fcn.0041d600
jmp 0x46a9d1
mov dword [esp + 0x74], 1
cmp esi, eax
jbe 0x46a4ed
call fcn.004e48f7
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x38]
cmp dword [esp + 0x34], edi
jbe 0x46a500
call fcn.004e48f7
test ebx, ebx
je 0x46a50a
cmp ebx, dword [esp + 0x28]
je 0x46a50f
call fcn.004e48f7
cmp esi, edi
je 0x46a55b
test ebx, ebx
jne 0x46a553
call fcn.004e48f7
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46a528
call fcn.004e48f7
mov ecx, dword [esi]
mov eax, dword [esp + 0x74]
mov edx, dword [ecx - 0xc]
lea ecx, [eax + edx + 1]
mov dword [esp + 0x74], ecx
test ebx, ebx
jne 0x46a557
call fcn.004e48f7
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46a54e
call fcn.004e48f7
add esi, 4
jmp 0x46a4f1
mov eax, dword [ebx]
jmp 0x46a51e
mov eax, dword [ebx]
jmp 0x46a544
mov eax, dword [esp + 0x74]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e3684
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x46a96c
mov esi, dword [esp + 0x34]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x38]
cmp esi, eax
jbe 0x46a59d
call fcn.004e48f7
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x28]
mov ebx, eax
cmp dword [esp + 0x34], eax
jbe 0x46a5ae
call fcn.004e48f7
test edi, edi
je 0x46a5b8
cmp edi, dword [esp + 0x28]
je 0x46a5bd
call fcn.004e48f7
cmp esi, ebx
je 0x46a660
test edi, edi
jne 0x46a650
call fcn.004e48f7
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46a5de
call fcn.004e48f7
mov eax, dword [esi]
mov ebx, dword [eax - 0xc]
test edi, edi
jne 0x46a654
call fcn.004e48f7
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46a5f8
call fcn.004e48f7
mov edx, dword [esi]
lea ecx, [ebx + ebx + 2]
mov ebx, dword [esp + 0x74]
push ecx
push edx
push ebx
call fcn.004e95a0
add esp, 0xc
test edi, edi
jne 0x46a658
call fcn.004e48f7
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46a622
call fcn.004e48f7
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
lea edx, [ebx + ecx*2 + 2]
mov dword [esp + 0x74], edx
test edi, edi
jne 0x46a65c
call fcn.004e48f7
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46a644
call fcn.004e48f7
mov eax, dword [esp + 0x38]
add esi, 4
jmp 0x46a5a1
mov eax, dword [edi]
jmp 0x46a5d4
mov eax, dword [edi]
jmp 0x46a5ee
mov eax, dword [edi]
jmp 0x46a618
mov eax, dword [edi]
jmp 0x46a63a
mov ecx, dword [esp + 0x74]
xor eax, eax
push 0x10
mov word [ecx], ax
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [ebp + 4]
mov edi, dword [esp + 0x18]
movzx esi, ax
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov word [esp + 0x5c], ax
and esi, 0x8000
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xffffffc0
lea ecx, [esp + 0x40]
add eax, 0x40
push ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], 3
mov dword [esp + 0x4c], edi
mov word [esp + 0x54], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push edi
call fcn.004e4aa9
add esp, 4
cmp dword [ebp + 0x4c98], 0
jne 0x46a96c
test esi, esi
je 0x46a96c
mov edx, dword [ebp + 0x53dc]
mov eax, dword [ebp + 0x4f1c]
push eax
mov dword [ebp + 0x53e4], edx
mov dword [ebp + 0x53dc], 0xffffffff
call dword [sym.imp.SHELL32.dll_ILClone]
mov esi, eax
mov dword [esp + 0x74], esi
push 0
push 1
add ebp, 0x535c
push ebp
xor edx, edx
mov ecx, esi
mov byte [esp + 0x78], 1
call fcn.00480d50
test esi, esi
je 0x46a96c
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x46a96c
cmp eax, 1
jne 0x46a96c
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x34]
test eax, 0xfffffffc
jne 0x46a796
lea ecx, [esp + 0x74]
push 0x1ac
push ecx
call fcn.00433510
mov edx, dword [eax]
mov eax, dword [ebp + 4]
push 0x40
push edx
push eax
xor eax, eax
call fcn.00488c60
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x46a4c2
cmp dword [ebp + 0x51e4], 0
je 0x46a96c
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
mov ecx, 0x563288
call eax
add eax, 0x10
mov dword [esp + 0x74], eax
mov byte [esp + 0x6c], 2
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
lea edx, [esp + 0x18]
sar ecx, 2
cmp ecx, 1
jbe 0x46a803
push 0x1ad
push edx
call fcn.00433510
mov byte [esp + 0x74], 3
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x3c]
mov eax, dword [eax]
sar ecx, 2
push ecx
push eax
lea edi, [esp + 0x84]
call fcn.00404890
add esp, 0x10
jmp 0x46a833
push 0x1ae
push edx
call fcn.00433510
add esp, 8
mov byte [esp + 0x6c], 4
mov ebx, dword [eax]
xor edi, edi
lea esi, [esp + 0x28]
call fcn.00428d10
mov eax, dword [eax]
push eax
push ebx
lea edi, [esp + 0x7c]
call fcn.00404890
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 2
call fcn.004016f0
lea esi, [esp + 0x18]
call fcn.00401140
mov ecx, dword [esp + 0x74]
mov edx, dword [ebp + 4]
mov eax, dword [eax]
push 0x21
push ecx
push edx
call fcn.00488c60
add esp, 0xc
cmp eax, 1
mov ecx, esi
sete bl
call fcn.004016f0
test bl, bl
je 0x46a963
lea eax, [esp + 0x24]
push 0x1af
push eax
mov dword [esp + 0x20], 0
call fcn.00433510
mov edi, eax
lea esi, [esp + 0x28]
mov byte [esp + 0x74], 5
call fcn.00401140
push edi
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x80], 6
call fcn.0041d700
add esp, 0x14
lea edi, [esp + 0x18]
mov eax, ebp
mov byte [esp + 0x6c], 7
call fcn.0046f3b0
test eax, eax
lea ecx, [esp + 0x1c]
sete bl
call fcn.004016f0
mov ecx, esi
call fcn.004016f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 2
call fcn.004016f0
test bl, bl
je 0x46a900
lea ecx, [esp + 0x74]
call fcn.004016f0
lea esi, [esp + 0x28]
call fcn.0041d600
jmp 0x46a9d1
lea esi, [ebp + 0x5314]
call fcn.0044d3b0
lea edx, [esp + 0x28]
push edx
lea eax, [ebp + 0x531c]
push eax
mov dword [ebp + 0x5318], 3
mov dword [esi], 3
call fcn.004105d0
lea edi, [ebp + 0x5334]
lea eax, [ebp + 0x51e0]
call fcn.00404930
cmp dword [esp + 0x18], 0
mov ecx, dword [ebp + 0x53dc]
mov dword [ebp + 0x5358], ecx
je 0x46a95a
push esi
mov ecx, ebp
call fcn.0045ef20
jmp 0x46a963
push 1
push esi
push ebp
call fcn.0045e970
lea ecx, [esp + 0x74]
call fcn.004016f0
mov dword [esp + 0x6c], 0xffffffff
mov esi, dword [esp + 0x34]
test esi, esi
je 0x46a9b6
mov edi, dword [esp + 0x38]
cmp esi, edi
je 0x46a9a9
mov eax, dword [esi]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46a9a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x46a984
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004e3ed0
add esp, 4
mov edx, dword [esp + 0x28]
xor eax, eax
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call fcn.004e3ed0
add esp, 4
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 4