Function at 0x449330
Capabilities:
Check if file exists
Get file attributes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a81b8
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x4db06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x14c], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0x10000
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x148], ebx
call fcn.00487989
mov edi, eax
add esp, 4
test edi, edi
je 0x4493a1
push 0x10000
push 0
push edi
call fcn.0048b570
add esp, 0xc
jmp 0x4493a3
xor edi, edi
mov dword [ebp - 0x194], edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x190]
push 0x2710
mov dword [ebp - 0x16c], 0
mov dword [ebp - method.std::_Facet_base.virtual_4], vtable.THashTblT_unsigned_int_.0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 1
mov dword [ebp - 0x188], 0x2710
call fcn.0041b900
mov dword [ebp - method.PathArray.virtual_0], vtable.PathArray.0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 2
mov ecx, dword [ebp - 0x14c]
mov esi, ebx
shr esi, 4
mov eax, esi
mov byte [ebp - 4], 1
and eax, 1
push 0x8000
mov dword [ebp - 0x150], eax
mov eax, dword [ecx]
push edi
push dword [ebp - 0x154]
call dword [eax + 0xec]
push 0x4c1dbc
push edi
lea ecx, [ebp - 0x190]
call fcn.0045b6c0
cmp dword [ebp - 0x17c], 0
jle 0x449498
mov eax, dword [ebp - 0x178]
mov edx, 0x7fff
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
mov eax, edi
nop
movzx ebx, word [ecx]
test bx, bx
je 0x4494ba
mov word [eax], bx
dec edx
add eax, 2
add ecx, 2
test edx, edx
jg 0x449480
jmp 0x4494ba
mov ebx, 0x4c1a6c
mov eax, edi
mov ecx, 0x7fff
sub ebx, edi
movzx edx, word [ebx + eax]
test dx, dx
je 0x4494ba
mov word [eax], dx
dec ecx
add eax, 2
test ecx, ecx
jg 0x4494a6
xor ecx, ecx
mov word [eax], cx
mov eax, dword [0x4e042c]
cmp eax, 7
jae 0x449849
cmp eax, 6
jne 0x4494df
cmp dword [0x4e0430], 1
jae 0x449849
push 0
lea ecx, [ebp - 0xa8]
and esi, 2
call fcn.0046e490
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0xa8], vtable.TBrowseDirDlgW.0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x3c], 0
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], 0x159
mov dword [ebp - 0x24], 0x449d40
mov eax, dword [ecx + 0x48]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x150]
push ecx
shl eax, 2
or eax, 9
mov byte [ebp - 4], 5
push eax
push 1
push ecx
lea ecx, [ebp - 0x140]
call fcn.00448a40
push 0x10000
mov byte [ebp - 4], 6
call fcn.00487989
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4495ad
push 0x10000
push 0
push ebx
call fcn.0048b570
add esp, 0xc
jmp 0x4495af
xor ebx, ebx
mov dword [ebp - 0x158], ebx
mov byte [ebp - 4], 7
nop dword [eax]
mov eax, esi
sub eax, 0
je 0x44964b
sub eax, 2
jne 0x4495c0
mov ecx, 0x450
call fcn.0045fe50
mov edx, ebx
movzx ecx, word [eax]
test cx, cx
je 0x4495f5
sub eax, ebx
mov word [edx], cx
add edx, 2
movzx ecx, word [eax + edx]
test cx, cx
jne 0x4495e6
movzx eax, word [edx - 2]
lea ecx, [edx - 2]
add eax, 0x2800
mov esi, 0x3ff
cmp ax, si
push edi
cmova ecx, edx
xor eax, eax
push edi
push ebx
push eax
push dword [ebp - 0x154]
mov word [ecx], ax
sub ecx, ebx
sar ecx, 1
mov word [ebx + ecx*2 + 2], ax
lea ecx, [ebp - 0x140]
call fcn.0044a330
cmp dword [ebp - 0xd4], 0
mov esi, eax
mov dword [ebp - 0x16c], esi
jne 0x4497fb
xor esi, esi
jmp 0x4495c0
xor eax, eax
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x44], 0
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
test esi, esi
jne 0x449674
mov eax, dword [ebp - 0x44]
cmp eax, 1
je 0x449653
jmp 0x4496aa
push dword [ebp - 0x40]
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
mov ecx, 1
mov eax, dword [ebp - 0x144]
cmovne eax, ecx
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x3c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp dword [ebp - 0x144], 0
jne 0x4496ba
mov eax, dword [ebp - 0x44]
cmp eax, 2
jne 0x4497f5
mov esi, eax
jmp 0x4495c0
cmp word [edi], 0x5c
jne 0x44971b
mov edx, ebx
mov ecx, edi
call fcn.0045c7b0
mov edx, ebx
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4496d0
sub edx, ecx
mov ecx, edi
sar edx, 1
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4496e4
sub ecx, esi
sar ecx, 1
cmp edx, ecx
jbe 0x44971b
mov esi, ebx
mov eax, edi
mov ecx, 0x7fff
sub esi, edi
movzx edx, word [esi + eax]
test dx, dx
je 0x449716
mov word [eax], dx
dec ecx
add eax, 2
test ecx, ecx
jg 0x449702
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x148]
test al, 4
je 0x449765
push SysReAllocString
push 0x4c1430
mov edx, edi
mov ecx, ebx
call fcn.00462880
mov esi, ebx
add esp, 8
mov eax, edi
mov ecx, 0x7fff
sub esi, edi
movzx edx, word [esi + eax]
test dx, dx
je 0x44975a
mov word [eax], dx
dec ecx
add eax, 2
test ecx, ecx
jg 0x449746
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x148]
test al, 1
je 0x4497d9
test al, 2
je 0x44977c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x449787
lea ecx, [ebp - 0x190]
call fcn.0045b610
push edi
lea ecx, [ebp - 0x190]
call fcn.0045b9b0
mov ecx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x17c]
push dword [ebp - 0x158]
lea edx, [ecx + eax*4]
mov eax, edx
sub eax, ecx
sar eax, 2
push eax
call fcn.0045dc10
add esp, 8
lea ecx, [ebp - 0x190]
push dword [ebp - 0x150]
push 0x4c1430
push 0x4c1dbc
push 0x8000
push edi
call fcn.0045b730
mov ecx, dword [ebp - 0x14c]
push edi
push dword [ebp - 0x154]
mov eax, dword [ecx]
call dword [eax + 0xf8]
mov esi, 1
jmp 0x4497fb
mov esi, dword [ebp - 0x16c]
test ebx, ebx
je 0x449808
push ebx
call fcn.00487954
add esp, 4
lea ecx, [ebp - 0xc8]
call fcn.0045ec60
lea ecx, [ebp - 0x140]
call fcn.0046e4c0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0xa8], vtable.TBrowseDirDlgW.0
test ecx, ecx
je 0x449839
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0xa8]
call fcn.0046e4c0
jmp 0x449bdd
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449850
sub ecx, edx
sar ecx, 1
cmp ecx, 0xd2
jb 0x449870
mov edx, edi
mov ecx, edi
call fcn.00464df0
push edi
call dword [sym.imp.KERNEL30.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x449880
test al, 0x10
jne 0x449891
push 0x8000
mov edx, edi
mov ecx, edi
call fcn.00464c30
add esp, 4
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0xffffffff
test edi, edi
je 0x4498db
or edx, 0xffffffff
mov ecx, edi
call fcn.00412580
mov dword [ebp - 0x15c], eax
mov ebx, dword [ebp - 0x148]
mov esi, ebx
mov byte [ebp - 4], 3
and esi, 8
je 0x4498f8
mov ecx, 0xaa
call fcn.0045fe50
jmp 0x4498fa
xor eax, eax
push eax
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x168]
push eax
mov ecx, ebx
xor eax, eax
and ecx, 1
shl ecx, 3
test esi, esi
setne al
lea eax, [eax*2 + 2]
or ecx, eax
lea eax, [ebp - 0x15c]
push ecx
mov ecx, dword [ebp - 0x14c]
push eax
call fcn.00472e50
mov eax, dword [ebp - 0x164]
add esp, 0x10
mov esi, dword [ebp - 0x168]
sub eax, esi
sar eax, 3
test eax, eax
je 0x449b40
test bl, 2
je 0x449963
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x44996e
lea ecx, [ebp - 0x190]
call fcn.0045b610
mov eax, dword [ebp - 0x164]
mov esi, 0x4c1430
mov ebx, dword [ebp - 0x168]
mov dword [ebp - 0x16c], eax
cmp ebx, eax
je 0x449a6a
mov ecx, dword [ebp - 0x148]
and ecx, 4
mov dword [ebp - 0x148], ecx
nop dword [eax]
mov byte [ebp - 0x144], 0
test ecx, ecx
je 0x4499d9
mov eax, dword [ebx]
mov ecx, esi
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL30.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4499d9
test al, 0x10
mov ecx, 1
mov eax, dword [ebp - 0x144]
movzx eax, al
cmovne eax, ecx
mov dword [ebp - 0x144], eax
mov eax, dword [ebx]
mov ecx, esi
test eax, eax
push 0x8000
cmovne ecx, eax
push edi
push ecx
call dword [sym.imp.KERNEL30.dll_GetLongPathNameW]
test eax, eax
jne 0x449a21
mov eax, dword [ebx]
mov ecx, 0x7fff
test eax, eax
cmovne esi, eax
mov eax, edi
sub esi, edi
movzx edx, word [esi + eax]
test dx, dx
je 0x449a17
mov word [eax], dx
dec ecx
add eax, 2
test ecx, ecx
jg 0x449a03
xor ecx, ecx
mov esi, 0x4c1430
mov word [eax], cx
cmp byte [ebp - 0x144], 0
je 0x449a40
push SysReAllocString
push 0x4c1430
xor edx, edx
mov ecx, edi
call fcn.00462880
add esp, 8
mov edx, edi
mov ecx, edi
call fcn.00464ef0
push edi
lea ecx, [ebp - 0x190]
call fcn.0045b9b0
mov ecx, dword [ebp - 0x148]
add ebx, 8
cmp ebx, dword [ebp - 0x16c]
jne 0x4499a0
mov ecx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x17c]
push dword [ebp - 0x158]
lea edx, [ecx + eax*4]
mov eax, edx
sub eax, ecx
sar eax, 2
push eax
call fcn.0045dc10
add esp, 8
lea ecx, [ebp - 0x190]
push dword [ebp - 0x150]
push 0x4c1430
push 0x4c1dbc
call fcn.0045b8f0
mov ebx, eax
xor esi, esi
mov dword [ebp - 0x170], esi
test ebx, ebx
je 0x449ae1
xor ecx, ecx
lea eax, [ebx + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00487989
mov esi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x170], esi
mov word [esi], ax
push dword [ebp - 0x150]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x190]
push 0x4c1430
push 0x4c1dbc
push ebx
push esi
mov dword [ebp - 0x16c], 0xffffffff
call fcn.0045b730
mov edx, dword [ebp - 0x14c]
test esi, esi
mov ecx, 0x4c1430
cmovne ecx, esi
push ecx
mov eax, dword [edx]
mov ecx, edx
push dword [ebp - 0x154]
call dword [eax + 0xf8]
test esi, esi
je 0x449b3a
push esi
call fcn.00487954
add esp, 4
mov esi, dword [ebp - 0x168]
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x449b63
push eax
call fcn.00487954
mov esi, dword [ebp - 0x168]
add esp, 4
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0xffffffff
test esi, esi
je 0x449bd8
mov ebx, dword [ebp - 0x164]
cmp esi, ebx
je 0x449ba9
nop dword [eax + eax]
mov eax, dword [esi]
test eax, eax
je 0x449b95
push eax
call fcn.00487954
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0xffffffff
add esi, 8
cmp esi, ebx
jne 0x449b80
mov esi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x160]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x449bce
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x449c13
push ecx
push esi
call fcn.00487923
add esp, 8
mov esi, 1
lea ecx, [ebp - 0x190]
call fcn.0045b530
test edi, edi
je 0x449bf5
push edi
call fcn.00487954
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00487555
mov esp, ebp
pop ebp
ret
call fcn.004913be
int3