Function at 0x4668d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4961e1
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x4c0074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x45c], eax
jne 0x466c06
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x458], 1
cmp eax, 0x110
jne 0x46694e
sub esp, 8
mov dword [esi + 0x40], 1
call fcn.00466da0
mov dword [edi], eax
cmp dword [esi + 0x40], 0
je 0x466b61
mov eax, 1
jmp 0x466c08
mov edx, dword [ebp + 0x10]
cmp eax, 0x111
jne 0x466b67
movzx ecx, dx
cmp word [ebp - 0x458], cx
jne 0x46698a
mov ecx, esi
call fcn.00467860
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov dword [edi], 0
mov eax, 1
jmp 0x466c08
mov dword [ebp - 0x458], 2
cmp word [ebp - 0x458], cx
jne 0x4669b8
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov dword [edi], 0
mov eax, 1
jmp 0x466c08
mov dword [ebp - 0x458], 0x3fb
cmp word [ebp - 0x458], cx
jne 0x466afe
xorps xmm0, xmm0
mov dword [ebp - 0x434], 0
movups xmmword [ebp - 0x454], xmm0
lea eax, [ebp - 0x42a]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x44c], eax
lea eax, [ebp - 0x454]
movups xmmword [ebp - 0x444], xmm0
mov dword [ebp - 0x43c], eax
xor eax, eax
mov byte [ebp - 0x42c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 1
mov dword [ebp - 0x440], 0x467fb0
mov word [ebp - 0x222], ax
mov word [ebp - 0x42a], ax
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x44]
push dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x434], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x454], eax
xor eax, eax
mov byte [ebp - 0x42c], 1
mov word [ebp - 0x222], ax
mov word [ebp - 0x42a], ax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x466ade
test byte [ebp - 0x444], 1
je 0x466ace
lea ecx, [ebp - 0x222]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x466ade
lea eax, [ebp - 0x222]
push eax
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [edi], 0
mov eax, 1
jmp 0x466c08
mov dword [ebp - 0x458], 0x413
cmp word [ebp - 0x458], cx
je 0x466b4a
mov dword [ebp - 0x458], 0x414
cmp word [ebp - 0x458], cx
je 0x466b4a
mov dword [ebp - 0x458], 0x423
cmp word [ebp - 0x458], cx
je 0x466b4a
mov dword [ebp - 0x458], 0x424
cmp word [ebp - 0x458], cx
jne 0x466b67
mov ecx, esi
call fcn.00467a60
mov dword [edi], 0
mov eax, 1
jmp 0x466c08
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
lea ecx, [esi + 0x20]
cmp eax, 5
jne 0x466bd6
xor eax, eax
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x466bab
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [ebp + 0x10]
cmp edx, 2
jne 0x466b9c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x466bb0
test edx, edx
jne 0x466bab
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x466bb0
cmp edx, 1
je 0x466bf9
mov edx, dword [ebp - 0x45c]
lea ecx, [esi + 0x20]
mov eax, edx
shr eax, 0x10
cwde
push eax
movsx eax, dx
push eax
call fcn.00426890
mov dword [edi], 0
mov eax, 1
jmp 0x466c08
cmp eax, 0x24
jne 0x466c06
cmp dword [ecx + 0x14], 0xffffffff
je 0x466bf9
cmp dword [ecx + 0x18], 0xffffffff
je 0x466bf9
mov edx, dword [ebp - 0x45c]
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [edx + 0x1c], eax
mov dword [edi], 0
mov eax, 1
jmp 0x466c08
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c8db
mov esp, ebp
pop ebp
ret 0x18