Function at 0x40208a
Capabilities:
Encode data using xor
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x495c61
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4bcad4]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x4bcad4]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
xor ebx, ebx
push str.XiconShell
lea ecx, [esp + 0x78]
mov byte [esp + 0x1c], bl
call fcn.00401205
lea eax, [esp + 0x74]
push ebx
push eax
mov dword [esp + 0xe0], ebx
call fcn.0040df00
or dword [esp + 0xe0], 0xffffffff
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0x7c]
call fcn.0040147e
mov esi, str.MainThread
push esi
push str.__s__Enter..
push 0x10
call fcn.0040204b
push eax
call fcn.0040d690
add esp, 0x10
mov eax, 0x4bdd00
mov ecx, 0x400
xor dword [eax], 0x4b743072
add eax, 4
dec ecx
jne 0x40212b
push dword [0x4bdd14]
mov edi, 0x4bdd4c
push dword [0x4bdd10]
push dword [0x4bdd20]
push edi
push 0x4bdd24
push dword [0x4bdd1c]
push dword [0x4bdd18]
push dword [0x4bdd0c]
push dword [0x4bdd08]
push dword [0x4bdd04]
push dword [0x4bdd00]
push esi
push str.__s__Param:_Aid__lld___Pid__lld___Channel__d___OpenType__d___Guid__s___Content__s___Position__d___urlOpenType__lld_
push 4
call fcn.0040204b
push eax
call fcn.0040d690
add esp, 0x3c
push edi
lea ecx, [esp + 0x5c]
call fcn.00401205
mov edi, str.http:__
push edi
mov dword [esp + 0xdc], 1
call fcn.00476fb0
pop ecx
push eax
push ebx
push edi
lea ecx, [esp + 0x64]
call fcn.004013f1
cmp eax, 0xffffffff
jne 0x402312
mov edi, str.https:__
push edi
call fcn.00476fb0
pop ecx
push eax
push ebx
push edi
lea ecx, [esp + 0x64]
call fcn.004013f1
cmp eax, 0xffffffff
jne 0x402312
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.00414f50
mov dword [esp + 0x24], eax
mov edi, str..exe
push edi
mov byte [esp + 0xe4], 0xa
call fcn.00476fb0
mov ecx, dword [esp + 0x28]
add esp, 0xc
push eax
push edi
push dword [ecx + 0x10]
push ebx
call fcn.004032de
neg eax
sbb al, al
push ebx
inc al
push 1
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1f], al
mov byte [esp + 0xe0], 1
call fcn.0040147e
cmp byte [esp + 0x17], bl
je 0x4024fa
mov eax, dword [esp + 0x58]
push 0x10
pop edi
cmp dword [esp + 0x6c], edi
jae 0x40225c
lea eax, [esp + 0x58]
push eax
push esi
push str.__s__PsCreate__s_
push edi
call fcn.0040204b
push eax
call fcn.0040d690
mov eax, dword [esp + 0x6c]
add esp, 0x14
cmp dword [esp + 0x6c], edi
jae 0x402280
lea eax, [esp + 0x58]
push 0x5c
push eax
call fcn.00477930
pop ecx
pop ecx
cmp eax, ebx
je 0x4022f9
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov byte [esp + 0xd8], 0xb
mov ecx, dword [esp + 0x58]
mov edx, ecx
cmp dword [esp + 0x6c], edi
jae 0x4022b6
lea edx, [esp + 0x58]
cmp dword [esp + 0x6c], 0x10
jae 0x4022c1
lea ecx, [esp + 0x58]
sub eax, edx
inc eax
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.00401602
cmp dword [esp + 0x50], 0x10
mov eax, dword [esp + 0x3c]
jae 0x4022de
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ebx
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0xe0], 1
call fcn.0040147e
push ebx
lea eax, [esp + 0x5c]
push 5
push eax
call fcn.00412660
add esp, 0xc
mov byte [esp + 0x18], al
jmp 0x4024fa
mov ecx, dword [0x4bdd10]
cmp dword [0x4bdd14], ebx
ja 0x402324
cmp ecx, ebx
jbe 0x40233d
lea eax, [esp + 0x58]
push eax
call fcn.00402603
pop ecx
test al, al
je 0x40233d
mov byte [esp + 0x18], 1
jmp 0x4024fa
push esi
push str.__s__Get_fail
push 0x20
call fcn.0040204b
push eax
call fcn.0040d690
add esp, 0x10
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
push str.http
lea ecx, [esp + 0x24]
mov byte [esp + 0xdc], 3
call fcn.00401205
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x94]
push eax
mov byte [esp + 0xe0], 4
call fcn.0040e8b0
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xdc], 5
call fcn.0040127b
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [esp + 0x98]
call fcn.0040147e
push ebx
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0xe0], 3
call fcn.0040147e
cmp dword [esp + 0x4c], ebx
je 0x40240f
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00412300
pop ecx
pop ecx
test al, al
je 0x402409
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x78]
je 0x402409
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x48]
call fcn.00401332
cmp dword [esp + 0x4c], ebx
jne 0x402445
lea eax, [esp + 0x90]
push eax
call fcn.0040e3b0
pop ecx
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xdc], 6
call fcn.0040127b
push ebx
push edi
lea ecx, [esp + 0x98]
mov byte [esp + 0xe0], 3
call fcn.0040147e
cmp dword [esp + 0x50], 0x10
mov eax, dword [esp + 0x3c]
jae 0x402454
lea eax, [esp + 0x3c]
push eax
push esi
push str.__s__Use_browser:__s
push 4
call fcn.0040204b
push eax
call fcn.0040d690
add esp, 0x14
push 0x4ad624
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.004033b6
add esp, 0xc
lea ecx, [esp + 0x58]
push ecx
push eax
lea eax, [esp + 0xb4]
push eax
mov byte [esp + 0xe4], 7
call fcn.00403391
add esp, 0xc
push ebx
push edi
lea ecx, [esp + 0x98]
mov byte [esp + 0xe0], 9
call fcn.0040147e
push ebx
lea eax, [esp + 0xb0]
push 5
push eax
call fcn.00412660
add esp, 0xc
push ebx
push edi
lea ecx, [esp + 0xb4]
mov byte [esp + 0x20], al
call fcn.0040147e
lea ecx, [esp + 0x74]
call fcn.00403340
push ebx
push edi
lea ecx, [esp + 0x44]
mov byte [esp + 0xe0], 1
call fcn.0040147e
push esi
push str.__s__ready_report
push 0x10
call fcn.0040204b
push eax
call fcn.0040d690
add esp, 0x10
call fcn.0040256b
test al, al
je 0x402523
push dword [esp + 0x18]
call fcn.0040293e
pop ecx
push esi
push str.__s__report_end
push 0x10
call fcn.0040204b
push eax
call fcn.0040d690
add esp, 0x10
push ebx
push 1
lea ecx, [esp + 0x60]
call fcn.0040147e
xor eax, eax
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004751f1
mov esp, ebp
pop ebp
ret