Function at 0x41c060
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b4d3e
push eax
mov dword fs:[0], esp
sub esp, 0x270
push ebx
push ebp
push esi
mov ebx, ecx
push edi
push 0
mov eax, dword [ebx + 0x144]
push 0
push 0x188
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
call fcn.004a9596
mov ebp, dword [eax + 4]
test esi, esi
jl 0x41c409
test ebp, ebp
je 0x41c409
lea ecx, [esp + 0x28]
call fcn.0049095e
push esi
lea ecx, [ebx + 0x128]
mov dword [esp + 0x28c], 0
call fcn.004099b0
mov esi, eax
test esi, esi
je 0x41c3f5
mov eax, dword [esi + 0x20]
push 0x4dd750
push eax
call fcn.004780eb
add esp, 8
test eax, eax
jne 0x41c426
mov ecx, dword [0x4e641c]
mov dword [esp + 0x20], ecx
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x30]
lea edi, [esi + 0x1c]
push edx
push eax
lea ecx, [esp + 0x28]
push 0x4dc62c
push ecx
mov byte [esp + 0x298], 1
call fcn.0048ea3f
add esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push edi
call fcn.00491741
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x294], 2
call fcn.00491741
push ecx
lea eax, [esi + 0x34]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x298], 3
call fcn.00491741
push ecx
lea edi, [esi + 0x3c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
mov byte [esp + 0x29c], 4
call fcn.00491741
lea ecx, [esp + 0x34]
mov byte [esp + 0x298], 1
push ecx
mov ecx, ebp
call fcn.00416eb0
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x28c], 5
call fcn.00402df0
push ecx
mov byte [esp + 0x28c], 6
mov ecx, esp
mov dword [esp + 0x20], esp
push edi
call fcn.00491741
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x294], 7
call fcn.00491741
push ecx
lea eax, [esi + 0x10]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x298], 8
call fcn.00491741
push ecx
mov byte [esp + 0x298], 9
lea edx, [esi + 0x24]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00491741
lea ecx, [esp + 0x4c]
mov byte [esp + 0x298], 6
call fcn.00403160
lea ecx, [esp + 0x3c]
call fcn.00420739
cmp eax, 1
jne 0x41c34a
add ebx, 0x124
mov ecx, edi
push ebx
call fcn.00491b05
mov eax, dword [0x4e641c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esi]
lea edx, [esp + 0x1c]
push ecx
push str.dept_userdir
push str._s__d
push edx
mov byte [esp + 0x298], 0xa
call fcn.0048ea3f
mov edi, dword [edi]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebp]
add esp, 0x10
push edi
push ecx
push str.dept_section
mov ecx, ebp
call dword [eax + 0xa0]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x288], 6
call fcn.004919cc
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x288], 0x10
call fcn.00407560
lea ecx, [esp + 0x178]
mov byte [esp + 0x288], 0xf
call fcn.00405b40
lea ecx, [esp + 0x170]
mov byte [esp + 0x288], 0xe
call fcn.004919cc
lea ecx, [esp + 0x16c]
mov byte [esp + 0x288], 0xd
call fcn.004919cc
lea ecx, [esp + 0x168]
mov byte [esp + 0x288], 0xc
call fcn.004919cc
lea ecx, [esp + 0x164]
mov byte [esp + 0x288], 0xb
call fcn.004919cc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x288], 5
call fcn.00401690
lea ecx, [esp + 0x24]
mov byte [esp + 0x288], 1
call fcn.004919cc
lea ecx, [esp + 0x20]
mov byte [esp + 0x288], 0
call fcn.004919cc
lea ecx, [esp + 0x28]
mov dword [esp + 0x288], 0xffffffff
call fcn.00490991
mov eax, 1
jmp 0x41c40b
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x288], 0x16
call fcn.00407560
lea ecx, [esp + 0x178]
mov byte [esp + 0x288], 0x15
call fcn.00405b40
lea ecx, [esp + 0x170]
mov byte [esp + 0x288], 0x14
call fcn.004919cc
lea ecx, [esp + 0x16c]
mov byte [esp + 0x288], 0x13
call fcn.004919cc
lea ecx, [esp + 0x168]
mov byte [esp + 0x288], 0x12
call fcn.004919cc
lea ecx, [esp + 0x164]
mov byte [esp + 0x288], 0x11
call fcn.004919cc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x288], 5
call fcn.00401690
lea ecx, [esp + 0x24]
mov byte [esp + 0x288], 1
call fcn.004919cc
lea ecx, [esp + 0x20]
mov byte [esp + 0x288], 0
call fcn.004919cc
lea ecx, [esp + 0x28]
mov dword [esp + 0x288], 0xffffffff
call fcn.00490991
xor eax, eax
mov ecx, dword [esp + 0x280]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x27c
ret 4
mov edx, dword [0x4e641c]
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp + 0x168]
push eax
push ecx
lea edx, [esp + 0x18]
push str._sDownloadwtid__s.exe
push edx
mov byte [esp + 0x298], 0x1d
call fcn.0048ea3f
mov eax, dword [esp + 0x2a0]
add esp, 0x10
test eax, eax
je 0x41c46b
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esi + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00491741
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 0x1e
call fcn.0048ec27
lea ecx, [esp + 0x18]
call fcn.0048eb30
add esi, 0x18
lea ecx, [esp + 0x14]
push esi
call fcn.00491741
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], 0x1f
call fcn.0048ec27
lea ecx, [esp + 0x14]
call fcn.0048eb30
test ebx, ebx
je 0x41c4c0
mov ebx, dword [ebx + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
push ebx
mov ecx, ebp
call fcn.004149c0
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x288], 0x1e
call fcn.004919cc
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 0x1d
call fcn.004919cc
lea ecx, [esp + 0x10]
mov byte [esp + 0x288], 0
call fcn.004919cc
lea ecx, [esp + 0x28]
mov dword [esp + 0x288], 0xffffffff
call fcn.00490991
mov eax, esi
jmp 0x41c40b