Function at 0x430f60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4586cb
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x46e3d8]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
push esi
push edi
mov eax, dword [0x46e3d8]
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 [0x470ce8]
test esi, esi
je 0x43118f
mov ecx, dword [0x470cec]
sub ecx, esi
mov eax, 0x7e07e07f
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x43118f
mov ecx, dword [esp + 0x10]
lea esi, [ecx + esi + 0x20]
mov edi, 8
cmp dword [esi + 0x18], edi
jb 0x431006
mov eax, dword [esi + 4]
jmp 0x431009
lea eax, [esi + 4]
push eax
lea edx, [esp + 0x240]
push 0x104
push edx
call fcn.0043f42c
add esp, 0xc
lea eax, [esp + 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [esi + 0x18], edi
jb 0x431037
mov eax, dword [esi + 4]
jmp 0x43103a
lea eax, [esi + 4]
push eax
push str.INF:__s
push 0x46fa40
xor eax, eax
call fcn.00431730
add esp, 0xc
cmp dword [esi + 0x18], edi
jb 0x431059
mov eax, dword [esi + 4]
jmp 0x43105c
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 0x431078
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x20]
call fcn.0042e230
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x431095
push eax
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
mov dword [esp + 0x20], 0xffffffff
mov ebx, 1
mov edi, 0x463cb8
jmp 0x4310b0
mov ecx, dword [esp + 0x1c]
test ecx, ebx
je 0x431168
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push 0x104
push eax
call fcn.0043f42c
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 [0x470ce8]
test eax, eax
je 0x431129
mov ecx, dword [0x470cec]
sub ecx, eax
mov eax, 0x7e07e07f
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x431129
cmp dword [esi + 0x18], 8
jb 0x431113
mov eax, dword [esi + 4]
jmp 0x431116
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 0x46fa40
xor eax, eax
call fcn.00431730
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.004273b0
add esp, 0xc
add ebx, ebx
add edi, 8
cmp ebx, 0x1000
jle 0x4310b0
add dword [esp + 0x14], 1
add dword [esp + 0x10], 0x104
mov edi, dword [esp + 0x14]
jmp 0x430fc0
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x43119f
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.0043d02a
mov esp, ebp
pop ebp
ret 4