Function at 0x42d400
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45231b
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x4663d8]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
push esi
push edi
mov eax, dword [0x4663d8]
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 [0x468c18]
test esi, esi
je 0x42d62f
mov ecx, dword [0x468c1c]
sub ecx, esi
mov eax, 0x7e07e07f
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x42d62f
mov ecx, dword [esp + 0x10]
lea esi, [ecx + esi + 0x20]
mov edi, 8
cmp dword [esi + 0x18], edi
jb 0x42d4a6
mov eax, dword [esi + 4]
jmp 0x42d4a9
lea eax, [esi + 4]
push eax
lea edx, [esp + 0x240]
push 0x104
push edx
call fcn.0043a1a2
add esp, 0xc
lea eax, [esp + 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [esi + 0x18], edi
jb 0x42d4d7
mov eax, dword [esi + 4]
jmp 0x42d4da
lea eax, [esi + 4]
push eax
push str.INF:__s
push 0x4676b8
xor eax, eax
call fcn.0042dae0
add esp, 0xc
cmp dword [esi + 0x18], edi
jb 0x42d4f9
mov eax, dword [esi + 4]
jmp 0x42d4fc
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 0x42d518
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x20]
call fcn.0042a930
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x42d535
push eax
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
mov dword [esp + 0x20], 0xffffffff
mov ebx, 1
mov edi, 0x45c850
jmp 0x42d550
mov ecx, dword [esp + 0x1c]
test ecx, ebx
je 0x42d608
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push 0x104
push eax
call fcn.0043a1a2
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 [0x468c18]
test eax, eax
je 0x42d5c9
mov ecx, dword [0x468c1c]
sub ecx, eax
mov eax, 0x7e07e07f
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x42d5c9
cmp dword [esi + 0x18], 8
jb 0x42d5b3
mov eax, dword [esi + 4]
jmp 0x42d5b6
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 0x4676b8
xor eax, eax
call fcn.0042dae0
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.00425060
add esp, 0xc
add ebx, ebx
add edi, 8
cmp ebx, 0x400
jle 0x42d550
add dword [esp + 0x14], 1
add dword [esp + 0x10], 0x104
mov edi, dword [esp + 0x14]
jmp 0x42d460
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x42d63f
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.00437ffa
mov esp, ebp
pop ebp
ret 4