Function at 0x41e3b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456a7d
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x46d700]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
test eax, eax
jne 0x41e405
push str.There_is_no_script_or_it_was_launched_without_arguments.
push 0x4715a8
call fcn.0041dd30
push eax
call fcn.0041bb60
add esp, 0xc
jmp 0x41e7d1
push eax
lea ecx, [ebp - 0x22c]
call fcn.00401580
push dword [esi + 8]
mov dword [ebp - 4], 0
call fcn.0044063f
add esp, 4
mov dword [0x46f080], eax
lea ecx, [ebp - 0x228]
push dword [esi + 0xc]
call fcn.00401580
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 1
push str.False
push eax
call fcn.00409460
add esp, 8
mov edx, 0x45876c
test al, al
mov ecx, 0x45ab3c
cmovne ecx, edx
push 1
push ecx
lea ecx, [ebp - 0x228]
call fcn.00408b60
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00432080
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
or edi, 0xffffffff
test eax, eax
je 0x41e554
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00408ed0
push 0x5c
push dword [ebp - 0x21c]
mov byte [ebp - 4], 2
call fcn.004325fa
add esp, 8
test eax, eax
je 0x41e51a
sub eax, dword [ebp - 0x21c]
sar eax, 1
cmp eax, edi
je 0x41e51a
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00407060
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 3
call fcn.00404020
mov edx, dword [ebp - 0x224]
mov eax, edi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e51a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
push eax
call fcn.00404af0
mov edx, dword [ebp - 0x21c]
add esp, 4
add edx, 0xfffffff0
lea esi, [eax + 0x10]
mov eax, edi
mov dword [ebp - 0x220], esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e579
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41e579
mov byte [ebp - 4], 5
call fcn.0041f262
mov ecx, eax
mov byte [ebp - 4], 4
test ecx, ecx
je 0x41e7ef
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 6
push eax
mov ecx, 0x46f098
call fcn.00404020
lea edx, [esi - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e5a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xfde9
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov eax, dword [ebp - 0x228]
mov ecx, 0x45876c
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e5e6
test dx, dx
je 0x41e5e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e5e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e5c0
xor eax, eax
jmp 0x41e5eb
sbb eax, eax
or eax, 1
mov byte [ebp - 4], 1
test eax, eax
jne 0x41e63b
push ecx
mov ecx, esp
mov dword [ebp - 0x224], esp
push str.selection
call fcn.00408ed0
push ecx
mov esi, esp
mov byte [ebp - 4], 8
mov dword [ebp - 0x220], esi
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
push eax
call fcn.00404af0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.0041dff0
add esp, 8
jmp 0x41e799
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
push eax
call fcn.00404af0
mov ebx, eax
add esp, 4
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x220], ecx
push 0
mov byte [ebp - 4], 9
call fcn.0041dc80
mov edx, eax
test edx, edx
jne 0x41e66d
xor ecx, ecx
jmp 0x41e681
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e672
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x46f098
call fcn.00408b60
lea eax, [ebp - 0x220]
mov dword [0x46f070], 1
push str.TRUE
push eax
mov dword [0x46f06c], 0
call fcn.00409460
add esp, 8
test al, al
je 0x41e6c3
mov dword [0x46f074], 1
call fcn.0041e1f0
test al, al
je 0x41e785
push 0
push 0
push 0x41cd60
call fcn.004407c0
add esp, 0xc
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x46f100], 0
je 0x41e766
cmp dword [0x46f078], 0
je 0x41e76f
push 0x96
lea eax, [ebp - 0x224]
mov ecx, 0x46f094
push eax
call fcn.00407700
push dword [eax]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0xa
call fcn.004031b0
mov edx, dword [ebp - 0x224]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e749
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e766
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [0x46f078], 0
jne 0x41e77c
cmp dword [0x46f07c], 0
jne 0x41e77c
xor eax, eax
jmp 0x41e77f
or eax, 0xffffffff
push eax
call fcn.0041dcb0
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x41e799
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x228]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e7b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x41e7d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d32f
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004017b0
int3