Function at 0x42a240
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44f56b
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x462408]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
push esi
push edi
mov eax, dword [0x462408]
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 [0x464bb4]
test esi, esi
je 0x42a46f
mov ecx, dword [0x464bb8]
sub ecx, esi
mov eax, 0x7e07e07f
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x42a46f
mov ecx, dword [esp + 0x10]
lea esi, [ecx + esi + 0x20]
mov edi, 8
cmp dword [esi + 0x18], edi
jb 0x42a2e6
mov eax, dword [esi + 4]
jmp 0x42a2e9
lea eax, [esi + 4]
push eax
lea edx, [esp + 0x240]
push 0x104
push edx
call fcn.004367c7
add esp, 0xc
lea eax, [esp + 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [esi + 0x18], edi
jb 0x42a317
mov eax, dword [esi + 4]
jmp 0x42a31a
lea eax, [esi + 4]
push eax
push str.INF:__s
push 0x463650
xor eax, eax
call fcn.0042a920
add esp, 0xc
cmp dword [esi + 0x18], edi
jb 0x42a339
mov eax, dword [esi + 4]
jmp 0x42a33c
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 0x42a358
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x20]
call fcn.00428500
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x42a375
push eax
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
mov dword [esp + 0x20], 0xffffffff
mov ebx, 1
mov edi, 0x459040
jmp 0x42a390
mov ecx, dword [esp + 0x1c]
test ecx, ebx
je 0x42a448
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push 0x104
push eax
call fcn.004367c7
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 [0x464bb4]
test eax, eax
je 0x42a409
mov ecx, dword [0x464bb8]
sub ecx, eax
mov eax, 0x7e07e07f
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x42a409
cmp dword [esi + 0x18], 8
jb 0x42a3f3
mov eax, dword [esi + 4]
jmp 0x42a3f6
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 0x463650
xor eax, eax
call fcn.0042a920
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.00423400
add esp, 0xc
add ebx, ebx
add edi, 8
cmp ebx, 0x400
jle 0x42a390
add dword [esp + 0x14], 1
add dword [esp + 0x10], 0x104
mov edi, dword [esp + 0x14]
jmp 0x42a2a0
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x42a47f
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.00434b37
mov esp, ebp
pop ebp
ret 4