Function at 0x41ad20
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4be258
mov eax, dword fs:[0]
push eax
sub esp, 0x3c0
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x3b8], eax
push ebx
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x3d0]
mov dword fs:[0], eax
cmp dword [0x4fd600], 0
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
je 0x41adbe
push str.Local_sgim_evt_reinstall
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [0x4fd600]
push 0
push 1
push 0x800c
push edx
mov esi, eax
call dword [sym.imp.USER32.dll_PostMessageW]
test esi, esi
je 0x41adbe
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.00421350
mov eax, dword [0x4f9f84]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3d8], 0
mov edi, dword [esp + 0x28]
mov eax, dword [edi]
mov ecx, 0x4d6464
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41ae09
test dx, dx
je 0x41ae05
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41ae09
add eax, 4
add ecx, 4
test dx, dx
jne 0x41ade3
xor eax, eax
jmp 0x41ae0e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41ae2f
push 0x4dd0a8
push 0x4dd0a8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea esi, [esp + 0x20]
call fcn.00403650
jmp 0x41ae38
lea eax, [esp + 0x1c]
call fcn.0040a460
mov esi, dword [esp + 0x48]
push esi
lea edi, [esp + 0x1c]
call fcn.00414140
mov byte [esp + 0x3d8], 1
mov ecx, dword [esp + 0x18]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x30]
call fcn.00420340
mov eax, str.http:__ime.sogou.com_pyup.gif_
mov byte [esp + 0x3d8], 2
mov edx, dword [0x4f9f84]
shr eax, 0x10
mov dword [esp + 0x14], edx
test eax, eax
jne 0x41aea2
mov ecx, str.http:__ime.sogou.com_pyup.gif_
movzx eax, cx
push eax
lea ecx, [esp + 0x18]
call fcn.004037f0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x41aeda
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.http:__ime.sogou.com_pyup.gif_
call edi
mov esi, eax
test esi, esi
je 0x41aeda
mov ecx, esi
lea edx, [esp + 0x14]
call fcn.004034c0
test eax, eax
je 0x41aeda
mov eax, dword [esp + 0x14]
lea edx, [esi + esi]
push edx
push str.http:__ime.sogou.com_pyup.gif_
push eax
call fcn.0049c670
add esp, 0xc
lea ecx, [esp + 0x30]
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x1c6]
mov byte [esp + 0x3e0], 4
push edx
mov word [esp + 0x1c8], cx
call fcn.0049ca10
lea eax, [esp + 0x1c8]
add esp, 0xc
push eax
mov ecx, 0x104
call fcn.00405180
add esp, 4
lea ecx, [esp + 0x1bc]
push ecx
call edi
test eax, eax
je 0x41af60
mov esi, eax
lea edx, [esp + 0x1bc]
lea eax, [esp + 0x14]
call fcn.00403750
mov ebx, dword [ebp + 0x18]
test ebx, ebx
jne 0x41af6f
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call fcn.0044c840
push 0x38
lea edx, [esp + 0x54]
push 0
push edx
mov esi, eax
call fcn.0049ca10
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x4c], 0x3c
mov dword [esp + 0x50], 0x40
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
cmp dword [esi + 0xc], ecx
jne 0x41afbc
mov dword [esp + 0x64], ecx
jmp 0x41afd3
cmp byte [esi + 0x124], cl
je 0x41afc9
add esi, 0x14
jmp 0x41afcc
mov esi, dword [esi + 0x10]
add esi, 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x94]
mov dword [esp + 0x68], ebx
mov esi, eax
call fcn.00448930
mov eax, esi
lea edx, [esp + 0x94]
call fcn.00448b50
mov byte [esp + 0x3d8], 6
cmp byte [esp + 0x1b0], 0
lea eax, [esp + 0xa0]
jne 0x41b017
mov eax, dword [esp + 0x9c]
lea ecx, [eax + 4]
call fcn.00451410
mov esi, eax
test esi, esi
je 0x41b1e4
mov eax, dword [0x4fd600]
test eax, eax
je 0x41b042
push 0
push 0
push 0x800d
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [0x4f9f84]
mov dword [esp + 0x28], eax
push esi
push str.verifyerr_d
lea edx, [esp + 0x30]
mov byte [esp + 0x3e0], 7
call fcn.00407a00
mov edi, dword [esp + 0x30]
mov esi, dword [edi - 8]
add esp, 8
test esi, esi
je 0x41b07b
mov edx, edi
lea eax, [esp + 0x14]
call fcn.00403750
mov ecx, dword [esp + 0x24]
call fcn.00447720
push 0x4dd0cc
push 0x4d65ac
mov edx, eax
call fcn.00448ff0
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [edi - 0xc]
add esp, 8
cmp ecx, 0x4f9f74
je 0x41b0bc
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x41b0bc
push esi
call fcn.00498b08
add esp, 4
cmp byte [esp + 0x1b0], 0
mov dword [esp + 0x94], vtable.t_str.0
jne 0x41b0ec
mov eax, dword [esp + 0x9c]
lea edx, [esp + 0xa0]
cmp eax, edx
je 0x41b0ec
push eax
call fcn.00498f5b
add esp, 4
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x3dc], 3
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004204e0
mov eax, dword [esp + 0x14]
lea edx, [eax - 0xc]
cmp edx, 0x4f9f74
je 0x41b130
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x41b130
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00498b08
add esp, 4
mov esi, dword [esp + 0x44]
test esi, esi
je 0x41b145
call fcn.00420ac0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x30]
lea ecx, [eax - 0xc]
cmp ecx, 0x4f9f74
je 0x41b16e
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x41b16e
mov edx, dword [esp + 0x30]
add edx, 0xfffffff4
push edx
call fcn.00498b08
add esp, 4
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x4f9f74
je 0x41b197
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x41b197
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00498b08
add esp, 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
cmp eax, 0x4f9f74
je 0x41b1bc
mov esi, dword [esp + 0x1c]
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x41b1bc
push esi
call fcn.00498b08
add esp, 4
xor al, al
mov ecx, dword [esp + 0x3d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3b8]
xor ecx, esp
call fcn.00497c58
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x4c]
push ecx
push esi
lea ecx, [esp + 0x9c]
call fcn.004470d0
test al, al
jne 0x41b205
mov ecx, esi
call fcn.00447770
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x41b365
push str.np1
call edi
test eax, eax
je 0x41b233
mov esi, eax
mov edx, str.np1
lea eax, [esp + 0x14]
call fcn.00403750
mov esi, dword [esp + 0x24]
mov eax, dword [0x4fd600]
test eax, eax
je 0x41b24c
push 0
push 0
push 0x800d
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, esi
call fcn.00447720
push 0x4dd0ec
push 0x4d65ac
mov edx, eax
call fcn.00448ff0
add esp, 8
cmp byte [esp + 0x1b0], 0
mov dword [esp + 0x94], vtable.t_str.0
jne 0x41b297
mov eax, dword [esp + 0x9c]
lea edx, [esp + 0xa0]
cmp eax, edx
je 0x41b297
push eax
call fcn.00498f5b
add esp, 4
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x3dc], 3
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004204e0
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, 0x4f9f74
je 0x41b2e1
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41b2e1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00498b08
add esp, 4
mov esi, dword [esp + 0x44]
test esi, esi
je 0x41b2f6
call fcn.00420ac0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x30]
lea ecx, [eax - 0xc]
cmp ecx, 0x4f9f74
je 0x41b31f
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41b31f
mov edx, dword [esp + 0x30]
add edx, 0xfffffff4
push edx
call fcn.00498b08
add esp, 4
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x4f9f74
je 0x41b348
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41b348
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00498b08
add esp, 4
mov esi, dword [esp + 0x1c]
lea eax, [esi - 0xc]
cmp eax, 0x4f9f74
je 0x41b1bc
add esi, 0xfffffff4
push esi
call edi
jmp 0x41b1af
push 0x493e0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41b4a0
mov ecx, dword [esp + 0x84]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.instout1
call edi
test eax, eax
je 0x41b3a9
mov esi, eax
mov edx, str.instout1
lea eax, [esp + 0x14]
call fcn.00403750
mov esi, dword [esp + 0x24]
mov eax, dword [0x4fd600]
test eax, eax
je 0x41b3c2
push 0
push 0
push 0x800d
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, esi
call fcn.00447720
push 0x4dd114
push 0x4d65ac
mov edx, eax
call fcn.00448ff0
add esp, 8
cmp byte [esp + 0x1b0], 0
mov dword [esp + 0x94], vtable.t_str.0
jne 0x41b40d
mov eax, dword [esp + 0x9c]
lea edx, [esp + 0xa0]
cmp eax, edx
je 0x41b40d
push eax
call fcn.00498f5b
add esp, 4
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x3dc], 3
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004204e0
mov eax, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, 0x4f9f74
je 0x41b457
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x41b457
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00498b08
add esp, 4
lea edi, [esp + 0x30]
call fcn.00415770
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x4f9f74
je 0x41b489
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x41b489
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00498b08
add esp, 4
mov esi, dword [esp + 0x1c]
lea eax, [esi - 0xc]
cmp eax, 0x4f9f74
je 0x41b1bc
jmp 0x41b1a9
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov dword [esp + 0x34], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41b4d6
cmp dword [esp + 0x2c], 0
jne 0x41b4d6
mov eax, str.instok1
lea edi, [esp + 0x14]
call fcn.004037c0
jmp 0x41b4f1
push str.instok0
call edi
test eax, eax
je 0x41b4f1
mov esi, eax
mov edx, str.instok0
lea eax, [esp + 0x14]
call fcn.00403750
mov eax, dword [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp + 0x1c], 0
je 0x41b510
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x2c], 0
mov eax, dword [0x4fd600]
je 0x41b58e
test eax, eax
je 0x41b530
push 0
push 0
push 0x800d
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x24]
push 0x4dd14c
call fcn.004032e0
lea ecx, [esp + 0x94]
call fcn.004444f0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
mov byte [esp + 0x3dc], 3
mov ecx, dword [esp + 0x18]
push eax
call fcn.004204e0
lea esi, [esp + 0x14]
call fcn.004035c0
lea edi, [esp + 0x30]
call fcn.00415770
lea esi, [esp + 0x18]
call fcn.004035c0
lea esi, [esp + 0x1c]
call fcn.004035c0
jmp 0x41b1bc
test eax, eax
jne 0x41b5e4
lea ecx, [esp + 0x94]
call fcn.004444f0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
mov byte [esp + 0x3dc], 3
mov ecx, dword [esp + 0x18]
push edx
call fcn.004204e0
lea esi, [esp + 0x14]
call fcn.004035c0
lea edi, [esp + 0x30]
call fcn.00415770
lea esi, [esp + 0x18]
call fcn.004035c0
lea esi, [esp + 0x1c]
call fcn.004035c0
mov al, 1
jmp 0x41b1be
push 0
push 2
push 0x800c
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
call fcn.004998fb
int3