Function at 0x1100c180
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x11064c1c]
xor eax, ebp
mov dword [ebp - 4], eax
push str.Msi.dll
mov dword [ebp - 0x420], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x1100c1c7
mov eax, 0x643
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110278cd
mov esp, ebp
pop ebp
ret 4
push esi
push str.MsiGetPropertyW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x1100c1f0
mov eax, 0x643
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110278cd
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x420]
push eax
push 0x11053f40
push 0x11053fac
push ebx
call esi
cmp eax, 6
je 0x1100c41e
cmp eax, 0x57
je 0x1100c41e
mov eax, dword [ebp - 0x420]
inc eax
xor ecx, ecx
mov dword [ebp - 0x420], eax
mov edx, 2
mul edx
seto cl
push edi
neg ecx
or ecx, eax
push ecx
call fcn.1101d040
add esp, 4
mov edi, eax
lea eax, [ebp - 0x420]
push eax
push edi
push 0x11053fac
push ebx
call esi
push 0x11053fa8
push edi
call fcn.11029160
add esp, 8
test eax, eax
je 0x1100c280
push 0x11053fa8
push 0
call fcn.11029160
mov esi, eax
add esp, 8
mov dword [ebp - 0x428], esi
test esi, esi
jne 0x1100c298
pop edi
pop ebx
mov eax, 0x643
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110278cd
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x210]
sub edx, esi
mov dword [ebp - 0x424], edx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1100c2a6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea esi, [ebp - 0x41c]
mov eax, edi
sub esi, edi
jmp 0x1100c2d0
movzx ecx, word [eax]
mov word [esi + eax], cx
add eax, 2
test cx, cx
jne 0x1100c2d0
lea eax, [ebp - 0x210]
add eax, 0xfffffffe
jmp 0x1100c2f0
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x1100c2f0
mov edx, dword [str.nsm.lic]
mov ebx, dword [0x11053f9c]
mov ecx, dword [0x11053fa0]
mov dword [eax], edx
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [0x11053fa4]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x41c]
add eax, 0xfffffffe
jmp 0x1100c330
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x1100c330
mov ecx, dword [0x11053fa4]
mov dword [eax], edx
mov edx, dword [0x11053fa0]
mov dword [eax + 4], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [eax + 8], edx
push 0
lea edx, [ebp - 0x210]
mov dword [eax + 0xc], ecx
push edx
lea eax, [ebp - 0x41c]
push eax
call ebx
mov eax, edi
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [esi + eax], cx
add eax, 2
test cx, cx
jne 0x1100c370
lea edi, [ebp - 0x41c]
add edi, 0xfffffffe
jmp 0x1100c390
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1100c390
mov eax, dword [ebp - 0x428]
mov ecx, 6
mov esi, str.client32.ini
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x424]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1100c3b0
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
mov edi, edi
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1100c3d0
mov ecx, 6
mov esi, str.client32.ini
rep movsd dword es:[edi], dword [esi]
push 0
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x41c]
push ecx
movsw word es:[edi], word [esi]
call ebx
mov edx, dword [ebp - 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.110278cd
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop ebx
xor ecx, ebp
mov eax, 0x643
pop esi
call fcn.110278cd
mov esp, ebp
pop ebp
ret 4