Function at 0x433770
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466aae
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x4814f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0x475810
mov ecx, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x63c], ebx
mov dword [ebp - 0x640], 0
call fcn.0040fbe0
mov esi, 1
lea ecx, [ebp - 0x658]
mov dword [ebp - 4], 0
mov dword [ebp - 0x640], esi
call fcn.00424550
mov eax, dword [0x4842e4]
push 0x46e498
push 0x22b
push eax
lea ecx, [ebp - 0x658]
mov dword [ebp - 4], esi
call fcn.00424a80
test eax, eax
jne 0x433818
lea ecx, [ebp - 0x658]
mov byte [ebp - 4], 0
call fcn.00424a40
mov eax, ebx
jmp 0x433a22
xor ecx, ecx
push 0x208
push ecx
lea edx, [ebp - 0x21a]
push edx
mov word [ebp - 0x21c], cx
call fcn.00448540
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x46e480
lea ecx, [ebp - 0x21c]
push ecx
mov esi, eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test esi, esi
je 0x433802
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x634]
call fcn.0040fbe0
mov eax, dword [ebp - 0x634]
push eax
mov ebx, 2
push 0
mov byte [ebp - 4], bl
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea ecx, [ebp - 0x644]
push 0
push ecx
call fcn.00419340
add esp, 8
mov eax, dword [eax]
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x638]
call fcn.0040fbe0
mov eax, dword [ebp - 0x644]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4338d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
push 0x410
push ecx
lea edx, [ebp - 0x62e]
push edx
mov word [ebp - 0x630], cx
call fcn.00448540
mov eax, dword [ebp - 0x638]
mov ecx, dword [ebp - 0x634]
add esp, 0xc
push eax
push ecx
lea edx, [ebp - 0x630]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x630]
push ecx
lea ecx, [ebp - 0x658]
call fcn.00424c40
test eax, eax
jne 0x43399a
mov eax, dword [ebp - 0x638]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43395a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x634]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433980
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x658]
mov byte [ebp - 4], 0
call fcn.00424a40
mov eax, dword [ebp - 0x63c]
jmp 0x433a22
lea eax, [ebp - 0x630]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x4339a3
mov esi, dword [ebp - 0x63c]
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x630]
push ecx
mov ecx, esi
call fcn.0040f710
mov eax, dword [ebp - 0x638]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4339eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x634]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433a11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x658]
mov byte [ebp - 4], 0
call fcn.00424a40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447f52
mov esp, ebp
pop ebp
ret 4