Function at 0x408199
Capabilities:
Create process on windows
Encode data using xor
Terminate process

Disassembly:
push 0xa0
mov eax, 0x439083
call fcn.004233a3
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x48], edi
cmp dword [edi + 4], 1
jne 0x408843
push 0x1c
pop eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 6
mov byte [ebp - 0x38], 0xe4
mov byte [ebp - 0x37], al
mov dword [ebp - 0x36], 0xe60d2029
mov word [ebp - 0x32], 0x24f0
mov byte [ebp - 0x30], 0xcc
mov word [ebp - 0x2f], bx
mov byte [ebp - 0x2d], bl
call fcn.00409353
push eax
lea ecx, [ebp - 0x28]
call fcn.004024cc
mov dword [ebp - 4], ebx
xor ecx, ecx
push ecx
push dword [eax]
lea ebx, [edi + 0x24]
mov ecx, ebx
call fcn.00402444
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040148d
cmp esi, 0xffffffff
je 0x4087d5
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x18], 0xf0220d3e
mov edx, esp
mov dword [ebp - 0x14], 0xcc24
mov dword [ebp - 0x2c], esp
call fcn.00409402
push eax
mov ecx, edx
call fcn.004024cc
mov dword [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push ebx
call fcn.00402582
mov byte [ebp - 4], 3
or dword [ebp - 4], 0xffffffff
call fcn.00406d4c
add esp, 4
mov dword [edi], eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x18], 0xf00f2335
mov edx, esp
mov dword [ebp - 0x14], 0xcc24
mov dword [ebp - 0x24], esp
call fcn.00409402
push eax
mov ecx, edx
call fcn.004024cc
mov dword [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
call fcn.00402582
mov byte [ebp - 4], 5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406bc9
pop ecx
pop ecx
mov dword [ebp - 4], 6
lea esi, [edi + 0x28]
push eax
mov ecx, esi
mov dword [ebp - 0x2c], esi
call fcn.00402868
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040148d
push 0x1c
pop eax
push ecx
mov byte [ebp - 0x36], al
lea ecx, [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x3c], 6
mov word [ebp - 0x38], 0x1736
mov edx, esp
mov dword [ebp - 0x35], 0xf00d1319
mov dword [ebp - 0x31], 0xcc24
mov byte [ebp - 0x2d], al
mov dword [ebp - 0x54], esp
call fcn.00409353
push eax
mov ecx, edx
call fcn.004024cc
mov dword [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.00402582
mov byte [ebp - 4], 9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406bc9
pop ecx
pop ecx
mov dword [ebp - 4], 0xa
lea ecx, [edi + 0x2c]
push eax
call fcn.00402868
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040148d
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x18], 0xd3e2a41
mov edx, esp
mov dword [ebp - 0x14], 0xcc24f022
mov dword [ebp - 0x4c], esp
call fcn.00405a40
push eax
mov ecx, edx
call fcn.004024cc
mov dword [ebp - 4], 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push ebx
call fcn.00402582
mov byte [ebp - 4], 0xd
or dword [ebp - 4], 0xffffffff
call fcn.00406d4c
pop ecx
pop ecx
mov ecx, dword [edi]
cmp ecx, dword [0x44ff60]
je 0x40844f
cmp eax, ecx
je 0x40846c
push dword [esi]
push 4
call fcn.0040191e
pop ecx
pop ecx
cmp eax, 6
je 0x40846c
push ecx
lea ecx, [ebp - 0x1c]
mov dword [edi + 0x1c], 1
mov dword [ebp - 0x1c], 5
mov edx, esp
mov dword [ebp - 0x18], 0x193c201d
mov dword [ebp - 0x14], 0xcc24f023
mov dword [ebp - 0x44], esp
call fcn.00405a40
push eax
mov ecx, edx
call fcn.004024cc
mov dword [ebp - 4], 0x1e
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push ebx
call fcn.00402582
mov byte [ebp - 4], 0x1f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406bc9
pop ecx
pop ecx
mov dword [ebp - 4], 0x20
mov ecx, esi
push eax
call fcn.00402868
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.0040148d
xor ebx, ebx
mov eax, dword [edi + 0x2c]
cmp dword [eax - 0xc], 0
je 0x40883d
push eax
push ebx
call fcn.0040191e
pop ecx
pop ecx
jmp 0x40883d
xor eax, eax
mov dword [ebp - 0x3c], 6
push ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x38], 0x112c203d
mov edx, esp
mov dword [ebp - 0x34], 0x24f00d1c
mov byte [ebp - 0x30], 0xcc
mov word [ebp - 0x2f], ax
mov byte [ebp - 0x2d], al
mov dword [ebp - 0x44], esp
call fcn.00409353
push eax
mov ecx, edx
call fcn.004024cc
mov dword [ebp - 4], 0xe
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push ebx
call fcn.00402582
mov byte [ebp - 4], 0xf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00406bc9
mov dword [ebp - 4], 0x10
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x11
add esp, 4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x50], esp
mov ecx, esp
lea edi, [ebp - 0x1c]
push eax
call fcn.00402582
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x11
mov ecx, edi
call fcn.004074b2
mov ebx, eax
mov dword [ebp - 0x40], ebx
pop ecx
test ebx, ebx
je 0x4086fc
xor ecx, ecx
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x48]
mov edx, ecx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebx + 0x3c]
add eax, 8
mov edi, dword [0x453744]
add eax, edx
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push eax
call fcn.00402582
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
add edx, 4
push ecx
add eax, edx
mov dword [ebp - 0x4c], esp
mov ecx, esp
push eax
call fcn.00402582
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0x11
mov edx, esi
mov ecx, edi
call fcn.004071c9
mov edx, dword [ebp - 0x20]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
push 0x1c
mov byte [edx + ecx], al
pop eax
add edx, eax
sub dword [ebp - 0x28], 1
mov dword [ebp - 0x20], edx
jne 0x408526
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x2c]
cmp byte [eax], 0
je 0x4086b7
xor edx, edx
mov edi, edx
test ebx, ebx
je 0x4088bf
push edi
lea ecx, [ebp - 0x1c]
call fcn.004093a3
cmp byte [eax], 0
je 0x4086a9
cmp byte [eax + 1], 0
je 0x4086a9
push ecx
lea ecx, [ebp - 0x20]
call fcn.0040155f
call fcn.004025b5
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x60]
push eax
call fcn.004088f7
mov ecx, eax
call fcn.00405a40
push eax
lea ecx, [ebp - 0x40]
call fcn.004024cc
mov esi, eax
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0xac]
push eax
call fcn.004088cb
mov ecx, eax
call fcn.00403789
push eax
lea ecx, [ebp - 0x2c]
call fcn.004024cc
mov byte [ebp - 4], 0x17
mov ecx, eax
push dword [esi]
call fcn.004025f2
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00402f5d
add esp, 0xc
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2c]
call fcn.00402299
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x40]
call fcn.00402299
lea eax, [ebp - 0x38]
push eax
call fcn.00408915
mov ecx, eax
call fcn.00404a30
push eax
lea ecx, [ebp - 0x28]
call fcn.004024cc
mov esi, eax
mov byte [ebp - 4], 0x18
xor ecx, ecx
push 5
push ecx
lea ecx, [ebp - 0x20]
call fcn.004025f2
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004093a3
lea ecx, [eax + 8]
call fcn.004025f2
push eax
mov ecx, esi
call fcn.004025f2
push eax
xor eax, eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x28]
call fcn.00402299
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x20]
call fcn.00402299
inc edi
cmp edi, ebx
jae 0x4088bd
jmp 0x4085a6
mov edi, dword [ebp - 0x48]
lea eax, [ebp - 0x90]
push eax
mov dword [edi + 0x1c], 3
call fcn.00408933
mov ecx, eax
call fcn.0040932b
push eax
lea ecx, [ebp - 0x2c]
call fcn.004024cc
mov byte [ebp - 4], 0x19
mov ecx, esi
push eax
call fcn.00402868
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.0040148d
xor ebx, ebx
jmp 0x40875c
mov edi, dword [ebp - 0x48]
lea eax, [ebp - 0x94]
push eax
mov dword [edi + 0x1c], 3
call fcn.00408990
mov ecx, eax
xor ebx, ebx
mov edx, ebx
mov eax, dword [ecx]
lea esi, [ecx + 4]
test eax, eax
je 0x408734
mov al, byte [edx + esi]
sub al, byte [ecx + 0x33]
xor al, byte [ecx + 0x32]
mov byte [edx + esi], al
inc edx
mov eax, dword [ecx]
cmp edx, eax
jb 0x408721
push esi
lea ecx, [ebp - 0x2c]
mov byte [eax + esi], bl
call fcn.004024cc
mov byte [ebp - 4], 0x1b
lea ecx, [edi + 0x28]
push eax
call fcn.00402868
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.0040148d
mov byte [ebp - 4], 0x10
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4087c1
mov ebx, dword [ebp - 0x18]
cmp esi, ebx
je 0x408781
mov ecx, esi
call fcn.0040770a
push 0x1c
pop eax
add esi, eax
cmp esi, ebx
jne 0x40876e
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
sub eax, esi
push 0x1c
cdq
pop ecx
idiv ecx
imul ecx, eax, 0x1c
mov eax, esi
cmp ecx, 0x1000
jb 0x4087ad
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4088c5
push ecx
push esi
call fcn.004231f8
xor ebx, ebx
pop ecx
pop ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.0040148d
jmp 0x408451
lea eax, [ebp - 0x98]
mov dword [edi + 4], 3
push eax
call fcn.004089f4
mov ecx, eax
xor ebx, ebx
mov edx, ebx
mov eax, dword [ecx]
lea esi, [ecx + 4]
test eax, eax
je 0x40880a
mov al, byte [edx + esi]
sub al, byte [ecx + 0x37]
xor al, byte [ecx + 0x36]
mov byte [edx + esi], al
inc edx
mov eax, dword [ecx]
cmp edx, eax
jb 0x4087f7
push esi
lea ecx, [ebp - 0x2c]
mov byte [esi + eax], bl
call fcn.004024cc
mov dword [ebp - 4], 0x22
push dword [edi + 4]
push dword [eax]
lea eax, [edi + 0x28]
push eax
call fcn.00402f5d
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.0040148d
cmp dword [edi + 4], 1
je 0x4088aa
mov eax, dword [0x45377c]
mov edx, dword [0x453778]
sub eax, edx
mov ecx, dword [0x453738]
sar eax, 2
dec eax
cmp ecx, eax
jae 0x4088aa
inc ecx
lea ebx, [edi + 0x20]
mov dword [0x453738], ecx
push dword [edx + ecx*4]
push dword [edx + ecx*4 - 4]
mov ecx, ebx
call fcn.00404b00
mov esi, dword [edi + 0x38]
xor eax, eax
push eax
push dword [edi + 8]
push dword [edi + 0x3c]
mov edi, dword [edi + 0x34]
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push ebx
call fcn.00402582
mov dword [ebp - 4], 0x24
or dword [ebp - 4], 0xffffffff
mov edx, esi
mov ecx, edi
call fcn.00407773
add esp, 0x10
jmp 0x4088b5
mov eax, dword [edi + 0x38]
test eax, eax
je 0x4088b5
push edi
call eax
pop ecx
call fcn.00423352
ret 4
xor edx, edx
push edx
call fcn.0042a14f
call fcn.00429a49
int3