Function at 0x41fbed
Capabilities:
Create directory
Move file

Disassembly:
push ebp
sub esp, 0x230
lea ebp, [esp - 4]
mov eax, dword [0x4d4268]
xor eax, ebp
mov dword [ebp + 0x230], eax
push 0x48
mov eax, 0x4a8fd3
call fcn.0047276e
mov esi, ecx
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x50], esi
call fcn.0040d4e4
xor edi, edi
push 0x4ab8dc
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.0040dc4c
call fcn.0040e409
push eax
lea ecx, [ebp - 0x18]
call fcn.00414fa4
push edi
push dword [ebp - 0x18]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str._setup.sfz
lea ecx, [ebp - 0x18]
call fcn.0040dc4c
lea ecx, [ebp - 0x40]
call fcn.004209e7
push dword [esi + 0x14]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00420a22
push dword [esi + 0x18]
lea ecx, [ebp - 0x40]
call fcn.00420a1d
push dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
call fcn.00420958
push 2
lea ecx, [ebp - 0x34]
call fcn.00429a00
push 2
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00429a0f
cmp eax, edi
jne 0x41fcc0
mov ecx, dword [esi + 0xc]
cmp ecx, edi
je 0x41ff63
push edi
call fcn.00420c1d
jmp 0x41ff63
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x44], edi
cmp eax, ecx
jbe 0x41fcd2
sub eax, ecx
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x34]
call fcn.00429af3
cmp eax, edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x1c], edi
jle 0x41ff63
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
call fcn.00429bd7
push eax
call fcn.004257d6
add esp, 0xc
cmp eax, edi
jne 0x41ff63
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d4e4
lea eax, [ebp + 4]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040dc4c
push 0x5c
push 0x2f
lea ecx, [ebp - 0x10]
call fcn.0041684d
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0041f0ed
test byte [ebp + 0x20c], 0x10
je 0x41fd56
mov ebx, dword [ebp - 0x10]
push ebx
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea ecx, [ebx - 0x10]
jmp 0x41ff33
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040d4e4
push 0x5c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.0041e3ac
cmp eax, edi
jle 0x41fda3
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041675d
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00416918
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.0040c248
push dword [ebp - 0x20]
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040c248
mov dword [ebp - 0x28], edi
push edi
push edi
push 0x80
push 2
push edi
push 0x40000000
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.0041e03e
cmp dword [ebp - 0x28], edi
jne 0x41fee8
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x20
je 0x41fdf0
call ebx
cmp eax, 5
jne 0x41fee8
lea eax, [ebp + 4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00414fa4
push 0x5c
push 0x2f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.0041684d
lea ecx, [ebp - 0x2c]
call fcn.0041ecdd
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040d4e4
push 0x2e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.0041e3ac
cmp eax, edi
jle 0x41fe65
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041675d
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.00416918
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 9
call fcn.0040c248
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0041f0ed
push 0x4d7a78
lea ecx, [ebp - 0x38]
call fcn.0040cb1b
mov byte [ebp - 4], 0xb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x38]
push str..delete_d
push eax
call fcn.0040dc83
mov esi, dword [ebp - 0x38]
add esp, 0xc
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
push esi
call fcn.0040da20
mov ebx, dword [ebp - 0x14]
push 1
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push edi
push edi
push 0x80
push 2
push edi
push 0x40000000
push dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
call fcn.0041e03e
lea ecx, [esi - 0x10]
call fcn.0040c248
lea ecx, [ebx - 0x10]
call fcn.0040c248
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.0040c248
mov esi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x28]
push 1
push edi
push ebx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
call fcn.00429bd7
push eax
call fcn.004259d4
add esp, 0x14
cmp eax, edi
jne 0x41ff4d
mov ecx, dword [esi + 0xc]
cmp ecx, edi
je 0x41ff1a
push dword [ebp - 0x44]
push dword [esi + 4]
push edi
call fcn.00420c4b
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, edi
je 0x41ff2d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.0040c248
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x48]
jl 0x41fce8
jmp 0x41ff63
cmp ebx, edi
je 0x41ff58
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040c248
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00429bda
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00420a04
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040c248
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040c248
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x230]
xor ecx, ebp
call fcn.00472031
add ebp, 0x234
leave
ret