Function at 0x41f330
Capabilities:
Get common file path
Hide graphical window

Disassembly:
mov edx, dword [esp + 8]
sub esp, 0x34
cmp edx, 0x463
push ebx
push ebp
push esi
push edi
mov esi, ecx
jg 0x41f4f3
je 0x41f465
cmp edx, 1
je 0x41f424
cmp edx, 0x6e
jle 0x41f6cc
cmp edx, 0x7a
jg 0x41f6cc
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x2c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0x20
push ecx
push edx
push 0x43f
push eax
mov dword [esp + 0x38], 0x10
call edi
test eax, eax
je 0x41f3ea
mov eax, dword [esi + 0xdc]
mov ebx, dword [esp + 0x38]
test eax, eax
je 0x41f3d6
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov eax, dword [esi + 0xdc]
push ebx
push 0x4e0
push eax
call edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x10
push ebx
mov ecx, esi
call fcn.0041ec10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x10
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x41f6cc
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 0xf4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov edx, dword [esi + 0xdc]
push eax
push ebx
push 0x4e0
push edx
call edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x10
mov edi, dword [esi + 0xec]
call dword [sym.imp.USER32.dll_GetFocus]
cmp edi, eax
jne 0x41f6cc
mov eax, dword [esi + 0xec]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0x3e8
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x10
call dword [sym.imp.USER32.dll_GetFocus]
mov edx, dword [esi + 0xec]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esi + 0xec]
push 5
push edx
mov dword [esi + 0x34], eax
call ebx
mov eax, dword [esi + 0x2c]
push 0
push eax
call ebx
sub esp, 8
lea edx, [esi + 0x50]
mov ecx, esp
push edx
call fcn.004217d0
lea eax, [esp + 0x54]
mov ecx, esi
push eax
call fcn.00420aa0
mov ecx, dword [esp + 0x4c]
mov edx, dword [edi]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.00424950
mov eax, dword [esi + 4]
push 0
push 0x64
push 0x3e8
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [edi]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
lea ecx, [esp + 0x4c]
call fcn.00405700
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x10
cmp edx, 0x84e5
jne 0x41f6cc
mov eax, dword [esi + 4]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x20]
xor ebp, ebp
mov dword [esp + 0x18], eax
add eax, 0x15e
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x3c]
cmp eax, ebp
jne 0x41f5bd
push 0x1b4
call fcn.00531ba5
mov edi, eax
add esp, 4
cmp edi, ebp
je 0x41f584
mov ecx, edi
call fcn.004cd980
lea ebx, [edi + 0x2c]
mov dword [edi + 0x28], ebp
mov ecx, ebx
call fcn.004cd980
mov dword [ebx], 0x540e78
lea ecx, [edi + 0x5c]
mov dword [edi + 0x54], ebp
call fcn.00516580
mov dword [edi + 0x198], ebp
mov dword [edi + 0x19c], ebp
mov dword [edi + 0x1a0], ebp
mov dword [edi + 0x1a8], ebp
mov dword [edi], 0x540e6c
jmp 0x41f586
xor edi, edi
mov ecx, dword [esi + 4]
push 0x43
sub esp, 0x10
mov dword [esi + 0x3c], edi
mov dword [edi + 0x24], ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x3c]
push edx
call fcn.0041fa30
mov eax, dword [esi + 0xdc]
cmp eax, ebp
je 0x41f5cf
mov ecx, dword [esi + 0x3c]
mov dword [ecx + 0x24], eax
jmp 0x41f5d8
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 4]
mov dword [edx + 0x24], eax
lea ecx, [esi + 0xf8]
test ecx, ecx
je 0x41f5ea
lea eax, [esi + 0xfc]
jmp 0x41f5ec
xor eax, eax
mov edx, dword [eax]
mov esi, dword [esi + 0x3c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x4c]
push edx
push ebp
push ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x58], ebp
mov dword [esi + 0x17c], ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esi + 0x174]
mov dword [esi + 0x160], 1
cmp eax, ebp
jne 0x41f640
lea ecx, [esi + 0x5c]
call fcn.00512400
mov eax, dword [esp + 0x4c]
lea ebp, [esi + 0x5c]
push eax
mov ecx, ebp
call fcn.00516750
mov ecx, dword [esp + 0x10]
push 0
push 0
push ecx
mov ecx, ebp
call fcn.005166f0
mov edx, dword [esi + 0x28]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [0x55ab48]
push 0
push 1
push 0x86
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 4]
sub ebx, ecx
mov dword [esi + 0x58], 1
push 0x70
sub edi, eax
add esi, 4
push ebx
push edi
push ecx
push eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x105
push 0
push 0
mov ecx, esi
call fcn.00419690
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret 0x10