Function at 0x41cdc0
Capabilities:
Access peb ldr_data
Create directory
Enumerate files on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x457aad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x270
mov eax, dword [0x471df4]
push ebx
push ebp
mov ebx, ecx
xor edx, edx
push esi
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x288], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x290]
mov byte [esp + 0x288], 3
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 0xc]
mov esi, dword [eax + 4]
cmp ecx, edx
mov dword [esp + 0x30], ecx
jbe 0x41d05b
jmp 0x41ce32
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41cf97
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [esp + 0x18]
push eax
mov ebx, 1
xor ebp, ebp
call fcn.0044a4c1
push 0x46aeb8
lea ecx, [esp + 0x38]
call fcn.0044a442
push eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0x294], 4
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x28c], 5
call fcn.0044a4c1
lea ecx, [esp + 0x38]
mov byte [esp + 0x288], 4
call fcn.0044a3d4
lea ecx, [esp + 0x34]
mov byte [esp + 0x288], 3
call fcn.0044a3d4
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x41cf72
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x18]
call fcn.0044a511
lea ecx, [esp + 0x14]
call fcn.0044a88a
push str..CAB
lea ecx, [esp + 0x18]
call fcn.00449464
cmp eax, 0xffffffff
je 0x41cf31
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x28c], 6
call fcn.0044a4c1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x288], 3
call fcn.0044a3d4
mov ebp, 1
push 0x46ad80
lea ecx, [esp + 0x18]
call fcn.00449464
cmp eax, 0xffffffff
je 0x41cf46
xor ebx, ebx
test ebp, ebp
je 0x41cf4e
test ebx, ebx
jne 0x41cf63
lea edx, [esp + 0x3c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x41cf6b
jmp 0x41cecb
mov dword [esp + 0x10], 1
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jb 0x41ce2e
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
test eax, eax
je 0x41d05b
lea eax, [esp + 0x17c]
mov dword [esp + 0x10], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edi, [esp + 0x17c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov edx, ecx
mov esi, edi
mov edi, ebx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.UIU_CAB_EXTRACT
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, 0x46a404
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x41cb30
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
mov eax, dword [esp + 0x30]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetA]
test eax, eax
je 0x41d05b
mov ecx, dword [esp + 0x294]
push ebx
call fcn.0044a511
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
mov dword [ebx + 0x104], esi
mov byte [esp + 0x288], 2
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 1
call fcn.0044a3d4
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], 0
call fcn.0044a3d4
lea ecx, [esp + 0x24]
mov dword [esp + 0x288], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x280]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x27c
ret 8