Function at 0x419380
Capabilities:
Create thread
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54693f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x57f0b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
push 0
push 0x563af1
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00405f10
mov dword [ebp - 4], 0
xorps xmm0, xmm0
xor edi, edi
movq qword [ebp - 0x28], xmm0
xor eax, eax
mov dword [ebp - 0x20], 0
xor ecx, ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
mov esi, dword [edx]
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x419741
nop word [eax + eax]
mov ecx, dword [eax + 0x10]
add eax, 0x18
mov dword [ebp - 0xa0], ecx
lea ecx, [ebp - 0x98]
push eax
call fcn.00404440
sub esp, 0x10
mov byte [ebp - 4], 2
lea eax, [ebp - 0x98]
mov ecx, esp
push eax
call fcn.00404440
mov ecx, dword [ebp - 0x44]
call fcn.00418c50
test eax, eax
je 0x419709
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x88]
call fcn.00404440
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push 3
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x56e448
mov byte [ecx], 0
call fcn.00405f10
lea ecx, [ebp - 0x88]
call fcn.00408b60
mov dl, byte [eax]
movzx ecx, dl
add ecx, 0xfffffffc
cmp ecx, 3
ja case.default.0x4194c1
jmp dword [ecx*4 + 0x419978]
add eax, 8
xor ecx, ecx
cmp dl, 6
cmovne eax, ecx
mov eax, dword [eax]
jmp 0x41950d
cmp dl, 5
je 0x4194e7
cmp dl, 6
je 0x4194e7
xor eax, eax
mov eax, dword [eax]
jmp 0x41950d
add eax, 8
mov eax, dword [eax]
jmp 0x41950d
add eax, 8
xor ecx, ecx
cmp dl, 7
cmovne eax, ecx
cvttsd2si eax, qword [eax]
jmp 0x41950d
add eax, 8
xor ecx, ecx
cmp dl, 4
cmovne eax, ecx
movzx eax, byte [eax]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x18
mov ecx, esp
push 4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.name
mov byte [ecx], 0
call fcn.00405f10
lea ecx, [ebp - 0x88]
call fcn.00408b60
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, eax
call fcn.00415ad0
mov edi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
push 1
push 0x563bb8
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
call fcn.00405f10
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
sub eax, ecx
mov edx, dword [edi + 0x10]
cmp edx, eax
jbe 0x4195bf
mov eax, dword [edi + 0x14]
sub eax, edx
cmp eax, ecx
jb 0x4195bf
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
push ecx
cmovae eax, dword [ebp - 0x68]
push eax
push ecx
mov ecx, edi
call fcn.00415d70
jmp 0x4195c8
push edi
lea ecx, [ebp - 0x68]
call fcn.004046f0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
movq qword [ebp - 0xa8], xmm0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x40]
call fcn.004046f0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xa4]
cmp edx, 0x10
jb 0x419641
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419637
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419920
push edx
push ecx
call fcn.005186d6
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x419679
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41966f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419920
push edx
push ecx
call fcn.005186d6
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp edx, 0x10
jb 0x4196c9
mov ecx, dword [ebp - 0xd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4196bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419920
push edx
push ecx
call fcn.005186d6
add esp, 8
mov ecx, dword [ebp - 0x24]
cmp dword [ebp - 0x4c], ecx
je 0x4196e1
mov eax, dword [ebp - 0xa0]
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0x24], ecx
jmp 0x4196f7
lea eax, [ebp - 0xa0]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00411c60
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x80]
push dword [ebp - 0x88]
call fcn.00404bc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x90]
push dword [ebp - 0x98]
call fcn.00404bc0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004067c0
mov eax, dword [ebp - 0x18]
cmp eax, esi
jne 0x419430
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edi
mov eax, ecx
mov dword [ebp - 0x70], 0
sub eax, edi
xor esi, esi
add eax, 3
shr eax, 2
cmp edi, ecx
mov ecx, edi
cmova eax, esi
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4197bc
mov eax, dword [ecx]
mov ecx, edx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0041a0d0
mov edi, dword [ebp - 0x80]
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 0x18], edi
cmp edi, esi
je 0x419793
lea ecx, [ebp - 0x18]
call fcn.004067c0
cmp dword [ebp - 0x18], esi
jne 0x419786
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x74]
push esi
push edi
push eax
call fcn.00419b50
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
inc eax
mov edx, dword [ebp - 0x44]
add ecx, 4
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x70], eax
cmp eax, dword [ebp - 0x1c]
jne 0x419765
mov edi, dword [ebp - 0x48]
cmp dword [ebp - 0x30], 0
je 0x419899
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x68]
call fcn.00404880
mov byte [ebp - 4], 0xa
cmp dword [0x5938f0], 0
jne 0x419805
push 0x10
call fcn.005186a6
mov esi, eax
add esp, 4
mov dword [ebp - 0x74], esi
mov byte [ebp - 4], 0xb
lea ecx, [esi + 8]
push 0
mov byte [esi], 0
call fcn.00405010
mov dword [0x5938f0], esi
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x58]
add eax, 2
mov dword [ebp - 0x1c], 0
push eax
call fcn.005186e4
mov ecx, dword [ebp - 0x58]
add esp, 4
add ecx, 2
mov esi, eax
push ecx
push 0
push esi
call fcn.0051b820
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x68]
add esp, 0xc
cmp dword [ebp - 0x54], 0x10
cmovae ecx, dword [ebp - 0x68]
inc eax
push 0xffffffffffffffff
push ecx
push eax
push esi
call fcn.005216b9
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
push 0
push esi
push 0x403e40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x419899
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41988f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419920
push edx
push ecx
call fcn.005186d6
add esp, 8
test edi, edi
je 0x4198cd
mov ecx, dword [ebp - 0x4c]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4198c3
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41996c
push ecx
push edi
call fcn.005186d6
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4198fd
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4198f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419971
push edx
push ecx
call fcn.005186d6
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00518690
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00527f3b
mov ecx, eax
call fcn.00405cc0
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x104]
lea eax, [ebp - 0x48]
mov edx, str.type_must_be_number__but_is
push eax
call fcn.00407030
push eax
mov edx, 0x12e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xec]
call fcn.004070e0
add esp, 8
lea eax, [ebp - 0xec]
push 0x57c8fc
push eax
call fcn.0051aca7
call fcn.00527f3b
call fcn.00527f3b
nop
call dword [ecx + eax*2 + 0x4194d700]
add al, cl
xchg esp, eax
inc ecx
add dh, ch
xchg esp, eax
inc ecx
add ah, cl
int3