Function at 0x4de660
Capabilities:
Enumerate gui resources
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x575d00
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d480c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
call fcn.0045e1b2
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4de6a3
push 0x80004005
call fcn.004017e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
call fcn.0045e1b2
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4de6cd
push 0x80004005
call fcn.004017e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
push ebx
push 0x581258
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], ebx
call fcn.00407240
push ebx
push 0x581258
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], ebx
call fcn.00407240
mov dword [esp + 0x2c], ebx
call fcn.0045e1b2
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4de721
push 0x80004005
call fcn.004017e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov byte [esp + 0x38], 1
call fcn.0045e1b2
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4de750
push 0x80004005
call fcn.004017e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x38], 2
jge 0x4de78b
push 0x104
lea ecx, [esp + 0x18]
call fcn.00403ae0
mov esi, dword [esp + 0x14]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004943dc
add esp, 8
cmp eax, ebx
jl 0x4dea22
cmp eax, dword [esi - 8]
jg 0x4dea22
mov dword [esi - 0xc], eax
xor ecx, ecx
push str.Shell32.dll
lea edx, [esp + 0x18]
mov word [esi + eax*2], cx
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00407ab0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 3
call fcn.0041a0d0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4de809
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x18]
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
jne 0x4de8be
lea eax, [ebp - 0x10]
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4de83f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4de860
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4de888
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4de8a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x4de8e8
push 0x104
lea ecx, [esp + 0x24]
call fcn.00403ae0
mov edx, dword [esp + 0x20]
push 0x104
push edx
push 0x31a3
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004943dc
add esp, 8
cmp eax, ebx
jl 0x4dea22
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx - 8]
jg 0x4dea22
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x20]
xor ecx, ecx
push 2
mov word [edx + eax*2], cx
push 0x5a02e0
lea ecx, [esp + 0x30]
call fcn.00407240
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [sym.imp.USER32.dll_EnumWindows]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov eax, dword [esp + 0x40]
cmp dword [eax], 0
jl 0x4de97b
lea ecx, [esp + 0x20]
push ecx
push 0x4dc8b0
call ebx
cmp dword [esp + 0x24], 0
jne 0x4de97b
push 0xc8
call ebp
inc edi
cmp edi, 0xa
jl 0x4de952
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4de9a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4de9c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4de9e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4dea09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x80070057
call fcn.004017e0
int3