Function at 0x41b170
Capabilities:
Delete file
Get common file path
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x440636
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x71c
push ebp
mov ebp, dword [esp + 0x734]
lea eax, [esp + 0x70]
push 1
push eax
push ebp
mov dword [esp + 0x2c], 0x464838
call fcn.004147f0
add esp, 0xc
test eax, eax
jne 0x41b1c5
pop ebp
mov ecx, dword [esp + 0x71c]
mov dword fs:[0], ecx
add esp, 0x728
ret
lea ecx, [esp + 0x34]
lea edx, [esp + 0x70]
push ecx
push edx
call fcn.0041d250
mov eax, dword [esp + 0x740]
add esp, 8
cmp eax, 1
jne 0x41b1eb
mov dword [esp + 0x20], 0x464804
push ebx
push esi
lea eax, [esp + 0xac]
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, 0x4647f8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xb0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
xor ebx, ebx
and ecx, 3
lea eax, [esp + 0xb0]
push ebx
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00423650
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x41b57e
lea ecx, [esp + 0x40]
push ebp
push ecx
push esi
call fcn.004236c0
push esi
call fcn.004236e0
lea edx, [esp + 0xc0]
push edx
call fcn.00414220
add esp, 0x14
cmp eax, 0x100000
jae 0x41b570
lea ecx, [esp + 0x30]
call fcn.0041a5e0
mov al, byte [esp + 0x37]
push 0x10
mov dword [esp + 0x738], ebx
mov byte [esp + 0x14], al
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0x73c]
lea ecx, [esp + 0x40]
push edi
push ecx
push 0x4647e4
lea edx, [esp + 0x1c0]
push 0x190
push edx
mov byte [esp + 0x748], 1
call dword [sym.imp.ntdll.dll__snprintf]
lea eax, [esp + 0x1c8]
add esp, 0x14
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
mov ecx, dword [eax + 4]
lea esi, [eax + 4]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0040cc90
mov dword [esi], eax
mov ecx, dword [eax + 4]
lea edx, [esp + 0x1c]
mov dword [ecx], eax
add eax, 8
push edx
push eax
call fcn.0041bd30
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 8
inc eax
mov dword [esp + 0x18], eax
push 0x4647bc
call esi
push ebp
call esi
mov edx, dword [esp + 0x2c]
push 3
push 0xa
lea eax, [esp + 0x34c]
push 0x3e8
lea ecx, [esp + 0x1c]
push eax
push ecx
push ebx
push edx
lea ecx, [esp + 0x4c]
call fcn.0041b010
test eax, eax
je 0x41b510
lea eax, [esp + 0x344]
push eax
call esi
lea ecx, [esp + 0x344]
push 0x4647b4
push ecx
call dword [sym.imp.ntdll.dll_strstr]
add esp, 8
cmp eax, ebx
je 0x41b517
cmp byte [eax + 7], 0x30
jne 0x41b517
push 0x4647a8
call esi
lea edx, [esp + 0x40]
push edx
call esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x24], ecx
je 0x41b3db
lea eax, [esp + 0x38]
push ebx
push eax
lea ecx, [esp + 0x2c]
call fcn.0043e4d0
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.0040d0c0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jne 0x41b3af
push ebp
call fcn.00414250
add esp, 4
lea ecx, [esp + 0x1b4]
push eax
push edi
push 0x464794
push ecx
call dword [sym.imp.ntdll.dll_sprintf]
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x40]
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], edx
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 0x464790
call fcn.0041b5a0
lea eax, [esp + 0x1b4]
mov dword [esp + 0x1c], 0x46478c
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
lea edi, [eax + 4]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0040cc90
mov dword [edi], eax
mov ecx, dword [eax + 4]
lea edx, [esp + 0x1c]
mov dword [ecx], eax
add eax, 8
push edx
push eax
call fcn.0041bd30
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add esp, 8
inc edi
mov dword [esp + 0x18], edi
lea edi, [eax + 4]
mov dword [esp + 0x1c], 0x464784
mov dword [esp + 0x20], ebp
mov ecx, dword [edi]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0040cc90
mov dword [edi], eax
mov ecx, dword [eax + 4]
lea edx, [esp + 0x1c]
mov dword [ecx], eax
add eax, 8
push edx
push eax
call fcn.0041bd30
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, 0x46477c
add esp, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
lea edx, [esp + 0x28]
push eax
inc ebp
push ecx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], ebp
call fcn.0041b5a0
push 3
push 0xa
lea eax, [esp + 0x34c]
push 0x3e8
mov byte [esp + 0x350], bl
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x20]
lea edx, [esp + 0xc0]
push ecx
push edx
push eax
lea ecx, [esp + 0x4c]
call fcn.0041b010
lea ecx, [esp + 0x344]
push ecx
jmp 0x41b515
push 0x464764
call esi
mov esi, dword [esp + 0x14]
mov byte [esp + 0x734], bl
mov eax, dword [esi]
cmp eax, esi
mov dword [esp + 0x24], eax
je 0x41b552
lea edx, [esp + 0x28]
push ebx
push edx
lea ecx, [esp + 0x2c]
call fcn.0043e4d0
mov eax, dword [eax]
lea ecx, [esp + 0x38]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0040d0c0
cmp dword [esp + 0x24], esi
jne 0x41b52c
mov edx, dword [esp + 0x14]
push edx
call fcn.0043fa08
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.0041a610
lea eax, [esp + 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x72c]
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x728
ret