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

Disassembly:
push 0xffffffffffffffff
push 0x575cc0
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 ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4de273
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, ebp
setne cl
cmp ecx, ebp
jne 0x4de29d
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 ebp
push 0x581258
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], ebp
call fcn.00407240
push ebp
push 0x581258
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], ebp
call fcn.00407240
mov dword [esp + 0x2c], ebp
call fcn.0045e1b2
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4de2f1
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, ebp
setne cl
cmp ecx, ebp
jne 0x4de320
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 bl, 2
mov byte [esp + 0x38], bl
jge 0x4de35c
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, ebp
jl 0x4de647
cmp eax, dword [esi - 8]
jg 0x4de647
mov dword [esi - 0xc], eax
xor ecx, ecx
push str._newdev.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], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4de3d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebp
jne 0x4de48e
lea eax, [ebx - 0x10]
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4de40f
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 0x4de430
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 0x4de458
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 0x4de478
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 0x4de4b8
push 0x104
lea ecx, [esp + 0x24]
call fcn.00403ae0
mov edx, dword [esp + 0x20]
mov ebp, dword [sym.imp.USER32.dll_LoadStringW]
push 0x104
push edx
push 0x84b
push edi
call ebp
mov edx, dword [esp + 0x28]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x4de4f6
push 0x104
lea ecx, [esp + 0x2c]
call fcn.00403ae0
mov edx, dword [esp + 0x28]
push 0x104
push edx
push 0x89d
push edi
call ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004943dc
add esp, 8
test eax, eax
jl 0x4de647
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx - 8]
jg 0x4de647
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x20]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004943dc
add esp, 8
test eax, eax
jl 0x4de647
mov ecx, dword [esp + 0x28]
cmp eax, dword [ecx - 8]
jg 0x4de647
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x28]
xor ecx, ecx
push edi
mov word [edx + eax*2], cx
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
nop
lea eax, [esp + 0x20]
push eax
push 0x4dd070
call ebx
cmp dword [esp + 0x24], 0
jne 0x4de5a0
push 0xc8
call ebp
inc edi
cmp edi, 0x14
jl 0x4de580
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4de5c5
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 0x4de5e6
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 0x4de60e
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 0x4de62e
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