Function at 0x424c30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586e28
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x5eb1c0]
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 0x424c85
push str.There_is_no_script_or_it_was_launched_without_arguments.
push 0x5f3a10
call fcn.004244c0
push eax
call fcn.00422c40
add esp, 0xc
jmp 0x42502c
push eax
lea ecx, [ebp - 0x228]
call fcn.004020a0
push dword [esi + 8]
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.004020a0
push dword [esi + 0xc]
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 1
call fcn.004020a0
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.0055e340
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 0x424da5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004021a0
push 0x5c
push dword [ebp - 0x21c]
mov byte [ebp - 4], 3
call fcn.0055d696
add esp, 8
test eax, eax
je 0x424d6b
sub eax, dword [ebp - 0x21c]
sar eax, 1
cmp eax, edi
je 0x424d6b
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00405fa0
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 4
call fcn.00402490
mov edx, dword [ebp - 0x224]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424d6b
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.004039d0
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 0x424dca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x424dca
mov byte [ebp - 4], 6
call fcn.0042613a
mov ecx, eax
mov byte [ebp - 4], 5
test ecx, ecx
je 0x42504a
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], 7
push eax
mov ecx, 0x5efbac
call fcn.00402490
mov byte [ebp - 4], 2
lea edx, [esi - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424dfa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xfde9
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
lea eax, [ebp - 0x22c]
push 0x598c48
push eax
call fcn.00410640
add esp, 8
test al, al
je 0x424e74
push ecx
mov esi, esp
mov dword [ebp - 0x224], esp
mov dword [ebp - 0x220], esi
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
push eax
call fcn.004039d0
add eax, 0x10
mov dword [esi], eax
mov esi, esp
mov byte [ebp - 4], 8
mov dword [ebp - 0x220], esi
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
push eax
call fcn.004039d0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
call fcn.00424780
add esp, 8
jmp 0x424fd7
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
push eax
call fcn.004039d0
mov ebx, eax
add esp, 4
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x220], ecx
push 0
mov byte [ebp - 4], 9
call fcn.00424410
mov edx, eax
test edx, edx
jne 0x424ea6
xor ecx, ecx
jmp 0x424ebf
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424eb0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x5efbac
call fcn.00409540
lea eax, [ebp - 0x220]
mov dword [0x5efb88], 1
push 0x598b70
push eax
mov dword [0x5efb84], 0
call fcn.00410640
add esp, 8
test al, al
je 0x424f01
mov dword [0x5efb8c], 1
call fcn.00424a70
test al, al
je 0x424fc3
push 0
push 0
push 0x423da0
call fcn.0056d5ee
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 [0x5efc14], 0
je 0x424fa4
cmp dword [0x5efb90], 0
je 0x424fad
push 0x96
lea eax, [ebp - 0x224]
mov ecx, 0x5efba8
push eax
call fcn.0040edb0
push dword [eax]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0xa
call fcn.0040b2a0
mov edx, dword [ebp - 0x224]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424f87
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 0x424fa4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [0x5efb90], 0
jne 0x424fba
cmp dword [0x5efb94], 0
jne 0x424fba
xor eax, eax
jmp 0x424fbd
or eax, 0xffffffff
push eax
call fcn.00424440
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x424fd7
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x22c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424ff4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x230]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x425011
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x228]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x42502c
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.00558ddd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403690
int3