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

Disassembly:
push ebp
sub esp, 0x448
lea ebp, [esp - 4]
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x448], eax
push 0x80
mov eax, 0x4c582c
call fcn.0043e6f2
mov eax, dword [ebp + 0x458]
mov esi, dword [ebp + 0x454]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.00401380
xor ebx, ebx
mov edi, 0x206
push edi
lea eax, [ebp + 0x242]
push ebx
push eax
mov dword [ebp - 4], ebx
mov word [ebp + 0x240], bx
call fcn.0043db80
push edi
lea eax, [ebp + 0x3a]
push ebx
push eax
mov word [ebp + 0x38], bx
call fcn.0043db80
add esp, 0x18
lea eax, [ebp + 0x240]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x433557
push 0x4ca828
lea ecx, [ebp - 0x54]
call fcn.004015a0
push str.DownloadFlag
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004015a0
mov eax, dword [esi]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x38]
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 8]
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00401770
push ebx
push 1
lea ecx, [ebp - 0x54]
jmp 0x4336d6
lea eax, [ebp + 0x38]
push eax
push dword [ebp - 0x10]
call fcn.0041dc47
pop ecx
pop ecx
lea eax, [ebp + 0x240]
push eax
lea ecx, [ebp - 0x38]
call fcn.004015a0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.004015a0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00401420
push ebx
push 1
lea ecx, [ebp - 0x54]
movzx edi, al
call fcn.00401770
push ebx
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.00401770
cmp edi, ebx
jne 0x4335fe
push 0x4ca828
lea ecx, [ebp - 0x38]
call fcn.004015a0
push str.DownloadFlag
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.004015a0
mov eax, dword [esi]
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, esi
mov byte [ebp - 4], 6
call dword [eax + 8]
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.00401770
push ebx
push 1
lea ecx, [ebp - 0x38]
jmp 0x4336d6
push 0x4ca850
lea ecx, [ebp - 0x70]
call fcn.004015a0
push str.DownloadFlag
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 7
call fcn.004015a0
mov eax, dword [esi]
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 8
call dword [eax + 8]
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x8c]
call fcn.00401770
push ebx
push edi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.00401770
lea eax, [ebp + 0x240]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004015a0
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 9
call fcn.00403470
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00433042
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp]
push eax
call fcn.0041ec02
pop ecx
pop ecx
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 0xa
jae 0x43369a
lea eax, [ebp + 4]
cmp dword [esi + 0x34], 8
jb 0x4336a5
mov esi, dword [esi + 0x20]
jmp 0x4336a8
add esi, 0x20
push ebx
push ebx
push eax
push esi
call fcn.0040962b
mov eax, dword [ebp + 0x20]
add esp, 0x10
cmp dword [ebp + 0x34], 8
jae 0x4336c0
lea eax, [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push edi
lea ecx, [ebp]
call fcn.00401720
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.00401770
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401410
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x448]
xor ecx, ebp
call fcn.0043db65
add ebp, 0x44c
leave
ret 8