Function at 0x10002930
Capabilities:
Get common file path
Get graphical window text
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x10017038]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x11c], 0
xor eax, eax
cmp dword [0x10017ea8], 0
sete al
sub eax, 0x57
je 0x1000299d
xor ecx, ecx
cmp dword [0x10017eac], 0
sete cl
mov edx, dword [0x10017eac]
imul edx, edx, 0x57
imul ecx, edx
test ecx, ecx
je 0x1000299d
mov eax, dword [0x10017eb0]
cdq
mov ecx, 0x57
idiv ecx
mov dword [0x10017eb0], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [0x10019374], eax
push 0x104
push str.886qiptaou62l1c6b6upbp2nrq8jclq0b7391zyz
mov edx, dword [0x10019374]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x100029d0
push str.886qiptaou62l1c6b6upbp2nrq8jclq0b7391zyz
call sym.noubmnza.dll_jxguiecvzbcty
add esp, 4
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x228]
push ecx
call fcn.10001b40
add esp, 8
push 0
mov edx, dword [0x10019374]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [0x10017ebc], eax
push 0x208
call fcn.10002c7c
add esp, 4
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x120], eax
mov dword [ebp - 4], 0x104
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0x10019158
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10002a6e
mov ecx, dword [ebp - 0x120]
mov edx, dword [ecx]
mov dword [0x10019158], edx
mov eax, dword [ecx + 4]
mov dword [0x1001915c], eax
mov edx, dword [ecx + 8]
mov dword [0x10019160], edx
mov eax, dword [ecx + 0xc]
mov dword [0x10019164], eax
fld qword [0x100123f0]
call fcn.1000aaac
call fcn.1000a9c0
mov dword [0x10019154], eax
mov ecx, dword [0x10017ecc]
shl ecx, 6
mov edx, dword [0x10019154]
and edx, 0x80000007
jns 0x10002a9f
dec edx
or edx, 0xfffffff8
inc edx
or ecx, edx
mov dword [0x10017ecc], ecx
push 0x10017ecc
call sym.noubmnza.dll_ocxnhecogolsw
add esp, 4
mov dword [ebp - 0x23c], eax
fild dword [ebp - 0x23c]
call fcn.1000aaac
call fcn.1000a9c0
mov dword [0x10019154], eax
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x22c]
push ecx
lea edx, [ebp - 8]
push edx
call fcn.10001fa0
add esp, 0xc
push 0
push 0x10019158
push 0x104
push 0x100123d4
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov dword [0x10019140], eax
mov dword [ebp - 0xc], 0
push 0x10
call fcn.1000349f
add esp, 4
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10002b4d
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x10019370
mov edx, dword [ebp - 0xc]
push edx
call fcn.100012c0
add esp, 8
mov dword [0x10017ebc], eax
jmp 0x10002b65
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.100033e4
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [0x1001936c], edx
mov eax, dword [0x10017eac]
cdq
mov ecx, 0x56
idiv ecx
test eax, eax
je 0x10002b9c
mov edx, dword [0x1001914c]
imul edx, dword [0x1001914c]
test edx, edx
je 0x10002b9c
mov dword [ebp - 0x240], 1
jmp 0x10002ba6
mov dword [ebp - 0x240], 0
mov eax, dword [ebp - 0x240]
mov dword [0x10017eb0], eax
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 8]
push ecx
call sym.noubmnza.dll_bfntvmgjwrdu
add esp, 0x10
push 1
mov edx, dword [0x10017ebc]
push edx
mov eax, dword [0x10019374]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [str.ZFadF3gog7EHbCbq8Q1tg], 0x10017ee8
mov ecx, dword [str.ZFadF3gog7EHbCbq8Q1tg]
push ecx
push 0xf4
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.886qiptaou62l1c6b6upbp2nrq8jclq0b7391zyz
push 0
push str.jRGgImEvebIpRuu
mov edx, dword [str.ZFadF3gog7EHbCbq8Q1tg]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
fild dword [0x10017eb0]
fmul dword [0x10017ec0]
fsub qword [0x10012410]
fstp dword [ebp - 0x244]
mov eax, dword [0x10017eb0]
sub eax, 1
mov dword [0x10017eb0], eax
push ecx
fld dword [ebp - 0x244]
fstp dword [esp]
call fcn.10001100
add esp, 4
fmul dword [0x10019148]
fstp dword [0x10019148]
call dword [ebp - 0x22c]
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10002c87
mov esp, ebp
pop ebp
ret