Function at 0x42c7d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4512cb
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x469738]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
push esi
push edi
mov eax, dword [0x469738]
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 ecx, dword [0x46a9b4]
mov esi, dword [0x46a9b0]
sub ecx, esi
mov eax, 0x76b981db
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x14], edi
je 0x42ca14
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x10]
lea edi, [edx + esi + 0x20]
mov esi, 8
cmp dword [edi + 0x14], esi
jb 0x42c86b
mov eax, dword [edi]
jmp 0x42c86d
mov eax, edi
push eax
lea eax, [esp + 0x240]
push 0x104
push eax
call fcn.0043a043
add esp, 0xc
lea ecx, [esp + 0x23c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [edi + 0x14], esi
jb 0x42c89a
mov eax, dword [edi]
jmp 0x42c89c
mov eax, edi
push eax
push str.INF:__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
cmp dword [edi + 0x14], esi
jb 0x42c8ba
mov eax, dword [edi]
jmp 0x42c8bc
mov eax, edi
push 0
push 2
push 0
push eax
call dword [sym.imp.SETUPAPI.dll_SetupOpenInfFileW]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x42c8d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x20]
call fcn.004299a0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x42c8f5
push eax
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
mov dword [esp + 0x20], 0xffffffff
mov ebx, 1
mov esi, 0x45cdc8
test ebx, ebx
jle 0x42c9cc
test dword [esp + 0x1c], ebx
je 0x42c9be
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push 0x104
push ecx
call fcn.0043a043
mov edx, dword [esi]
add esp, 0xc
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [0x46a9b4]
sub ecx, dword [0x46a9b0]
mov eax, 0x76b981db
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 1
jbe 0x42c97f
cmp dword [edi + 0x14], 8
jb 0x42c96a
mov eax, dword [edi]
jmp 0x42c96c
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x34]
push eax
push str.__Copying_to_folder:__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
push 0
lea ecx, [esp + 0x38]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 1
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x244]
push eax
call fcn.00424bf0
add esp, 0xc
add ebx, ebx
add esi, 8
cmp ebx, 0xffffffff
jbe 0x42c907
mov ecx, dword [0x46a9b4]
mov esi, dword [0x46a9b0]
mov edi, dword [esp + 0x14]
add dword [esp + 0x10], 0x114
sub ecx, esi
mov eax, 0x76b981db
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
inc edi
add ecx, edx
mov dword [esp + 0x14], edi
cmp edi, ecx
jb 0x42c855
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x42ca14
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.00438351
mov esp, ebp
pop ebp
ret 4