Function at 0x4178e0
Capabilities:
Accept command line arguments
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e621e
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x66ee94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x108]
mov dword [ebp - 0xf4], 0xc
push str.Global0176330B_52F3_4C5E_BC73_3AB4EAA4C93D
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0xf4]
push 0
push eax
mov dword [ebp - 0xec], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [ebp - 0xe4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xe8], eax
push esi
mov dword [ebp - 4], 0
call fcn.004072d0
add esp, 4
call fcn.00418200
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
call fcn.0045b925
push 4
call fcn.0045bb9c
lea eax, [ebp - 0xe0]
push eax
call fcn.004578a0
add esp, 0xc
mov byte [ebp - 4], 1
call fcn.004579eb
sub eax, 1
je 0x417a2a
sub eax, 3
jne 0x417a4e
call fcn.0045789a
push str.ZIPRES
push str.SKINDATA
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x417a4e
call fcn.004579d6
mov ebx, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x417a1b
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x417a1b
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0045bba9
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edi, dword [ebp - 0xe4]
jmp 0x417a4e
push str..._skinUpdate_
lea ecx, [ebp - 0xe0]
call fcn.00454e17
lea ecx, [ebp - 0xe0]
call fcn.00454dbf
push eax
call fcn.0045bb53
add esp, 4
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0
call fcn.00454cb1
push 3
call fcn.00420e00
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403550
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.0040a270
mov edx, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x417ac0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417ab6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417d6d
push edx
push ecx
call fcn.004ba5b1
add esp, 8
push str._install
lea ecx, [ebp - 0x28]
call fcn.00403550
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
call fcn.00417d90
mov edx, dword [ebp - 0x14]
add esp, 4
mov byte [ebp - 4], 0
mov bl, al
cmp edx, 0x10
jb 0x417b17
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417b0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417d72
push edx
push ecx
call fcn.004ba5b1
add esp, 8
test bl, bl
je 0x417b2b
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.00420dc0
jmp 0x417d44
push 0x4ecb78
lea ecx, [ebp - 0x28]
call fcn.00403550
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.00417d90
mov edx, dword [ebp - 0x14]
add esp, 4
mov byte [ebp - 4], 0
mov bl, al
cmp edx, 0x10
jb 0x417b82
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417b78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417d77
push edx
push ecx
call fcn.004ba5b1
add esp, 8
test bl, bl
je 0x417b96
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.00420dc0
jmp 0x417d44
push 0x4ecb7c
lea ecx, [ebp - 0x28]
call fcn.00403550
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
call fcn.00417d90
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.00401f10
test bl, bl
je 0x417bd5
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.00420dc0
jmp 0x417d44
push str._report_install_done
lea ecx, [ebp - 0x28]
call fcn.00403550
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
call fcn.00417d90
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.00401f10
test bl, bl
je 0x417c1f
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.00420dc0
jmp 0x417d44
push str._report_update_done
lea ecx, [ebp - 0x28]
call fcn.00403550
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
call fcn.00417d90
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.00401f10
test bl, bl
je 0x417c55
push 0x3e8
jmp 0x417c09
mov esi, dword [section..data]
cmp esi, 3
jle 0x417c67
mov esi, 3
jmp 0x417c6e
xor eax, eax
test esi, esi
cmovs esi, eax
cmp dword [ebp - 0xe8], 0xb7
jne 0x417c8a
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.00420dc0
jmp 0x417d44
push 3
call fcn.00420e00
add esp, 4
lea ecx, [ebp - 0x5c]
push esi
call fcn.0041b9d0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 8
call fcn.0041ddd0
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.00420dc0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x417ce8
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417cde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417d7c
push edx
push ecx
call fcn.004ba5b1
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 8
jb 0x417d30
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417d26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417d81
push edx
push ecx
call fcn.004ba5b1
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
test edi, edi
je 0x417d4f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ba87e
mov esp, ebp
pop ebp
ret
call fcn.004c0839
call fcn.004c0839
call fcn.004c0839
call fcn.004c0839
call fcn.004c0839
int3