Function at 0x41e5c0
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Check for time delay via gettickcount
Execute shellcode via indirect call
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x70], eax
cmp dword [0x5275e8], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
jne 0x41e6af
cmp dword [0x527690], 0
jne 0x41e6af
push 0xa
push str.E4847ED08866458F8DD35F94B37001C0
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [0x527690], eax
lea ebx, [esp + 0x78]
mov eax, dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x54], eax
mov eax, dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x64], eax
mov eax, dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x6c], eax
mov eax, dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x70], ecx
mov edx, eax
mov dword [esp + 0x40], eax
cmp eax, ebx
je 0x41e6a5
mov esi, 0x5326c0
nop word [eax + eax]
mov eax, dword [edx]
lea esi, [esi + 8]
mov ecx, dword [edx + 4]
add edx, 8
mov dword [esi - 8], eax
mov dword [esi - 4], ecx
cmp edx, ebx
jne 0x41e690
mov dword [0x5275e8], 1
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [0x5276ac], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [0x62271c]
mov esi, eax
mov eax, dword fs:[0x2c]
mov dword [sym.AutoHotkey.exe_g_FirstThreadID], esi
mov ecx, dword [eax + edi*4]
cmp byte [ecx + 0x2198], 0
jne 0x41e6ee
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
mov dword [eax + 0x250], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
cmp byte [ecx + 0x2198], 0
jne 0x41e71e
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
mov dword [eax + 0x67c], ebx
call esi
mov esi, eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
cmp byte [ecx + 0x2198], 0
jne 0x41e748
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
push 0x738
mov dword [eax + 0x670], esi
call fcn.004ebb43
add esp, 4
test eax, eax
je 0x41e76d
mov ecx, eax
call fcn.0044eba0
mov esi, eax
jmp 0x41e76f
xor esi, esi
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41e78e
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
push 0x1c
mov dword [eax + 0x298], esi
call fcn.004ebb43
mov esi, eax
add esp, 4
test esi, esi
je 0x41e7d9
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
jmp 0x41e7db
xor esi, esi
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41e7fa
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
push 0x10
mov dword [eax + 0x294], esi
call fcn.004ebb43
mov esi, eax
add esp, 4
test esi, esi
je 0x41e830
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
jmp 0x41e832
xor esi, esi
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41e851
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
push 0x24
mov dword [eax + 0x28c], esi
call fcn.004ebb43
add esp, 4
test eax, eax
je 0x41e873
mov ecx, eax
call fcn.004df720
mov esi, eax
jmp 0x41e875
xor esi, esi
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41e894
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
push 0x64
mov dword [eax + 0x260], esi
call fcn.004ebb43
add esp, 4
test eax, eax
je 0x41e8b6
mov ecx, eax
call fcn.00418e40
mov esi, eax
jmp 0x41e8b8
xor esi, esi
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41e8d7
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
push 0x10
mov dword [eax + 0x264], esi
call fcn.004ebb43
mov esi, eax
add esp, 4
test esi, esi
je 0x41e91a
push 0x800
mov dword [esi + 0xc], 0x80
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [esi], eax
add esp, 4
lea ecx, [eax - 0x10]
mov eax, dword [esi + 0xc]
shl eax, 4
add eax, ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
jmp 0x41e91c
xor esi, esi
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41e93b
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
mov eax, dword [eax + 0x264]
mov dword [eax], esi
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41e965
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
add eax, 0x2a0
push eax
call esi
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41e995
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
add eax, 0x2b8
push eax
call esi
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41e9bf
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
push 0x18
mov eax, dword [eax + 0x298]
mov dword [0x52b6c4], eax
mov eax, dword [sym.AutoHotkey.exe_g_FirstThreadID]
mov dword [0x52b6d4], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x2c]
mov dword [0x52b6d8], eax
call fcn.004ebb43
add esp, 4
test eax, eax
je 0x41ea1e
mov dword [eax + 4], 1
mov dword [eax], vtable.ComObject.0
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], 0xffffffff
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xb
jmp 0x41ea20
xor eax, eax
push 0x18
mov dword [0x6226cc], eax
call fcn.004ebb43
add esp, 4
test eax, eax
je 0x41ea5e
mov dword [eax + 4], 1
mov dword [eax], vtable.ComObject.0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xb
jmp 0x41ea60
xor eax, eax
push 0x18
mov dword [0x6226d0], eax
call fcn.004ebb43
add esp, 4
test eax, eax
je 0x41ea9e
mov dword [eax + 4], 1
mov dword [eax], vtable.ComObject.0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 1
jmp 0x41eaa0
xor eax, eax
mov dword [0x6226d4], eax
call fcn.004cd480
mov edx, dword fs:[0x2c]
mov esi, eax
mov ecx, dword [edx + edi*4]
cmp byte [ecx + 0x2198], 0
jne 0x41eacb
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov eax, dword [edx + edi*4]
cmp byte [eax + 0x2198], 0
mov dword [eax + 0x20d0], esi
jne 0x41eae9
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov eax, dword [edx + edi*4]
push 0x50
mov ecx, dword [eax + 0x260]
call fcn.004df760
mov esi, eax
test esi, esi
je 0x41eb3a
push str.IsSet
mov ecx, esi
call fcn.00418f10
mov dword [esi + 0x40], 0
mov dword [esi], vtable.BuiltInFunc.0
mov dword [esi + 0x48], 0x47c610
mov dword [esi + 0x38], 1
mov dword [esi + 0x34], 1
mov byte [esi + 0x3c], 0
mov dword [esi + 0x4c], 0
jmp 0x41eb3c
xor esi, esi
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41eb5b
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
push 1
mov dword [eax + 0x22c], esi
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0
call fcn.004a3b90
mov ecx, dword fs:[0x2c]
add esp, 4
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41eb95
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
mov esi, dword [eax + 0x260]
jne 0x41ebb3
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
mov ecx, 0x4f6190
mov eax, dword [eax + 0x6a0]
test eax, eax
je 0x41ebcc
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push 0xffffffffffffffff
push ecx
mov ecx, esi
call fcn.004df790
mov esi, eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
cmp byte [ecx + 0x2198], 0
jne 0x41ebf5
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
mov ebx, 1
mov byte [esp + 0x38], 0
mov dword [esp + 0x34], ebx
mov dword [eax + 0x168], esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [eax], ebx
jle 0x41f1d6
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
push str._RegServer
mov eax, dword [eax]
mov ebx, dword [eax + ebx*4]
push ebx
call esi
add esp, 8
test eax, eax
je 0x41f459
push str._UnRegServer
push ebx
call esi
add esp, 8
test eax, eax
je 0x41f459
push 0x4f643c
push ebx
call esi
add esp, 8
test eax, eax
je 0x41f459
push str._Embedding
push ebx
call esi
add esp, 8
test eax, eax
je 0x41f459
push 0x4f646c
push ebx
call esi
add esp, 8
test eax, eax
je 0x41f459
push str._Automation
push ebx
call esi
add esp, 8
test eax, eax
je 0x41f459
push str._restart
push ebx
call esi
add esp, 8
test eax, eax
jne 0x41ecb6
mov byte [esp + 0x38], 1
jmp 0x41f1b5
push str._force
push ebx
call esi
add esp, 8
test eax, eax
jne 0x41ecf3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41ece4
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
mov byte [eax + 0x140], 1
jmp 0x41f1b5
push str._script
push ebx
call esi
add esp, 8
test eax, eax
jne 0x41ed5b
mov eax, dword [0x527690]
test eax, eax
je 0x41ed4c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [0x527690]
mov ebx, eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esp + 0x40]
push eax
push 0x40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test esi, esi
je 0x41ed4c
push esi
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [0x527690], 0
jmp 0x41f1b5
push 0xc
push str._ErrorStdOut
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x41edc3
movzx eax, word [ebx + 0x18]
test ax, ax
je 0x41ed7e
cmp eax, 0x3d
jne 0x41edc3
mov ecx, dword fs:[0x2c]
mov edx, eax
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41eda3
call fcn.004ebad3
movzx edx, word [ebx + 0x18]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + edi*4]
lea eax, [ebx + 0x1a]
xor esi, esi
cmp dx, 0x3d
cmovne eax, esi
mov ecx, dword [ecx + 0x298]
push eax
call fcn.0046d3c0
jmp 0x41f1b5
push str._include
push ebx
call esi
add esp, 8
test eax, eax
jne 0x41ee62
mov esi, dword [esp + 0x34]
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
inc esi
mov dword [esp + 0x34], esi
call eax
cmp esi, dword [eax]
jge 0x41ef69
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41ee0d
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
mov eax, dword [eax + 0x298]
cmp dword [eax + 0x6e4], 0
jne 0x41ef69
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
call eax
mov ecx, dword fs:[0x2c]
mov eax, dword [eax]
mov esi, dword [eax + esi*4]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41ee4e
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
mov eax, dword [eax + 0x298]
mov dword [eax + 0x6e4], esi
jmp 0x41f1b5
push str._validate
push ebx
call esi
add esp, 8
test eax, eax
jne 0x41eea5
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41ee90
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
mov eax, dword [eax + 0x298]
mov byte [eax + 0x6dc], 1
jmp 0x41f1b5
push str._iLib
push ebx
call esi
add esp, 8
test eax, eax
jne 0x41ef82
mov ebx, dword [esp + 0x34]
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
inc ebx
mov dword [esp + 0x34], ebx
call eax
cmp ebx, dword [eax]
jge 0x41ef69
push 0x38
call fcn.004ebb43
add esp, 4
test eax, eax
je 0x41eee9
mov ecx, eax
call fcn.00418ff0
mov esi, eax
jmp 0x41eeeb
xor esi, esi
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41ef0a
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
mov eax, dword [eax + 0x298]
mov dword [eax + 0x6e0], esi
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41ef38
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
mov eax, dword [eax + 0x298]
mov esi, dword [eax + 0x6e0]
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
call eax
push 0xfde9
push 0x15
mov ecx, esi
mov eax, dword [eax]
push dword [eax + ebx*4]
call fcn.004e1370
test al, al
jne 0x41f1b5
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004ebadf
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
push 3
push 0x4f6520
push ebx
call esi
add esp, 0xc
test eax, eax
jne 0x41efd2
lea eax, [ebx + 6]
push eax
call fcn.004e6170
mov esi, eax
add esp, 4
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
cmp byte [ecx + 0x2198], 0
jne 0x41efc4
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
mov dword [eax + 0x218], esi
jmp 0x41f1b5
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41efe9
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 0x264]
cmp dword [eax + 4], 0xffffffff
jne 0x41f443
push 6
push str._Debug
push ebx
call esi
add esp, 0xc
test eax, eax
jne 0x41f443
movzx eax, word [ebx + 0xc]
test ax, ax
je 0x41f0f9
cmp eax, 0x3d
jne 0x41f443
add ebx, 0xe
push 0x3a
push ebx
call sub.VCRUNTIME140.dll_wcsrchr
add esp, 8
mov dword [esp + 0x3c], eax
test eax, eax
je 0x41f0c0
mov esi, eax
mov eax, dword fs:[0x2c]
sub esi, ebx
sar esi, 1
mov ecx, dword [eax + edi*4]
cmp byte [ecx + 0x2198], 0
jne 0x41f066
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
push 0
push 0x3f
push esi
add eax, 0x690
push eax
push ebx
call fcn.004dffb0
mov ecx, dword fs:[0x2c]
add esp, 0x14
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41f09c
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
push 0
push 0x3f
add eax, 0x684
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x4c]
add eax, 2
push eax
call fcn.004dffb0
add esp, 0x14
jmp 0x41f1b5
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41f0df
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
push 0
push 0x3f
push 0xffffffffffffffff
add eax, 0x690
push eax
push ebx
call fcn.004dffb0
add esp, 0x14
jmp 0x41f157
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41f118
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov esi, dword [ecx + edi*4]
mov ecx, dword [esi + 0x694]
test ecx, ecx
je 0x41f12a
call fcn.0041c470
push 0x14
call fcn.004ebb43
add esp, 4
test eax, eax
je 0x41f148
push 0xffffffffffffffff
push str.localhost
mov ecx, eax
call fcn.00418d20
jmp 0x41f14a
xor eax, eax
mov dword [esi + 0x694], eax
mov byte [esi + 0x698], 0
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41f176
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov esi, dword [ecx + edi*4]
mov ecx, dword [esi + 0x688]
test ecx, ecx
je 0x41f188
call fcn.0041c470
push 0x14
call fcn.004ebb43
add esp, 4
test eax, eax
je 0x41f1a6
push 0xffffffffffffffff
push str.9000
mov ecx, eax
call fcn.00418d20
jmp 0x41f1a8
xor eax, eax
mov byte [esi + 0x68c], 0
mov dword [esi + 0x688], eax
mov esi, dword [esp + 0x34]
inc esi
mov dword [esp + 0x34], esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov ebx, dword [esp + 0x34]
cmp esi, dword [eax]
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
jl 0x41ec20
xor ebx, ebx
cmp dword [0x527690], ebx
je 0x41f1e5
mov ebx, 0x4f654c
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41f1fc
call fcn.004ebad3
mov eax, dword fs:[0x2c]
push 0x41
push 6
push str.A_Args
mov eax, dword [eax + edi*4]
mov ecx, dword [eax + 0x298]
call fcn.0045cec0
mov esi, eax
mov eax, dword fs:[0x2c]
mov dword [esp + 0x3c], esi
mov ecx, dword [eax + edi*4]
cmp byte [ecx + 0x2198], 0
jne 0x41f23c
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
push 0x41
push 9
push str.A_ArgsMap
mov ecx, dword [eax + 0x298]
call fcn.0045cec0
mov dword [esp + 0x40], eax
test esi, esi
je 0x41ef69
test eax, eax
je 0x41ef69
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov esi, dword [eax]
sub esi, dword [esp + 0x34]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
mov edx, dword [esp + 0x34]
push esi
mov eax, dword [eax]
lea ecx, [edx*4]
add eax, ecx
push eax
call fcn.004d03b0
add esp, 8
test eax, eax
je 0x41ef69
mov ecx, dword [esp + 0x3c]
push eax
call fcn.004e6ed0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov esi, dword [eax]
sub esi, dword [esp + 0x34]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
mov edx, dword [esp + 0x34]
push esi
mov eax, dword [eax]
lea ecx, [edx*4]
add eax, ecx
push eax
call fcn.004d05a0
add esp, 8
test eax, eax
je 0x41ef69
mov ecx, dword [esp + 0x40]
push eax
call fcn.004e6ed0
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41f300
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
push dword [eax + 0x29c]
call fcn.0041e400
add esp, 4
cmp dword [0x5275e8], 0
je 0x41fa8f
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41f33d
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
mov esi, dword [eax + 0x298]
jne 0x41f35b
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
mov ecx, esi
push 0
push 0x4f5b70
push 0
push dword [esp + 0x44]
push ebx
push dword [eax + 0x29c]
call fcn.0045f6c0
cmp eax, 1
jne 0x41ef69
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41f3a1
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
push ebx
mov ecx, dword [eax + 0x298]
call fcn.00463070
cmp eax, 0xffffffff
jne 0x41f515
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41f3d8
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx + 0x298]
cmp dword [eax + 0x6e0], 0
je 0x41ef69
cmp byte [edx + 0x2198], 0
jne 0x41f403
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
mov eax, dword [eax + 0x298]
mov esi, dword [eax + 0x6e0]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41f431
cmp dword [esi + 0x2c], 0
jne 0x41f431
mov eax, dword [esi]
push ecx
push dword [esi + 0x30]
mov ecx, esi
call dword [eax + 0x10]
mov dword [esi + 8], 0
xor eax, eax
mov ecx, esi
mov word [esi + 0x28], ax
mov eax, dword [esi]
call dword [eax + 8]
jmp 0x41ef69
cmp dword [0x527690], 0
jne 0x41f1e0
inc dword [esp + 0x34]
jmp 0x41f1e5
cmp byte [0x527630], 0
je 0x41f47b
or esi, 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004ebadf
mov esp, ebp
pop ebp
ret 0x10
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, eax
mov dword [esp + 0x38], esi
test esi, esi
jns 0x41f4ba
cmp esi, 0x80010106
jne 0x41f4ff
push str.Mscoree.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x41f4c1
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004ebadf
mov esp, ebp
pop ebp
ret 0x10
mov byte [0x52762e], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x38]
push ecx
push eax
mov ecx, 0x5275f0
call fcn.0041ad10
cmp al, 1
jne 0x41f4ec
push dword [ebp + 0x14]
mov ecx, 0x5275f0
call fcn.0041c530
mov esi, eax
jmp 0x41f4f0
mov esi, dword [esp + 0x38]
cmp byte [0x52762e], 0
je 0x41f4ff
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004ebadf
mov esp, ebp
pop ebp
ret 0x10
test eax, eax
je 0x41fa8f
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41f534
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
cmp byte [ecx + 0x2198], 0
mov eax, dword [ecx + 0x938]
mov dword [0x52b6c8], eax
jne 0x41f556
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
cmp byte [ecx + 0x2198], 0
mov eax, dword [ecx + 0x944]
mov dword [0x52b6cc], eax
jne 0x41f578
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
cmp byte [ecx + 0x2198], 0
lea eax, [ecx + 0x340]
mov dword [0x52b6d0], eax
jne 0x41f59a
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
cmp dword [eax + 0x1dc], 0
je 0x41f6cc
cmp byte [esp + 0x38], 0
jne 0x41f6d7
cmp byte [eax + 0x2198], 0
jne 0x41f5c9
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
cmp byte [eax + 0x140], 0
jne 0x41f79a
cmp byte [eax + 0x2198], 0
jne 0x41f5ed
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
cmp byte [ecx + 0x2198], 0
mov eax, dword [ecx + 0x298]
mov esi, dword [eax + 0x6cc]
jne 0x41f610
call fcn.004ebad3
mov eax, dword fs:[0x2c]
push esi
mov eax, dword [eax + edi*4]
push dword [eax + 0x220]
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
test ebx, ebx
je 0x41f79a
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
cmp byte [ecx + 0x2198], 0
jne 0x41f64d
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
cmp dword [ecx + 0x1dc], 3
je 0x41fa8f
cmp byte [ecx + 0x2198], 0
jne 0x41f671
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
cmp dword [ecx + 0x1dc], 2
je 0x41f6c5
cmp byte [ecx + 0x2198], 0
jne 0x41f691
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
xorps xmm0, xmm0
push 0
sub esp, 8
mov eax, dword [eax + 0x298]
movsd qword [esp], xmm0
push dword [eax + 0x6bc]
push 4
push str.An_older_instance_of_this_script_is_already_running.__Replace_it_with_this_instance__nNote:_To_avoid_this_message__see_SingleInstance_in_the_help_file.
call fcn.004e9320
add esp, 0x18
cmp eax, 7
je 0x41fa8f
mov eax, 0x407
jmp 0x41f729
cmp byte [esp + 0x38], 0
je 0x41f79a
cmp byte [eax + 0x2198], 0
jne 0x41f6e5
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
cmp byte [ecx + 0x2198], 0
mov eax, dword [ecx + 0x298]
mov esi, dword [eax + 0x6cc]
jne 0x41f708
call fcn.004ebad3
mov eax, dword fs:[0x2c]
push esi
mov eax, dword [eax + edi*4]
push dword [eax + 0x220]
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
test ebx, ebx
je 0x41f79a
mov eax, 0x406
push 0
push eax
push 0x44
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x32
xor esi, esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41f792
nop word [eax + eax]
cmp esi, 0x64
jne 0x41f77e
push 0
sub esp, 8
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 0
push 4
push str.Could_not_close_the_previous_instance_of_this_script.__Keep_waiting_
call fcn.004e9320
add esp, 0x18
cmp eax, 7
je 0x41ef69
xor esi, esi
push 0x32
inc esi
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41f750
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41f7b1
call fcn.004ebad3
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edi*4]
mov ecx, dword [ecx + 0x298]
call fcn.00453b50
cmp eax, 1
jne 0x41ef69
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41f7ed
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
push 0
push 4
push 0
mov eax, dword [eax + 0x214]
push 1
mov dword [0x52b6c0], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_setvbuf]
mov ebx, dword fs:[0x2c]
add esp, 0x10
mov eax, dword [ebx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41f835
call fcn.004ebad3
mov ebx, dword fs:[0x2c]
mov eax, dword [ebx + edi*4]
cmp dword [eax + 0x1c8], 0
je 0x41f8f1
cmp byte [eax + 0x2198], 0
jne 0x41f85a
call fcn.004ebad3
mov ebx, dword fs:[0x2c]
mov eax, dword [ebx + edi*4]
imul eax, dword [eax + 0x1c8], 0xd4
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, dword fs:[0x2c]
add esp, 4
mov esi, eax
mov ecx, dword [ebx + edi*4]
cmp byte [ecx + 0x2198], 0
jne 0x41f892
call fcn.004ebad3
mov ebx, dword fs:[0x2c]
mov eax, dword [ebx + edi*4]
mov dword [eax + 0x274], esi
test esi, esi
je 0x41f8f1
cmp byte [eax + 0x2198], 0
jne 0x41f8b4
call fcn.004ebad3
mov ebx, dword fs:[0x2c]
mov eax, dword [ebx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41f8cc
call fcn.004ebad3
mov ebx, dword fs:[0x2c]
mov ecx, dword [ebx + edi*4]
imul eax, dword [ecx + 0x1c8], 0xd4
push eax
push 0
push dword [ecx + 0x274]
call sub.VCRUNTIME140.dll_memset
mov ebx, dword fs:[0x2c]
add esp, 0xc
mov eax, dword [ebx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41f909
call fcn.004ebad3
mov ebx, dword fs:[0x2c]
mov ecx, dword [ebx + edi*4]
mov eax, dword [ecx + 0x298]
cmp dword [eax + 0x734], 0
jne 0x41f9fa
cmp byte [ecx + 0x2198], 0
jne 0x41f934
call fcn.004ebad3
mov ebx, dword fs:[0x2c]
mov eax, dword [ebx + edi*4]
mov ecx, dword [eax + 0x694]
test ecx, ecx
je 0x41f9fa
cmp dword [ecx + 8], 0
je 0x41f9fa
cmp byte [eax + 0x2198], 0
jne 0x41f964
call fcn.004ebad3
mov ebx, dword fs:[0x2c]
mov eax, dword [ebx + edi*4]
cmp byte [eax + 0x2198], 0
mov ecx, dword [eax + 0x264]
mov dword [esp + 0x3c], ecx
jne 0x41f986
call fcn.004ebad3
mov ebx, dword fs:[0x2c]
mov esi, dword [ebx + edi*4]
lea ecx, [esi + 0x684]
call fcn.004192b0
cmp byte [esi + 0x2198], 0
mov dword [esp + 0x40], eax
jne 0x41f9ad
call fcn.004ebad3
mov ebx, dword fs:[0x2c]
mov ecx, dword [ebx + edi*4]
add ecx, 0x690
call fcn.004192b0
push dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
push eax
call fcn.00425fa0
test eax, eax
jne 0x41f9fa
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41f9ec
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + edi*4]
mov ecx, dword [ecx + 0x264]
call fcn.00425f50
call fcn.0043a630
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41fa1e
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
mov eax, dword [eax + 0x298]
mov byte [eax + 0x6d4], 1
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x41fa4d
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
mov byte [eax + 0x123], 0
jne 0x41fa6c
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
mov byte [eax + 0x12f], 0
call fcn.0041a9b0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004ebadf
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x7c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ebadf
mov esp, ebp
pop ebp
ret 0x10