Function at 0x402d70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1064
call fcn.004189d0
mov eax, dword [0x42603c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x7fe
xor ebx, ebx
lea ecx, [ebp - 0xf1e]
xor eax, eax
push ebx
push ecx
xor edi, edi
mov word [ebp - 0xf20], ax
call fcn.00413700
add esp, 0xc
push 0x3ff
lea edx, [ebp - 0x71f]
push ebx
push edx
mov byte [ebp - 0x720], bl
call fcn.00413700
add esp, 0xc
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.00413700
add esp, 0xc
push 0x103
lea ecx, [ebp - 0x217]
push ebx
push ecx
mov byte [ebp - 0x218], bl
call fcn.00413700
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0xf98a68
call fcn.00401ff0
lea eax, [ebp - 0x110]
push eax
push str.C:UsersPublicSMR7WM7installTemp
call fcn.00401ff0
mov esi, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
add esp, 0x10
push ebx
push str.C:UsersPublicSMR7WM7installTemp
push ebx
call esi
push ebx
push str.C:UsersPublicSMR7WM7installTemp
call fcn.0040fe09
add esp, 8
test eax, eax
je 0x402e73
push ebx
push str.C:UsersPublicSMR7WM7installTemp
push ebx
call esi
push eax
push str.C:UsersPublicSMR7WM7installTemp
lea ecx, [ebp - 0xf20]
push 0x41c990
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [ebp - 0xf20]
push edx
call fcn.00402950
add esp, 0x14
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00410150
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x402e98
lea esi, [ebp - 0x218]
mov byte [ebp - 0x320], bl
jmp 0x402ec3
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x320]
inc esi
call fcn.00401060
cmp eax, ebx
jl 0x403034
mov ecx, esi
lea edx, [ebp - 0x218]
sub ecx, edx
mov byte [ebp + ecx - 0x320], bl
lea eax, [ebp - 0x1060]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1064], eax
cmp eax, 0xffffffff
jne 0x402f35
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x720]
push 0x41c9f0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0xf20]
add esp, 0xc
push ecx
lea ebx, [ebp - 0x720]
call fcn.00402070
lea edx, [ebp - 0xf20]
add esp, 4
push edx
call fcn.00402950
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f51e
mov esp, ebp
pop ebp
ret
test byte [ebp - 0x1060], 0x10
jne 0x402f9e
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x720]
push 0x41ca14
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [ebp - 0xf20]
add esp, 0xc
push edx
lea ebx, [ebp - 0x720]
call fcn.00402070
add esp, 4
lea eax, [ebp - 0xf20]
push eax
call fcn.00402950
add esp, 4
mov edx, dword [ebp - 0x1064]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040f51e
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x320]
push edx
push esi
lea eax, [ebp - 0x720]
push 0x41ca3c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0xf20]
add esp, 0x14
push ecx
lea ebx, [ebp - 0x720]
call fcn.00402070
lea edx, [ebp - 0xf20]
add esp, 4
push edx
call fcn.00402950
lea eax, [ebp - 0x110]
add esp, 4
push eax
lea edx, [ebp - 0x320]
mov ecx, esi
call fcn.00403f90
add esp, 4
cmp eax, 1
jne 0x402f7e
push 0x41ca60
call fcn.00402950
add esp, 4
push esi
lea ecx, [ebp - 0x320]
lea esi, [ebp - 0x110]
call fcn.00402ba0
add esp, 4
mov edi, eax
push 0x41ca74
jmp 0x402f76
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x720]
push 0x41c9cc
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xf20]
add esp, 0xc
push eax
lea ebx, [ebp - 0x720]
call fcn.00402070
lea ecx, [ebp - 0xf20]
add esp, 4
push ecx
call fcn.00402950
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f51e
mov esp, ebp
pop ebp
ret