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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42c3ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x330
mov eax, dword [0x43a180]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov dword [esp + 0x32c], eax
mov eax, ecx
imul eax, eax, 0x1c
add eax, edx
mov edx, dword [eax + 8]
test edx, edx
push esi
push edi
jne 0x404a4a
add eax, 0x18
push eax
add ebx, 0x1c
push ebx
lea eax, [esp + 0x14]
push eax
call fcn.00403e90
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x404d34
push 1
push ecx
mov ecx, ebx
call fcn.00404490
test eax, eax
je 0x404d43
call fcn.0041f2f3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x344], 0
call fcn.0041f2f3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
xor eax, eax
mov byte [esp + 0x120], 0
mov ecx, 0x40
lea edi, [esp + 0x121]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
push 2
lea eax, [esp + 0x128]
push eax
push 0
mov byte [esp + 0x354], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x404b4f
lea edi, [esp + 0x120]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404ad4
mov ecx, dword [0x42e358]
mov edx, dword [0x42e35c]
mov eax, dword [0x42e360]
mov dword [edi], ecx
mov ecx, dword [0x42e364]
mov dword [edi + 4], edx
mov dl, byte [0x42e368]
mov dword [edi + 8], eax
lea eax, [esp + 0x120]
push eax
mov dword [edi + 0xc], ecx
lea ecx, [esp + 0x14]
push 0x42e344
push ecx
mov byte [edi + 0x10], dl
call fcn.00403e70
mov edx, dword [ebx + 0x1c]
push edx
lea eax, [esp + 0x1c]
push str._swnwbwnwb.exe
push eax
call fcn.00403e70
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esp, 0x18
push 0
push 0
push 1
push 0
push esi
push ecx
push 1
mov ecx, ebx
call fcn.00402aa0
mov byte [esp + 0x228], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x229]
rep stosd dword es:[edi], eax
push 0
push 0x10
lea edx, [esp + 0x230]
stosw word es:[edi], ax
push edx
push 0
stosb byte es:[edi], al
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x404c16
lea eax, [esp + 0x228]
push eax
lea ecx, [esp + 0x14]
push 0x42e334
push ecx
call fcn.00403e70
mov edx, dword [ebx + 0x1c]
lea edi, [ebx + 0x1c]
push edx
lea eax, [esp + 0x1c]
push str._swnwbwnwb.exe
push eax
call fcn.00403e70
add esp, 0x18
push str.wnwb
push edi
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403f40
mov eax, dword [eax]
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push eax
push 0x657
push 1
push 0x42e314
push esi
push edx
push 1
mov ecx, ebx
mov byte [esp + 0x360], 2
call fcn.00402aa0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x344], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov byte [esp + 0x18], 0
mov ecx, 0x40
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
push 0x1a
lea eax, [esp + 0x20]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x404cf3
lea edi, [esp + 0x18]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404c50
mov ecx, 0xa
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push 0x42e334
push edx
movsw word es:[edi], word [esi]
call fcn.00403e70
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push str._swnwbwnwb.exe
push ecx
call fcn.00403e70
add esp, 0x18
push str.wnwb
push esi
lea edx, [esp + 0x1c]
push edx
call fcn.00403f40
mov eax, dword [eax]
mov esi, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
push 0x657
push 1
push 0x42e314
push esi
push eax
push 1
mov ecx, ebx
mov byte [esp + 0x360], 3
call fcn.00402aa0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x344], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404cf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 0xfffffff0
mov byte [esp + 0x344], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404d15
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x344], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404d3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x33c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x334]
call fcn.00411fce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4