Function at 0x4108ee
Capabilities:
Create process on windows
Get common file path
Get graphical window text
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42d18a
mov eax, dword fs:[0]
push eax
sub esp, 0xa78
mov eax, dword [0x43a19c]
xor eax, esp
mov dword [esp + 0xa70], eax
push ebx
push esi
push edi
mov eax, dword [0x43a19c]
xor eax, esp
push eax
lea eax, [esp + 0xa88]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], esi
mov byte [esp + 0x1a], bl
cmp byte [esi + 0x68], bl
je 0x4110c3
push str..exe
lea eax, [esp + 0x48]
call fcn.00401228
mov esi, eax
mov dword [esp + 0xa90], ebx
mov dword [esp + 0x14], 1
call fcn.0040bc5f
mov ecx, eax
mov edi, 0x8c
add ecx, edi
mov edx, esi
call fcn.004130d4
test al, al
jne 0x410bee
push 0x432f74
lea eax, [esp + 0x180]
call fcn.00401228
mov dword [esp + 0x1c], eax
push 3
pop esi
mov dword [esp + 0xa90], 1
mov dword [esp + 0x14], esi
call fcn.0040bc5f
mov edx, dword [esp + 0x1c]
mov ecx, eax
add ecx, edi
call fcn.004130d4
test al, al
jne 0x410bee
push str..Exe
lea eax, [esp + 0x19c]
call fcn.00401228
mov dword [esp + 0x1c], eax
mov dword [esp + 0xa90], 2
mov dword [esp + 0x14], 7
call fcn.0040bc5f
mov edx, dword [esp + 0x1c]
mov ecx, eax
add ecx, edi
call fcn.004130d4
test al, al
jne 0x410bee
push str..eXe
lea eax, [esp + 0xbc]
call fcn.00401228
mov dword [esp + 0x1c], eax
mov dword [esp + 0xa90], esi
mov dword [esp + 0x14], 0xf
call fcn.0040bc5f
mov edx, dword [esp + 0x1c]
mov ecx, eax
add ecx, edi
call fcn.004130d4
test al, al
jne 0x410bee
push str..exE
lea eax, [esp + 0x12c]
call fcn.00401228
mov esi, eax
mov dword [esp + 0xa90], 4
mov dword [esp + 0x14], 0x1f
call fcn.0040bc5f
mov ecx, eax
add ecx, edi
mov edx, esi
call fcn.004130d4
test al, al
jne 0x410bee
push str..EXe
lea eax, [esp + 0xf4]
call fcn.00401228
mov esi, eax
mov dword [esp + 0xa90], 5
mov dword [esp + 0x14], 0x3f
call fcn.0040bc5f
mov ecx, eax
add ecx, edi
mov edx, esi
call fcn.004130d4
test al, al
jne 0x410bee
push str..ExE
lea eax, [esp + 0xd8]
call fcn.00401228
mov esi, eax
mov dword [esp + 0xa90], 6
mov dword [esp + 0x14], 0x7f
call fcn.0040bc5f
mov ecx, eax
add ecx, edi
mov edx, esi
call fcn.004130d4
test al, al
jne 0x410bee
push str..eXE
lea eax, [esp + 0x164]
call fcn.00401228
mov esi, eax
mov dword [esp + 0xa90], 7
mov dword [esp + 0x14], 0xff
call fcn.0040bc5f
mov ecx, eax
add ecx, edi
mov edx, esi
call fcn.004130d4
test al, al
jne 0x410bee
push str..msi
lea eax, [esp + 0xa0]
call fcn.00401228
mov esi, eax
mov dword [esp + 0xa90], 8
mov dword [esp + 0x14], 0x1ff
call fcn.0040bc5f
mov ecx, eax
add ecx, edi
mov edx, esi
call fcn.004130d4
test al, al
jne 0x410bee
push str..Msi
lea eax, [esp + 0x148]
call fcn.00401228
mov esi, eax
mov dword [esp + 0xa90], 9
mov dword [esp + 0x14], 0x3ff
call fcn.0040bc5f
mov ecx, eax
add ecx, edi
mov edx, esi
call fcn.004130d4
test al, al
jne 0x410bee
push str..MSI
lea eax, [esp + 0x110]
call fcn.00401228
mov esi, eax
mov dword [esp + 0xa90], 0xa
mov dword [esp + 0x14], 0x7ff
call fcn.0040bc5f
mov ecx, eax
add ecx, edi
mov edx, esi
call fcn.004130d4
mov byte [esp + 0x1b], bl
test al, al
je 0x410bf3
mov byte [esp + 0x1b], 1
test dword [esp + 0x14], 0x400
je 0x410c14
and dword [esp + 0x14], 0xfffffbff
push ebx
push 1
lea esi, [esp + 0x114]
call fcn.004012b7
test dword [esp + 0x14], 0x200
je 0x410c35
and dword [esp + 0x14], 0xfffffdff
push ebx
push 1
lea esi, [esp + 0x14c]
call fcn.004012b7
test dword [esp + 0x14], 0x100
je 0x410c56
and dword [esp + 0x14], 0xfffffeff
push ebx
push 1
lea esi, [esp + 0xa4]
call fcn.004012b7
test byte [esp + 0x14], 0x80
je 0x410c74
and dword [esp + 0x14], 0xffffff7f
push ebx
push 1
lea esi, [esp + 0x168]
call fcn.004012b7
test byte [esp + 0x14], 0x40
je 0x410c8f
and dword [esp + 0x14], 0xffffffbf
push ebx
push 1
lea esi, [esp + 0xdc]
call fcn.004012b7
test byte [esp + 0x14], 0x20
je 0x410caa
and dword [esp + 0x14], 0xffffffdf
push ebx
push 1
lea esi, [esp + 0xf8]
call fcn.004012b7
test byte [esp + 0x14], 0x10
je 0x410cc5
and dword [esp + 0x14], 0xffffffef
push ebx
push 1
lea esi, [esp + 0x130]
call fcn.004012b7
test byte [esp + 0x14], 8
je 0x410ce0
and dword [esp + 0x14], 0xfffffff7
push ebx
push 1
lea esi, [esp + 0xc0]
call fcn.004012b7
test byte [esp + 0x14], 4
je 0x410cfb
and dword [esp + 0x14], 0xfffffffb
push ebx
push 1
lea esi, [esp + 0x1a0]
call fcn.004012b7
test byte [esp + 0x14], 2
je 0x410d16
and dword [esp + 0x14], 0xfffffffd
push ebx
push 1
lea esi, [esp + 0x184]
call fcn.004012b7
or dword [esp + 0xa90], 0xffffffff
test byte [esp + 0x14], 1
je 0x410d31
push ebx
push 1
lea esi, [esp + 0x4c]
call fcn.004012b7
cmp byte [esp + 0x1b], bl
je 0x410d3c
mov byte [esp + 0x1a], 1
push str.Save_download:
lea eax, [esp + 0x1d4]
call fcn.00401228
push 0x104
lea eax, [esp + 0x670]
push eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xa98], 0xb
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x410db4
lea eax, [esp + 0x66c]
push eax
lea eax, [esp + 0x48]
call fcn.00401228
push 0xffffffffffffffff
lea ecx, [esp + 0x1d4]
push ecx
xor ebx, ebx
mov byte [esp + 0xa98], 0xc
call fcn.004012fe
push ebx
push 1
lea esi, [esp + 0x4c]
mov byte [esp + 0xa98], 0xb
call fcn.004012b7
push ebx
push 0x10
lea eax, [esp + 0x46c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x20
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.004194b0
xor eax, eax
mov word [esp + 0x268], ax
lea eax, [esp + 0x268]
add esp, 0xc
cmp dword [esp + 0x1e8], 8
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1d4]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
jae 0x410e0b
lea eax, [esp + 0x1d4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x464]
mov dword [esp + 0x3c], eax
xor esi, esi
lea eax, [esp + 0x24]
inc esi
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x4108c7
mov dword [esp + 0x44], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp eax, ebx
je 0x4110a8
lea ecx, [esp + 0x874]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, ebx
jne 0x410e66
push ebx
push esi
lea esi, [esp + 0x1d8]
call fcn.004012b7
jmp 0x4110ee
call fcn.0040bc5f
sub esp, 0x1c
add eax, edi
mov esi, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00402de7
lea ecx, [esp + 0x25c]
call fcn.0041319c
add esp, 0x1c
lea eax, [esp + 0x874]
push eax
lea eax, [esp + 0x228]
mov byte [esp + 0xa94], 0xd
call fcn.00401228
lea eax, [esp + 0x224]
push eax
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0xa98], 0xe
call fcn.00411436
lea ecx, [esp + 0x248]
push ecx
push eax
lea eax, [esp + 0x1fc]
push eax
mov byte [esp + 0xaa4], 0xf
call fcn.0041147e
add esp, 0x14
push ebx
push 1
lea esi, [esp + 0x4c]
mov byte [esp + 0xa98], 0x11
call fcn.004012b7
call fcn.0040bc5f
add eax, edi
push eax
lea esi, [esp + 0x1b8]
call fcn.00402de7
mov byte [esp + 0xa90], 0x12
cmp dword [esp + 0x204], 8
mov esi, dword [esp + 0x1f0]
jae 0x410f2a
lea esi, [esp + 0x1f0]
call fcn.0040bc5f
add eax, edi
cmp dword [eax + 0x18], 8
jb 0x410f3c
mov eax, dword [eax + 4]
jmp 0x410f3f
add eax, 4
push 0xb
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x410f65
push 0xffffffffffffffff
lea eax, [esp + 0x1b8]
push eax
xor ebx, ebx
lea eax, [esp + 0x1f4]
call fcn.004012fe
cmp byte [esp + 0x1a], bl
je 0x411037
push 0x3c
pop esi
push esi
lea eax, [esp + 0x64]
push ebx
push eax
call fcn.004194b0
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1b8]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], 0x440
mov dword [esp + 0x70], str.open
mov dword [esp + 0x20], 0x5c
call fcn.00402f80
inc eax
push eax
lea eax, [esp + 0x1b8]
push eax
xor ebx, ebx
lea esi, [esp + 0x210]
call fcn.00402e2b
cmp dword [esp + 0x220], 8
mov eax, dword [esp + 0x20c]
jae 0x410fde
lea eax, [esp + 0x20c]
cmp dword [esp + 0x1cc], 8
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x1b8]
jae 0x410ffa
lea eax, [esp + 0x1b8]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x80], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
push dword [esp + 0x9c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 1
lea esi, [esp + 0x210]
call fcn.004012b7
xor ebx, ebx
jmp 0x41106d
cmp dword [esp + 0x1cc], 8
mov eax, dword [esp + 0x1b8]
jae 0x41104f
lea eax, [esp + 0x1b8]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov esi, eax
cmp esi, ebx
je 0x41106d
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHOpenFolderAndSelectItems]
push esi
call dword [sym.imp.SHELL32.dll_ILFree]
xor edi, edi
push ebx
inc edi
push edi
lea esi, [esp + 0x1bc]
call fcn.004012b7
push ebx
push edi
lea esi, [esp + 0x1f4]
call fcn.004012b7
push ebx
push edi
lea esi, [esp + 0x22c]
call fcn.004012b7
push ebx
push edi
lea esi, [esp + 0x248]
call fcn.004012b7
or dword [esp + 0xa90], 0xffffffff
push ebx
push 1
lea esi, [esp + 0x1d8]
call fcn.004012b7
mov esi, dword [esp + 0x20]
call fcn.00412478
push 0x433010
push esi
call fcn.004090c5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0xa88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa70]
xor ecx, esp
call fcn.0041758d
mov esp, ebp
pop ebp
ret