Function at 0x4281c0
Capabilities:
Delete file
Encode data using xor
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bdc26
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x634274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x484], edi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00486960
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00486960
add esp, 0x18
mov dword [ebp - 0x424], 7
xor eax, eax
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x438]
mov word [ebp - 0x438], ax
push eax
push 0x625f30
call fcn.00402510
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x625f30
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x43c], 7
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
call fcn.00402510
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x625f30
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x454], 7
mov dword [ebp - 0x458], 0
mov word [ebp - 0x468], ax
call fcn.00402510
mov byte [ebp - 4], 2
call fcn.0046068d
test al, al
je 0x4282d7
lea esp, [edi]
sub bh, byte [ecx + 0x5372ae0f]
xor dword [ebx + 0x68], ecx
daa
xchg ebx, eax
cmp byte [ebp + 0x4b], 0xc9
out dx, eax
in al, 0x93
test eax, ebp
popal
jg 0x4282de
call fcn.0046023d
test al, al
add byte [eax + eax*8 + 0x6c9f1974], al
je 0x4282f9
lahf
insb byte es:[edi], dx
sub bl, byte [esi]
xor dword [ecx - 0x46308acc], ebx
cmc
mov ch, 0xfb
test eax, 0x6b3d0b6d
jo 0x4282db
xor byte [ebx + eax*8 - 0x4a], 0xdf
push 0
push 0x17
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42885d
push 0x5c7818
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push str._s_s_
push eax
call fcn.0040ad20
lea eax, [ebp - 0x218]
push eax
call int.00465b8e
add esp, 0x14
call fcn.00460351
add eax, dword [eax]
test al, al
je 0x42835c
jg 0x4282fd
dec byte es:[esi + edi + 0x49]
mov al, byte [0xa73ef89f]
stosb byte es:[edi], al
cmpsd dword [esi], dword es:[edi]
and al, 0xbb
loopne 0x428343
inc ecx
call fcn.004602c7
test al, al
je 0x428382
xchg dl, bh
insd dword es:[edi], dx
popal
push edi
invalid
cmp word [ebp - 0x218], 0
jne 0x428390
xor ecx, ecx
jmp 0x4283af
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4283a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.00402510
push 8
push 0x5c7818
lea ecx, [ebp - 0x438]
call fcn.00404190
push 4
push 0x5c8470
lea ecx, [ebp - 0x438]
call fcn.00404190
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x63fa20]
test eax, eax
jne 0x428439
push 0x158
call fcn.00455626
add esp, 4
mov dword [ebp - 0x488], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x42842e
mov ecx, eax
call fcn.00450f00
jmp 0x428430
xor eax, eax
mov byte [ebp - 4], 2
mov dword [0x63fa20], eax
mov ecx, eax
call fcn.004617b1
mov edx, eax
cmp word [edx], 0
jne 0x42844c
xor ecx, ecx
jmp 0x428460
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428451
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x450]
call fcn.00402510
push 0xc
push str.SWConfig.exe
lea ecx, [ebp - 0x450]
call fcn.00404190
cmp dword [ebp - 0x43c], 8
lea ecx, [ebp - 0x450]
push 0x625f30
cmovae ecx, dword [ebp - 0x450]
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
push 0
cmovae eax, dword [ebp - 0x438]
push 0
push 1
push 0
push ecx
push eax
mov ecx, edi
call fcn.00427b70
push 9
xor eax, eax
mov dword [ebp - 0x46c], 7
push str.SWUpd.exe
lea ecx, [ebp - 0x480]
mov dword [ebp - 0x470], 0
mov word [ebp - 0x480], ax
call fcn.00402510
mov byte [ebp - 4], 4
call fcn.004600e4
test al, al
je 0x428509
cvtps2pi mm2, qword [edi - 0x4f]
retf 0xc189
call fcn.004601b3
test al, al
je 0x428526
adc al, 0xe7
into
mov ah, 0xa0
lds ebp, [ebp + 0x64]
cmp cl, byte [eax - 0x66d7c798]
mov ecx, 0xf7b0b357
rol byte [ebx - 0x46f43], 1
inc dword [eax]
cmp dword [ebp - 0x470], 0
je 0x428641
call fcn.004601b3
test al, al
je 0x42854e
scasb al, byte es:[edi]
ror byte [edx - 0x14e9f432], 0x7d
in al, dx
pop esp
in al, dx
dec ebp
cmp eax, 0x88867833
xchg edi, eax
cmp word [ebp - 0x218], 0
jne 0x42855c
xor ecx, ecx
jmp 0x428574
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428565
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.00402510
push 8
push 0x5c847c
lea ecx, [ebp - 0x438]
call fcn.00404190
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00409250
mov ecx, eax
call fcn.004617b1
mov edx, eax
cmp word [edx], 0
jne 0x4285cc
xor ecx, ecx
jmp 0x4285e0
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4285d1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x450]
call fcn.00402510
push 9
push str.SWUpd.exe
lea ecx, [ebp - 0x450]
call fcn.00404190
cmp dword [ebp - 0x43c], 8
lea ecx, [ebp - 0x450]
push 0x625f30
cmovae ecx, dword [ebp - 0x450]
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
push 0
cmovae eax, dword [ebp - 0x438]
push 0
push 1
push 0
push ecx
mov ecx, dword [ebp - 0x484]
push eax
call fcn.00427b70
call fcn.004601f8
test al, al
je 0x42865e
jecxz 0x428652
mov esi, 0x94061a30
invalid
jbe 0x428606
scasd eax, dword es:[edi]
shl dword [esi - 0xdd0ef28], 0x4b
mov ah, 0xb3
call fcn.004607a1
test al, al
je 0x428677
lcall 0x31af, 0x6f716a85
adc dword [ecx + 0x66], ebp
int3
cmp word [ebp - 0x218], 0
jne 0x428685
xor ecx, ecx
jmp 0x42869f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428690
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.00402510
push 6
push 0x5c8490
lea ecx, [ebp - 0x438]
call fcn.00404190
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x63fa20]
test eax, eax
jne 0x428717
push 0x158
call fcn.00455626
add esp, 4
mov dword [ebp - 0x488], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x42870c
mov ecx, eax
call fcn.00450f00
jmp 0x42870e
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x63fa20], eax
mov ecx, eax
call fcn.004617b1
mov edx, eax
cmp word [edx], 0
jne 0x42872a
xor ecx, ecx
jmp 0x42873f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428730
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x450]
call fcn.00402510
call fcn.00460420
test al, al
je 0x428765
int3
call fcn.004603db
test al, al
je 0x428785
salc
inc edi
adc dword [eax + eax*4 - 0x6b878339], ebx
invalid
push 0xc
push 0x5c833c
lea ecx, [ebp - 0x450]
call fcn.00404190
cmp dword [ebp - 0x43c], 8
lea ecx, [ebp - 0x450]
push 0x625f30
cmovae ecx, dword [ebp - 0x450]
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
push 0
cmovae eax, dword [ebp - 0x438]
push 0
push 1
push 0
push ecx
mov ecx, dword [ebp - 0x484]
push eax
call fcn.00427b70
call fcn.00460648
test al, al
je 0x428800
aaa
invalid
call fcn.00460603
test al, al
jge 0x428807
add byte [eax + eax*8 - 0x1dc6ef8c], al
je 0x428819
cmp edx, esp
add eax, 0x79b4086b
push 0xa1965430
sub byte [ecx + 9], al
jne 0x428802
call fcn.004606d2
mov ah, 0x7e
add eax, dword [eax]
test al, al
je 0x42883f
sahf
add al, 0xe7
dec esp
mov dword [ebx + 0x6c], edx
pop ss
iretd
mov eax, dword [ebp - 0x46c]
cmp eax, 8
jb 0x42885d
inc eax
lea ecx, [ebp - 0x480]
push eax
push dword [ebp - 0x480]
call fcn.00402610
mov eax, dword [ebp - 0x454]
cmp eax, 8
jb 0x42887b
inc eax
lea ecx, [ebp - 0x468]
push eax
push dword [ebp - 0x468]
call fcn.00402610
xor eax, eax
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x458], 0
cmp eax, 8
jb 0x4288b6
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.00402610
xor eax, eax
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x440], 0
cmp eax, 8
jb 0x4288f1
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00402610
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455afe
mov esp, ebp
pop ebp
ret