Function at 0x433472
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, 0x4c57a5
call fcn.0043e6b2
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.004013b0
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.0043db40
push edi
lea eax, [ebp + 0x3a]
push ebx
push eax
mov word [ebp + 0x38], bx
call fcn.0043db40
add esp, 0x18
lea eax, [ebp + 0x240]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x433541
push 0x4ca828
lea ecx, [ebp - 0x54]
call fcn.004015d0
push str.DownloadFlag
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004015d0
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.004017a0
push ebx
push 1
lea ecx, [ebp - 0x54]
jmp 0x4336c0
lea eax, [ebp + 0x38]
push eax
push dword [ebp - 0x10]
call fcn.0041db5f
pop ecx
pop ecx
lea eax, [ebp + 0x240]
push eax
lea ecx, [ebp - 0x38]
call fcn.004015d0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.004015d0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00401450
push ebx
push 1
lea ecx, [ebp - 0x54]
movzx edi, al
call fcn.004017a0
push ebx
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.004017a0
cmp edi, ebx
jne 0x4335e8
push 0x4ca828
lea ecx, [ebp - 0x38]
call fcn.004015d0
push str.DownloadFlag
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.004015d0
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.004017a0
push ebx
push 1
lea ecx, [ebp - 0x38]
jmp 0x4336c0
push 0x4ca850
lea ecx, [ebp - 0x70]
call fcn.004015d0
push str.DownloadFlag
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 7
call fcn.004015d0
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.004017a0
push ebx
push edi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.004017a0
lea eax, [ebp + 0x240]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004015d0
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.0043302c
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp]
push eax
call fcn.0041ec8e
pop ecx
pop ecx
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 0xa
jae 0x433684
lea eax, [ebp + 4]
cmp dword [esi + 0x34], 8
jb 0x43368f
mov esi, dword [esi + 0x20]
jmp 0x433692
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 0x4336aa
lea eax, [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push edi
lea ecx, [ebp]
call fcn.00401750
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.004017a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401440
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.0043db25
add ebp, 0x44c
leave
ret 8