Function at 0x41d6d0
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x453500
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x468d80]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x468d80]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, ecx
lea ebp, [esi + 0x2c]
push ebp
call edi
xor ebx, ebx
push ebp
mov dword [esi + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebp
call edi
push ebp
mov dword [esi + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, str.POST
cmp byte [esi + 0xd], bl
jne 0x41d738
mov edx, 0x45963c
xor eax, eax
mov word [esp + 0x40], ax
mov eax, edx
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41d750
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.00408a00
mov dword [esp + 0x64], ebx
mov byte [esp + 0x14], bl
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [esi + 0x1c]
mov eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x20]
push ebp
jg 0x41d8c2
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, esi
call fcn.0041d1b0
xor edi, edi
jmp 0x41d7a0
cmp byte [esp + 0x14], bl
jne 0x41d910
mov ecx, esi
call fcn.0041d310
mov al, byte [esi + 0xf]
cmp byte [esi + 0xc], bl
mov byte [esp + 0x1c], al
mov ecx, dword [esp + 0x1c]
push ecx
mov byte [esp + 0x1c], al
mov edx, dword [esp + 0x1c]
sete al
movzx ecx, al
push edx
push ecx
mov ecx, dword [esi + 0x44]
lea edx, [esp + 0x48]
push edx
call fcn.0041cc30
inc edi
cmp edi, 0x64
mov byte [esp + 0x14], al
jl 0x41d7a0
cmp al, bl
jne 0x41d910
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x41d772
push 0xffffffffffffffff
xor ecx, ecx
add eax, 4
push ebx
mov word [esp + 0x2c], cx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
call fcn.00408900
mov ecx, dword [esi + 0x14]
mov byte [esp + 0x64], 1
call fcn.00418e10
push 0x46b3c8
push 0x30c
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x41d8a1
push 0x46adb0
push ebx
push 0x459644
push 0x46b3c8
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x41d8a1
push 0x46adb0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push 0x46adb0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x41d888
lea eax, [esp + 0x24]
push eax
push 0x46adb0
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [esi + 0x14]
push 0x46adb0
call fcn.00418ce0
cmp dword [esp + 0x38], 8
mov byte [esp + 0x64], bl
jb 0x41d772
mov edx, dword [esp + 0x24]
push edx
call fcn.0043e5e6
add esp, 4
jmp 0x41d772
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 0x44]
call fcn.00419ab0
push eax
mov eax, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.0041d440
cmp dword [esp + 0x54], 8
jb 0x41d8f1
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0043e5e6
add esp, 4
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0043eed8
add esp, 0x54
ret
mov ecx, dword [esi + 0x44]
call fcn.00419ac0
cmp eax, 0x12c
jl 0x41d8c8
mov ecx, dword [esi + 0x44]
call fcn.00419ac0
cmp eax, 0x1f4
jge 0x41d8c8
mov ecx, dword [esi + 0x44]
call fcn.00419ac0
push eax
push ebx
jmp 0x41d8d6