Function at 0x42a220
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45280b
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x4663e0]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
push esi
push edi
mov eax, dword [0x4663e0]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0xffffffff
xor edi, edi
mov dword [esp + 0x458], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
mov esi, dword [0x468c58]
test esi, esi
je 0x42a44f
mov ecx, dword [0x468c5c]
sub ecx, esi
mov eax, 0x7e07e07f
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x42a44f
mov ecx, dword [esp + 0x10]
lea esi, [ecx + esi + 0x20]
mov edi, 8
cmp dword [esi + 0x18], edi
jb 0x42a2c6
mov eax, dword [esi + 4]
jmp 0x42a2c9
lea eax, [esi + 4]
push eax
lea edx, [esp + 0x240]
push 0x104
push edx
call fcn.00439323
add esp, 0xc
lea eax, [esp + 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [esi + 0x18], edi
jb 0x42a2f7
mov eax, dword [esi + 4]
jmp 0x42a2fa
lea eax, [esi + 4]
push eax
push str.INF:__s
push 0x4676a0
xor eax, eax
call fcn.0042cad0
add esp, 0xc
cmp dword [esi + 0x18], edi
jb 0x42a319
mov eax, dword [esi + 4]
jmp 0x42a31c
lea eax, [esi + 4]
push 0
push 2
push 0
push eax
call dword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
je 0x42a338
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x20]
call fcn.004275e0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x42a355
push eax
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
mov dword [esp + 0x20], 0xffffffff
mov ebx, 1
mov edi, 0x45b938
jmp 0x42a370
mov ecx, dword [esp + 0x1c]
test ecx, ebx
je 0x42a428
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push 0x104
push eax
call fcn.00439323
mov ecx, dword [edi]
add esp, 0xc
push ecx
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [0x468c58]
test eax, eax
je 0x42a3e9
mov ecx, dword [0x468c5c]
sub ecx, eax
mov eax, 0x7e07e07f
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x42a3e9
cmp dword [esi + 0x18], 8
jb 0x42a3d3
mov eax, dword [esi + 4]
jmp 0x42a3d6
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x34]
push ecx
push str.__Copying_to_folder:__s
push 0x4676a0
xor eax, eax
call fcn.0042cad0
add esp, 0xc
push 0
lea edx, [esp + 0x38]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 1
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x244]
push ecx
call fcn.00426ab0
add esp, 0xc
add ebx, ebx
add edi, 8
cmp ebx, 0x1000
jle 0x42a370
add dword [esp + 0x14], 1
add dword [esp + 0x10], 0x104
mov edi, dword [esp + 0x14]
jmp 0x42a280
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x42a45f
push eax
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.0043782a
mov esp, ebp
pop ebp
ret 4