Function at 0x45a080
Capabilities:
Get common file path
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d8337
push eax
mov eax, 0x3750
mov dword fs:[0], esp
call fcn.004d3780
mov eax, dword [esp + 0x3760]
push ebp
mov ebp, eax
push esi
shr ebp, 0x10
cmp ax, 1
mov esi, ecx
jne 0x45a0d0
push 0
lea ecx, [esi + 0x15ac]
call fcn.004c3a30
mov ecx, esi
call fcn.004ba920
xor eax, eax
jmp 0x45aa31
push ebx
and eax, 0xffff
push edi
lea ecx, [esi + 0x6184]
push eax
mov dword [esp + 0x18], eax
call fcn.004cfa80
mov ebx, eax
test ebx, ebx
je 0x45aa2d
mov eax, dword [ebx + 0x50]
mov dword [esp + 0x10], 0
push eax
call dword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x45a139
mov edx, dword [ebx + 0x50]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0x1c
push ecx
push edx
mov dword [esp + 0x30], 8
call dword [sym.imp.USER32.dll_GetMenuInfo]
mov edx, dword [esp + 0x3c]
jmp 0x45a13c
mov edx, dword [ebx + 0x50]
test bp, bp
mov dword [esp + 0x10], edx
jne 0x45a259
mov eax, dword [ebx + 0x50]
test eax, eax
jne 0x45a173
mov eax, dword [esi + 0x24acc]
mov edx, dword [esi + 4]
push 0
push eax
lea ecx, [esi + 0x2dd2c]
push 0
push ecx
push edx
call fcn.00403380
add esp, 0x14
jmp 0x45aa2d
test edx, edx
je 0x45aa2d
lea ebx, [esi + 0x2d8c4]
push edx
mov ecx, ebx
call fcn.004af190
test eax, eax
jne 0x45aa2d
mov ax, word [0x4ffec0]
mov edx, dword [esp + 0x10]
mov word [esp + 0x480], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x482]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x480]
push 0x104
push ecx
push edx
mov ecx, ebx
stosw word es:[edi], ax
call fcn.004aefe0
test eax, eax
je 0x45aa2d
mov edi, dword [0x6c432c]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x45a1f0
xor eax, eax
test edi, edi
sete al
mov edi, eax
lea ecx, [esp + 0x688]
call fcn.004a94b0
lea ecx, [esp + 0x480]
mov dword [esp + 0x3768], 0
push ecx
lea ecx, [esp + 0x68c]
call fcn.004a94d0
mov ebx, eax
push ebx
call fcn.004a9c30
add esp, 4
test eax, eax
je 0x45a22c
xor edi, edi
push 0
push 0
push 0
push 0
push edi
push ebx
mov ecx, esi
call fcn.00451540
lea ecx, [esp + 0x688]
mov dword [esp + 0x3768], 0xffffffff
call fcn.00437c40
jmp 0x45aa2d
cmp bp, 4
jne 0x45a9ab
mov eax, dword [ebx + 0x50]
test eax, eax
jne 0x45a284
mov eax, dword [esi + 4]
lea edx, [esi + 0x2dd2c]
push 0
push edx
push eax
call fcn.004036b0
add esp, 0xc
jmp 0x45aa2d
test edx, edx
je 0x45aa2d
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov dx, word [0x4ffec0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x482]
mov word [esp + 0x480], dx
lea ebx, [esi + 0x2d8c4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x10]
mov ecx, ebx
push eax
call fcn.004af190
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x480]
push 0x104
push ecx
push edx
mov ecx, ebx
mov edi, eax
call fcn.004aefe0
test eax, eax
je 0x45aa2d
mov eax, dword [0x6dcf80]
push 0x9f
push eax
call dword [sym.imp.USER32.dll_LoadMenuW]
test eax, eax
mov dword [esp + 0x18], eax
je 0x45aa2d
push edi
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov ebp, eax
test ebp, ebp
je case.0x45a83a.41090
push 0
push 0x80dd
push ebp
call dword [sym.imp.USER32.dll_DeleteMenu]
push 0
push 0xa05c
push ebp
call dword [sym.imp.USER32.dll_DeleteMenu]
push ebp
lea ecx, [esi + 0x2c600]
call fcn.004bcac0
xor eax, eax
cmp edi, eax
jne 0x45a3da
mov ecx, 0x82
lea edi, [esp + 0x4c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x48], eax
lea edx, [esp + 0x40]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x254], ecx
push edx
mov dword [esp + 0x25c], ecx
push eax
push ebx
mov word [esp + 0x268], cx
call fcn.0042c110
lea ecx, [esp + 0x260]
push 0x4ebc40
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x14
test eax, eax
je 0x45a3b9
push 0
push 0xa07d
push ebp
call dword [sym.imp.USER32.dll_DeleteMenu]
mov edx, dword [esp + 0x10]
push 0
push edx
push ebx
call fcn.0042c920
add esp, 8
neg eax
sbb eax, eax
add eax, 0xa07f
push eax
push ebp
call dword [sym.imp.USER32.dll_DeleteMenu]
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0
push eax
push ecx
push edx
push 0x103
push ebp
call fcn.004bd130
mov edi, eax
add esp, 0x18
cmp edi, 0xa07d
ja 0x45a823
je 0x45a646
lea eax, [edi - 0x8021]
cmp eax, 0x3d
ja case.0x45a83a.41090
xor ecx, ecx
mov cl, byte [eax + 0x45aa64]
jmp dword [ecx*4 + 0x45aa4c]
lea ecx, [esp + 0x688]
call fcn.004a94b0
lea edx, [esp + 0x480]
lea ecx, [esp + 0x688]
push edx
mov dword [esp + 0x376c], 2
call fcn.004a94d0
push eax
call fcn.004b06b0
add esp, 4
lea ecx, [esp + 0x688]
mov dword [esp + 0x3768], 0xffffffff
call fcn.00437c40
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004bcf20
add esp, 4
jmp 0x45aa2d
mov eax, dword [esp + 0x10]
mov ecx, ebx
push eax
call fcn.004af8d0
lea ecx, [esi + 0x43d8]
test ecx, ecx
je 0x45a4a5
add esi, 0x43dc
jmp 0x45a4a7
xor esi, esi
mov edx, dword [esi + 4]
push 0
push 0
push 0x1f
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004bcf20
add esp, 4
jmp 0x45aa2d
mov eax, dword [esi + 4]
lea ecx, [esp + 0x10]
push eax
push 1
push ecx
mov ecx, ebx
call fcn.004af7c0
lea edx, [esi + 0x43d8]
test edx, edx
je 0x45a4ed
add esi, 0x43dc
jmp 0x45a4ef
xor esi, esi
mov eax, dword [esi + 4]
push 0
push 0
push 0x1f
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004bcf20
add esp, 4
jmp 0x45aa2d
mov ecx, esi
call fcn.00454e50
lea ecx, [esp + 0x688]
call fcn.004a94b0
mov dx, word [0x4ffec0]
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x16d2]
mov word [esp + 0x16d0], dx
mov word [esp + 0x40], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42]
mov dword [esp + 0x3768], 3
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, ebx
stosw word es:[edi], ax
call fcn.004af190
test eax, eax
jne 0x45a5b7
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x40]
push 0x104
push edx
push eax
mov ecx, ebx
call fcn.004aefe0
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x68c]
call fcn.004a94d0
push eax
push 0x4eb504
lea edx, [esp + 0x16d8]
push 0x823
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov edi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea eax, [esp + 0x40]
push eax
call edi
mov ecx, dword [esi + 4]
lea edx, [esp + 0x10]
push ecx
push 1
push edx
mov ecx, ebx
call fcn.004af7f0
mov eax, dword [esp + 0x10]
mov ecx, ebx
push eax
call fcn.004af8a0
test eax, eax
jne 0x45a616
mov ecx, dword [esp + 0x14]
push 1
push ecx
lea ecx, [esi + 0x6184]
call fcn.004cfe30
push 0
lea edx, [esp + 0x16d4]
push 0
lea eax, [esp + 0x48]
push edx
push eax
call edi
push eax
push 1
call fcn.00438870
add esp, 0x14
mov ecx, esi
call fcn.00454de0
lea ecx, [esp + 0x688]
mov dword [esp + 0x3768], 0xffffffff
call fcn.00437c40
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004bcf20
add esp, 4
jmp 0x45aa2d
mov dx, word [0x4ffec0]
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x16d2]
mov word [esp + 0x16d0], dx
mov word [esp + 0x688], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x68a]
mov word [esp + 0x40], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [esp + 0x10]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x40]
push 0x104
push ecx
push edx
mov ecx, ebx
stosw word es:[edi], ax
call fcn.004aefe0
test eax, eax
je case.0x45a83a.41090
lea ecx, [esp + 0x2718]
call fcn.004a94b0
lea eax, [esp + 0x40]
lea ecx, [esp + 0x2718]
push eax
mov dword [esp + 0x376c], 4
call fcn.004a94d0
push eax
push 0x4eb504
lea ecx, [esp + 0x690]
push 0x823
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, dword [esi + 0x24acc]
xor ebp, ebp
add esp, 0x10
cmp ecx, ebp
je 0x45a7fa
lea edx, [esp + 0x16d0]
push ebp
push edx
call fcn.0049f9d0
test eax, eax
je 0x45a7fa
lea eax, [esp + 0x16d0]
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.00434280
add esp, 8
test eax, eax
je 0x45a7fa
mov edx, dword [esp + 0x10]
mov ecx, ebx
push edx
call fcn.004af240
mov edx, eax
cmp edx, ebp
je 0x45a7ca
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x26c]
mov dword [esp + 0x264], ebp
mov dword [esp + 0x260], 0xffffffff
mov dword [esp + 0x268], ebp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x260]
mov dword [esp + 0x474], eax
push ecx
mov dword [esp + 0x47c], eax
push edx
push ebx
mov word [esp + 0x488], ax
call fcn.0042c110
mov ebx, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esi + 0x6184]
push ebx
call fcn.004d0430
mov edi, eax
push ebp
push ebp
push edi
mov ecx, esi
call fcn.00454f80
push ebx
lea edx, [esp + 0x264]
push edi
push edx
mov ecx, esi
call fcn.004550c0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea eax, [esp + 0x688]
lea ecx, [esp + 0x40]
push eax
push ecx
call esi
push eax
lea edx, [esp + 0x16d8]
lea eax, [esp + 0x48]
push edx
push eax
call esi
push eax
push 2
call fcn.00438870
add esp, 0x14
lea ecx, [esp + 0x2718]
mov dword [esp + 0x3768], 0xffffffff
call fcn.00437c40
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004bcf20
add esp, 4
jmp 0x45aa2d
lea eax, [edi - 0xa07e]
cmp eax, 0x2b
ja case.0x45a83a.41090
xor ecx, ecx
mov cl, byte [eax + 0x45aab8]
jmp dword [ecx*4 + 0x45aaa4]
mov edx, dword [esp + 0x10]
mov ecx, ebx
push edx
call fcn.004af190
test eax, eax
je 0x45a87d
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp edi, 0x805e
push 0
sete al
push eax
push ecx
mov ecx, esi
call fcn.00459c60
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004bcf20
add esp, 4
jmp 0x45aa2d
lea ecx, [esp + 0x2718]
mov edi, 1
call fcn.004a94b0
lea edx, [esp + 0x480]
lea ecx, [esp + 0x2718]
push edx
mov dword [esp + 0x376c], edi
call fcn.004a94d0
mov ebx, eax
push ebx
call fcn.004a9c30
add esp, 4
test eax, eax
je 0x45a8ba
xor edi, edi
push 0
push 0
push 0
push 0
push edi
push ebx
mov ecx, esi
call fcn.00451540
lea ecx, [esp + 0x2718]
mov dword [esp + 0x3768], 0xffffffff
call fcn.00437c40
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004bcf20
add esp, 4
jmp 0x45aa2d
mov eax, dword [esp + 0x10]
push 1
push eax
push ebx
call fcn.0042c890
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
call fcn.004bcf20
add esp, 4
jmp 0x45aa2d
mov ecx, dword [esp + 0x10]
push 0
push ecx
push ebx
call fcn.0042c890
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
call fcn.004bcf20
add esp, 4
jmp 0x45aa2d
mov dx, word [0x4ffec0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42]
mov word [esp + 0x40], dx
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x44]
push eax
call fcn.00432c00
add esp, 8
cmp word [esp + 0x40], 0
jne 0x45a97e
push 1
lea ecx, [esp + 0x44]
push 6
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp + 0x40]
push 1
push edx
call fcn.004a7ba0
lea eax, [esp + 0x48]
push 1
push eax
call fcn.0042aa70
add esp, 0x10
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004bcf20
add esp, 4
jmp 0x45aa2d
cmp bp, 5
jne 0x45aa2d
mov ax, word [0x4ffec0]
mov ecx, 0x81
mov word [esp + 0x260], ax
xor eax, eax
lea edi, [esp + 0x262]
rep stosd dword es:[edi], eax
test edx, edx
stosw word es:[edi], ax
je 0x45aa2d
lea ecx, [esp + 0x260]
lea edi, [esi + 0x2d8c4]
push 0x104
push ecx
push edx
mov ecx, edi
call fcn.004aefe0
test eax, eax
je 0x45aa2d
mov edx, dword [esp + 0x10]
mov ecx, edi
push edx
call fcn.004af190
test eax, eax
push 0
je 0x45aa16
mov eax, dword [esp + 0x14]
push 1
push eax
mov ecx, esi
call fcn.00459c60
jmp 0x45aa2d
push 0
push 0
push 0
lea ecx, [esp + 0x270]
push 1
push ecx
mov ecx, esi
call fcn.00451540
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3758]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x375c
ret 8