Function at 0x40b1ac
Capabilities:
Check if file exists
Create directory
Create process on windows
Delete file
Execute vbscript javascript or jscript in memory
Extract resource via kernel32 functions
Get common file path
Get file attributes
Set current directory
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70c
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 8], 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x412be0], eax
push 0x208
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
jne 0x40b208
jmp 0x40ceaa
push 0x104
lea ecx, [ebp - 0x36c]
push ecx
push 1
mov edx, dword [ebp - 0x13c]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
push 8
lea eax, [ebp - 0x14]
push eax
push 0x11
mov ecx, dword [ebp - 0x13c]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x79
push 5
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
je 0x40b2c1
mov edx, dword [ebp - 0x268]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0
je 0x40b2c1
mov eax, dword [ebp - 0x3d0]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x4dc], eax
cmp dword [ebp - 0x4dc], 0
je 0x40b2c1
mov ecx, dword [ebp - 0x268]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x378], eax
cmp dword [ebp - 0x378], 1
jne 0x40b2c1
mov edx, dword [ebp - 0x4dc]
xor eax, eax
mov al, byte [edx]
cmp eax, 1
jne 0x40b2c1
mov dword [ebp - 8], 0
mov byte [ebp - 0x240], 0
push 0x204
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x1c], eax
push 0x79
push 3
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
je 0x40b3f6
mov edx, dword [ebp - 0x268]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0
jne 0x40b324
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x3d0]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x4dc], eax
cmp dword [ebp - 0x4dc], 0
jne 0x40b348
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x268]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x600], eax
cmp dword [ebp - 0x600], 0x100
jbe 0x40b371
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x100
push 0
lea edx, [ebp - 0x5e8]
push edx
call fcn.0040d060
add esp, 0xc
push str.Everstrike_Software
lea eax, [ebp - 0x5e8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x100
lea ecx, [ebp - 0x5e8]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00401677
add esp, 0xc
mov eax, dword [ebp - 0x600]
mov byte [ebp + eax - 0x240], 0
mov ecx, dword [ebp - 0x600]
push ecx
mov edx, dword [ebp - 0x4dc]
push edx
lea eax, [ebp - 0x240]
push eax
call fcn.0040d10c
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x600]
push edx
lea eax, [ebp - 0x240]
push eax
call fcn.0040abd9
add esp, 0xc
lea ecx, [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x40b503
push 0x104
lea edx, [ebp - 0x4d8]
push edx
push 0x21
mov eax, dword [ebp - 0x13c]
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
cmp dword [ebp - 8], 0
jne 0x40b44c
push 0
push str.Warning
lea ecx, [ebp - 0x4d8]
push ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40b503
push 0xfffffffffffffff5
call fcn.00406480
add esp, 4
mov dword [ebp - 0x61c], eax
push 0xfffffffffffffff6
call fcn.00406480
add esp, 4
mov dword [ebp - 0x618], eax
cmp dword [ebp - 0x61c], 0xffffffff
je 0x40b503
lea edx, [ebp - 0x4d8]
push edx
lea eax, [ebp - 0x4d8]
push eax
call dword [sym.imp.USER32.dll_CharToOemA]
push 0
lea ecx, [ebp - 0x378]
push ecx
lea edx, [ebp - 0x4d8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x4d8]
push eax
mov ecx, dword [ebp - 0x61c]
push ecx
call fcn.004064c1
add esp, 0x14
mov edx, 1
test edx, edx
je 0x40b503
lea eax, [ebp - 0x378]
push eax
push 1
lea ecx, [ebp - 0x614]
push ecx
mov edx, dword [ebp - 0x618]
push edx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
test eax, eax
jne 0x40b4e6
jmp 0x40b503
mov eax, dword [ebp - 0x614]
and eax, 0xffff
cmp eax, 1
je 0x40b4f8
jmp 0x40b4ba
cmp dword [ebp - 0x610], 0
jne 0x40b503
jmp 0x40b4ba
push 0x79
push 4
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
je 0x40b5da
mov ecx, dword [ebp - 0x268]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0
jne 0x40b548
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x3d0]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x4dc], eax
cmp dword [ebp - 0x4dc], 0
jne 0x40b56c
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x268]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x378], eax
cmp dword [ebp - 0x378], 0x10
je 0x40b592
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10
mov ecx, dword [ebp - 0x4dc]
push ecx
lea edx, [ebp - 0x5f8]
push edx
call fcn.0040d10c
add esp, 0xc
mov dword [ebp - 0x134], 1
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x5f8]
push ecx
lea edx, [ebp - 0x4d8]
push edx
call fcn.0040ae66
add esp, 0xc
test eax, eax
jne 0x40b5da
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x40b688
push 0x100
push 0
lea ecx, [ebp - 0x5e8]
push ecx
call fcn.0040d060
add esp, 0xc
cmp dword [ebp - 0x134], 0
jne 0x40b672
lea edx, [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x620], eax
mov dword [ebp - 0x624], 0
jmp 0x40b63c
mov eax, dword [ebp - 0x624]
add eax, 1
mov dword [ebp - 0x624], eax
mov ecx, dword [ebp - 0x624]
cmp ecx, dword [ebp - 0x620]
jae 0x40b670
mov edx, dword [ebp - 0x624]
movsx eax, byte [ebp + edx - 0x240]
movsx ecx, byte [ebp - 0x624]
xor eax, ecx
mov edx, dword [ebp - 0x624]
mov byte [ebp + edx - 0x5e8], al
jmp 0x40b62d
jmp 0x40b686
lea eax, [ebp - 0x4d8]
push eax
lea ecx, [ebp - 0x5e8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x40b6b0
push 0x100
push 0
lea edx, [ebp - 0x5e8]
push edx
call fcn.0040d060
add esp, 0xc
push 0x40f1d0
lea eax, [ebp - 0x5e8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x100
lea ecx, [ebp - 0x5e8]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00401677
add esp, 0xc
push 0x79
push 2
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jne 0x40b6fe
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x268]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0
jne 0x40b737
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x3d0]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x4dc], eax
cmp dword [ebp - 0x4dc], 0
jne 0x40b76e
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x268]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0
jne 0x40b7bc
mov edx, dword [ebp - 0x1c]
push edx
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x20]
sub ecx, 4
push ecx
mov edx, dword [ebp - 0x4dc]
add edx, 4
push edx
mov eax, dword [ebp - 0x25c]
push eax
call fcn.0040d10c
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
sub edx, 4
push edx
mov eax, dword [ebp - 0x25c]
push eax
call fcn.0040abd9
add esp, 0xc
mov ecx, dword [ebp - 0x4dc]
mov edx, dword [ecx]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x25c]
add eax, dword [ebp - 0x20]
mov byte [eax], 0
push 0x79
push 1
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
jne 0x40b859
mov ecx, dword [ebp - 0x25c]
push ecx
push 0
mov edx, dword [0x412be0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x268]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0
jne 0x40b8a7
mov eax, dword [ebp - 0x25c]
push eax
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [ebp - 0x1c]
push edx
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x3d0]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x4dc], eax
cmp dword [ebp - 0x4dc], 0
jne 0x40b8f3
mov edx, dword [ebp - 0x25c]
push edx
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
mov edx, dword [0x412be0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x268]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x4e4], eax
mov ecx, dword [ebp - 0x4e4]
add ecx, 1
push ecx
push 0
mov edx, dword [0x412be0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
jne 0x40b960
mov eax, dword [ebp - 0x25c]
push eax
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [ebp - 0x1c]
push edx
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x4e4]
push ecx
mov edx, dword [ebp - 0x4dc]
push edx
mov eax, dword [ebp - 0x264]
push eax
call fcn.0040d10c
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x4e4]
push edx
mov eax, dword [ebp - 0x264]
push eax
call fcn.0040abd9
add esp, 0xc
mov ecx, dword [ebp - 0x264]
add ecx, dword [ebp - 0x4e4]
mov byte [ecx], 0
push 0x1c
call fcn.0040d027
add esp, 4
mov dword [ebp - 0x694], eax
cmp dword [ebp - 0x694], 0
je 0x40b9d9
mov edx, dword [ebp - 0x264]
push edx
mov ecx, dword [ebp - 0x694]
call fcn.00405cb2
mov dword [ebp - 0x6e4], eax
jmp 0x40b9e3
mov dword [ebp - 0x6e4], 0
mov eax, dword [ebp - 0x6e4]
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x6e8], edx
cmp dword [ebp - 0x6e8], 0
je 0x40ba1e
cmp dword [ebp - 0x6e8], 1
je 0x40ba32
cmp dword [ebp - 0x6e8], 2
je 0x40ba46
jmp 0x40baa1
lea eax, [ebp - 0x128]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x40baa1
lea ecx, [ebp - 0x128]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
jmp 0x40baa1
mov ecx, dword [ebp - 0x138]
call fcn.00405f82
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x628], eax
cmp dword [ebp - 0x628], 0xffffffff
je 0x40ba8f
mov edx, dword [ebp - 0x628]
and edx, 0x10
test edx, edx
je 0x40ba8f
mov ecx, dword [ebp - 0x138]
call fcn.00405f82
push eax
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x40baa1
lea ecx, [ebp - 0x128]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x3d4], eax
cmp dword [ebp - 0x3d4], 0
jle 0x40bade
mov eax, dword [ebp - 0x3d4]
movsx ecx, byte [ebp + eax - 0x129]
cmp ecx, 0x5c
jne 0x40bade
mov edx, dword [ebp - 0x3d4]
mov byte [ebp + edx - 0x129], 0
call fcn.0040cf8b
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x40bb0b
mov ecx, dword [ebp - 0x138]
call fcn.00405fa4
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x36c]
push edx
lea eax, [ebp - 0x128]
push eax
push 0x40f1dc
mov ecx, dword [ebp - 0x260]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0
push 0x80
push 3
push 0
push 7
push 0x40000000
mov edx, dword [ebp - 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x4e0], eax
cmp dword [ebp - 0x4e0], 0xffffffff
jne 0x40bb93
mov dword [ebp - 0x24], 1
push 0
push 0x80
push 1
push 0
push 7
push 0x40000000
mov eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x4e0], eax
cmp dword [ebp - 0x4e0], 0xffffffff
jne 0x40bbed
lea ecx, [ebp - 0x128]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x3d4], eax
cmp dword [ebp - 0x3d4], 0
jle 0x40bbeb
mov eax, dword [ebp - 0x3d4]
movsx ecx, byte [ebp + eax - 0x129]
cmp ecx, 0x5c
jne 0x40bbeb
mov edx, dword [ebp - 0x3d4]
mov byte [ebp + edx - 0x129], 0
jmp 0x40bc0d
mov eax, dword [ebp - 0x4e0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x24], 0
je 0x40bc0d
mov ecx, dword [ebp - 0x260]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x3c8], ecx
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x370], ecx
mov dword [ebp - 4], 0
push 0x208
push 0
mov edx, dword [0x412be0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x37c], 0
jmp 0x40bc69
mov eax, dword [ebp - 0x37c]
add eax, 1
mov dword [ebp - 0x37c], eax
mov ecx, dword [ebp - 0x37c]
cmp ecx, dword [ebp - 0x3c8]
jge 0x40bdc0
mov edx, dword [ebp - 0x370]
push edx
lea eax, [ebp - 0x128]
push eax
push 0x40f1e4
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40bd94
mov eax, dword [ebp - 0x370]
mov ecx, dword [eax + 0x104]
mov dword [ebp - 0x62c], ecx
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x370]
cmp ecx, dword [eax]
jne 0x40bcea
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x370]
mov edx, dword [ecx + 0x104]
mov dword [eax], edx
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x370]
cmp edx, dword [ecx + 4]
jne 0x40bd0d
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
cmp dword [ebp - 4], 0
je 0x40bd28
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x370]
mov edx, dword [ecx + 0x104]
mov dword [eax + 0x104], edx
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x10]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x370]
mov dword [ebp - 0x69c], edx
mov eax, dword [ebp - 0x69c]
mov dword [ebp - 0x698], eax
cmp dword [ebp - 0x698], 0
je 0x40bd79
push 1
mov ecx, dword [ebp - 0x698]
call fcn.00406420
mov dword [ebp - 0x6ec], eax
jmp 0x40bd83
mov dword [ebp - 0x6ec], 0
mov ecx, dword [ebp - 0x62c]
mov dword [ebp - 0x370], ecx
jmp 0x40bc5a
mov edx, dword [ebp - 0x370]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x370]
mov ecx, dword [eax + 0x104]
mov dword [ebp - 0x370], ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x40bc5a
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x3c8], edx
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x370], edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x37c], 0
jmp 0x40be05
mov eax, dword [ebp - 0x37c]
add eax, 1
mov dword [ebp - 0x37c], eax
mov ecx, dword [ebp - 0x37c]
cmp ecx, dword [ebp - 0x3c8]
jge 0x40c0fa
mov dword [ebp - 0x630], 0
push 0xa
mov edx, dword [ebp - 0x37c]
add edx, 1
and edx, 0xffff
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
je 0x40be99
mov eax, dword [ebp - 0x268]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x3d0], eax
cmp dword [ebp - 0x3d0], 0
je 0x40be99
mov ecx, dword [ebp - 0x3d0]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x4dc], eax
cmp dword [ebp - 0x4dc], 0
je 0x40be99
mov edx, dword [ebp - 0x268]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x630], eax
cmp dword [ebp - 0x630], 0
je 0x40bf33
cmp dword [ebp - 0x630], 0
je 0x40bed0
mov eax, dword [ebp - 0x630]
sub eax, 4
push eax
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x634], eax
jmp 0x40beda
mov dword [ebp - 0x634], 0
cmp dword [ebp - 0x634], 0
je 0x40bf31
mov edx, dword [ebp - 0x630]
sub edx, 4
push edx
mov eax, dword [ebp - 0x4dc]
add eax, 4
push eax
mov ecx, dword [ebp - 0x634]
push ecx
call fcn.0040d10c
add esp, 0xc
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x630]
sub eax, 4
push eax
mov ecx, dword [ebp - 0x634]
push ecx
call fcn.0040abd9
add esp, 0xc
mov edx, dword [ebp - 0x4dc]
mov eax, dword [edx]
mov dword [ebp - 0x630], eax
jmp 0x40bf3d
mov dword [ebp - 0x634], 0
mov ecx, dword [ebp - 0x370]
push ecx
lea edx, [ebp - 0x128]
push edx
push 0x40f1ec
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40c056
mov edx, dword [ebp - 0x370]
mov eax, dword [edx + 0x104]
mov dword [ebp - 0x638], eax
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x370]
cmp eax, dword [edx]
jne 0x40bfac
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x370]
mov ecx, dword [eax + 0x104]
mov dword [edx], ecx
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x370]
cmp ecx, dword [eax + 4]
jne 0x40bfcf
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax + 4], ecx
cmp dword [ebp - 4], 0
je 0x40bfea
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x370]
mov ecx, dword [eax + 0x104]
mov dword [edx + 0x104], ecx
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 8]
sub ecx, 1
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x370]
mov dword [ebp - 0x6a4], ecx
mov edx, dword [ebp - 0x6a4]
mov dword [ebp - 0x6a0], edx
cmp dword [ebp - 0x6a0], 0
je 0x40c03b
push 1
mov ecx, dword [ebp - 0x6a0]
call fcn.00406420
mov dword [ebp - 0x6f0], eax
jmp 0x40c045
mov dword [ebp - 0x6f0], 0
mov eax, dword [ebp - 0x638]
mov dword [ebp - 0x370], eax
jmp 0x40bdf6
mov ecx, dword [ebp - 0x370]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x370]
mov eax, dword [edx + 0x104]
mov dword [ebp - 0x370], eax
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x4e0], eax
cmp dword [ebp - 0x4e0], 0xffffffff
je 0x40c0d6
cmp dword [ebp - 0x634], 0
je 0x40c0c9
push 0
lea edx, [ebp - 0x378]
push edx
mov eax, dword [ebp - 0x630]
push eax
mov ecx, dword [ebp - 0x634]
push ecx
mov edx, dword [ebp - 0x4e0]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x4e0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x634], 0
je 0x40c0f5
mov ecx, dword [ebp - 0x634]
push ecx
push 0
mov edx, dword [0x412be0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x40bdf6
mov eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [ebp - 0x1c]
push edx
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + 0x18]
and edx, 0x20
test edx, edx
je 0x40c6a8
mov dword [ebp - 0x67c], 0
mov dword [ebp - 0x678], 0
mov word [ebp - 0x65c], 0
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x65a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x128]
push eax
call fcn.0040ab8c
add esp, 4
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea edx, [ebp - 0x128]
push edx
call fcn.0040abb6
add esp, 4
push 0x40f1f4
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40c1b6
lea ecx, [ebp - 0x66c]
push ecx
push 0x40f1f8
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
jmp 0x40c2bd
push 0x40f208
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40c1e0
lea eax, [ebp - 0x66c]
push eax
push str.VBScript
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
jmp 0x40c2bd
push 0x40f224
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40c20a
lea edx, [ebp - 0x66c]
push edx
push str.VBScript.Encode
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
jmp 0x40c2bd
push 0x40f24c
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40c234
lea ecx, [ebp - 0x66c]
push ecx
push str.JScript.Encode
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
jmp 0x40c2bd
mov edx, dword [ebp - 0x264]
push edx
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x25c]
push ecx
push 0
mov edx, dword [0x412be0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
call fcn.0040ceb0
add esp, 8
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x6ac], edx
mov eax, dword [ebp - 0x6ac]
mov dword [ebp - 0x6a8], eax
cmp dword [ebp - 0x6a8], 0
je 0x40c2ab
push 1
mov ecx, dword [ebp - 0x6a8]
call fcn.0040d5b0
mov dword [ebp - 0x6f4], eax
jmp 0x40c2b5
mov dword [ebp - 0x6f4], 0
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x1ac
call fcn.0040d027
add esp, 4
mov dword [ebp - 0x6b0], eax
cmp dword [ebp - 0x6b0], 0
je 0x40c2f4
mov ecx, dword [ebp - 0x6b0]
call fcn.0040d5e0
mov dword [ebp - 0x6f8], eax
jmp 0x40c2fe
mov dword [ebp - 0x6f8], 0
mov ecx, dword [ebp - 0x6f8]
mov dword [ebp - 0x63c], ecx
mov edx, dword [ebp - 0x244]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x36c]
push ecx
lea edx, [ebp - 0x128]
push edx
mov eax, dword [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x63c]
call fcn.00409202
mov dword [ebp - 0x674], eax
cmp dword [ebp - 0x674], 0
je 0x40c3ec
mov ecx, dword [ebp - 0x63c]
mov dword [ebp - 0x6b4], ecx
mov edx, dword [ebp - 0x6b4]
push edx
call fcn.0040d048
add esp, 4
mov eax, dword [ebp - 0x264]
push eax
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [ebp - 0x25c]
push edx
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x138]
push edx
call fcn.0040ceb0
add esp, 8
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x6bc], eax
mov ecx, dword [ebp - 0x6bc]
mov dword [ebp - 0x6b8], ecx
cmp dword [ebp - 0x6b8], 0
je 0x40c3da
push 1
mov ecx, dword [ebp - 0x6b8]
call fcn.0040d5b0
mov dword [ebp - 0x6fc], eax
jmp 0x40c3e4
mov dword [ebp - 0x6fc], 0
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea edx, [ebp - 0x67c]
push edx
push 0x40e4b0
push 1
push 0
lea eax, [ebp - 0x66c]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x674], eax
mov ecx, dword [ebp - 0x63c]
mov edx, dword [ebp - 0x67c]
mov dword [ecx + 0x184], edx
lea eax, [ebp - 0x678]
push eax
push 0x40e4a0
mov ecx, dword [ebp - 0x67c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x67c]
push eax
call dword [edx]
mov dword [ebp - 0x674], eax
mov ecx, dword [ebp - 0x20]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x670], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x670]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x25c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0xc
call fcn.0040d027
add esp, 4
mov dword [ebp - 0x6c0], eax
cmp dword [ebp - 0x6c0], 0
je 0x40c4ad
mov ecx, dword [ebp - 0x6c0]
call fcn.0040d640
mov dword [ebp - 0x700], eax
jmp 0x40c4b7
mov dword [ebp - 0x700], 0
mov ecx, dword [ebp - 0x700]
mov dword [ebp - 0x680], ecx
mov edx, dword [ebp - 0x680]
mov eax, dword [ebp - 0x63c]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x680]
push ecx
mov edx, dword [ebp - 0x67c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x67c]
push ecx
call dword [eax + 0xc]
mov dword [ebp - 0x674], eax
mov edx, dword [ebp - 0x678]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x678]
push ecx
call dword [eax + 0xc]
mov dword [ebp - 0x674], eax
push 6
push str.WScript
mov edx, dword [ebp - 0x67c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x67c]
push ecx
call dword [eax + 0x20]
lea edx, [ebp - 0x65c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x670]
push eax
mov ecx, dword [ebp - 0x678]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x678]
push eax
call dword [edx + 0x14]
mov dword [ebp - 0x674], eax
push 2
mov ecx, dword [ebp - 0x67c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x67c]
push eax
call dword [edx + 0x14]
mov dword [ebp - 0x674], eax
mov ecx, dword [ebp - 0x670]
push ecx
push 0
mov edx, dword [0x412be0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x67c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x67c]
push edx
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x678]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x678]
push edx
call dword [ecx + 8]
mov eax, dword [ebp - 0x67c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x67c]
push edx
call dword [ecx + 8]
mov eax, dword [ebp - 0x680]
mov dword [ebp - 0x6c4], eax
mov ecx, dword [ebp - 0x6c4]
push ecx
call fcn.0040d048
add esp, 4
mov ecx, dword [ebp - 0x63c]
call fcn.00409515
mov edx, dword [ebp - 0x63c]
mov dword [ebp - 0x6c8], edx
mov eax, dword [ebp - 0x6c8]
push eax
call fcn.0040d048
add esp, 4
mov ecx, dword [0x412bd8]
mov dword [ebp - 0x374], ecx
mov edx, dword [ebp - 0x264]
push edx
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x25c]
push ecx
push 0
mov edx, dword [0x412be0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
call fcn.0040ceb0
add esp, 8
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x6d0], edx
mov eax, dword [ebp - 0x6d0]
mov dword [ebp - 0x6cc], eax
cmp dword [ebp - 0x6cc], 0
je 0x40c68b
push 1
mov ecx, dword [ebp - 0x6cc]
call fcn.0040d5b0
mov dword [ebp - 0x704], eax
jmp 0x40c695
mov dword [ebp - 0x704], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x374]
push ecx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x36c]
push eax
lea ecx, [ebp - 0x128]
push ecx
push str._s_s_s
mov edx, dword [ebp - 0x260]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
mov eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x4e0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x374], eax
cmp dword [ebp - 0x4e0], 0xffffffff
jne 0x40c76c
cmp dword [ebp - 0x374], 0xb7
je 0x40c71e
cmp dword [ebp - 0x374], 0x50
jne 0x40c76c
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea edx, [ebp - 0x128]
push edx
push str._s_d_s
mov eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
mov ecx, dword [ebp - 0x260]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x4e0], eax
jmp 0x40c700
cmp dword [ebp - 0x4e0], 0xffffffff
jne 0x40c802
mov edx, dword [ebp - 0x264]
push edx
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x25c]
push ecx
push 0
mov edx, dword [0x412be0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
call fcn.0040ceb0
add esp, 8
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x6d8], edx
mov eax, dword [ebp - 0x6d8]
mov dword [ebp - 0x6d4], eax
cmp dword [ebp - 0x6d4], 0
je 0x40c7f0
push 1
mov ecx, dword [ebp - 0x6d4]
call fcn.0040d5b0
mov dword [ebp - 0x708], eax
jmp 0x40c7fa
mov dword [ebp - 0x708], 0
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x40f294
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40c8bb
mov dword [ebp - 0x688], str.______ExeScript_Options_End__________
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x68c], edx
mov eax, dword [ebp - 0x688]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.0040d27d
add esp, 8
mov dword [ebp - 0x684], eax
cmp dword [ebp - 0x684], 0
je 0x40c889
mov edx, dword [ebp - 0x688]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x684]
add ecx, eax
mov dword [ebp - 0x684], ecx
mov edx, dword [ebp - 0x688]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x68c]
sub ecx, eax
mov dword [ebp - 0x68c], ecx
jmp 0x40c895
mov edx, dword [ebp - 0x25c]
mov dword [ebp - 0x684], edx
push 0
lea eax, [ebp - 0x378]
push eax
mov ecx, dword [ebp - 0x68c]
push ecx
mov edx, dword [ebp - 0x684]
push edx
mov eax, dword [ebp - 0x4e0]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x40c8dc
push 0
lea ecx, [ebp - 0x378]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x4e0]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x4e0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10
push 0
lea eax, [ebp - 0x254]
push eax
call fcn.0040d060
add esp, 0xc
push 0x44
push 0
lea ecx, [ebp - 0x3c4]
push ecx
call fcn.0040d060
add esp, 0xc
mov dword [ebp - 0x398], 1
mov word [ebp - 0x394], 0xa
mov dword [ebp - 0x3c4], 0x44
push 0x104
push 0
mov edx, dword [0x412be0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x130], eax
push 0x104
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x12c], 0
push 0x40f2c4
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40c98f
push 0x40f2cc
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40c9e5
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x18]
and ecx, 0x10
test ecx, ecx
je 0x40c9e5
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x690], eax
push str.___NUL
mov edx, dword [ebp - 0x244]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [ebp - 0x690], 0x80000000
jb 0x40c9d4
mov word [ebp - 0x394], 0
jmp 0x40c9e5
mov eax, dword [ebp - 0x12c]
or eax, 0x8000000
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x258]
push ecx
push 0
mov edx, dword [0x412be0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x40f2dc
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40ca6d
push 0x40f2e0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40ca6d
push str..jse
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40ca6d
push str..vbe
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40ca6d
push str..wsf
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40ca6d
push str..wsh
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40cac1
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x18]
and ecx, 8
test ecx, ecx
je 0x40ca9f
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0x18]
and eax, 0x10
test eax, eax
je 0x40ca96
mov dword [ebp - 0xc], str.wscript.exe__B
jmp 0x40ca9d
mov dword [ebp - 0xc], str.wscript.exe
jmp 0x40cabf
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx + 0x18]
and edx, 0x10
test edx, edx
je 0x40cab8
mov dword [ebp - 0xc], str.cscript.exe__B
jmp 0x40cabf
mov dword [ebp - 0xc], str.cscript.exe
jmp 0x40cae4
push str..hta
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40cadd
mov dword [ebp - 0xc], str.mshta.exe
jmp 0x40cae4
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x40cb9c
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov edx, dword [ebp - 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add esi, eax
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esi + eax + 0xa]
push ecx
push 0
mov edx, dword [0x412be0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x380], eax
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x40cb77
mov ecx, dword [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0x40f354
mov eax, dword [ebp - 0x380]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ecx, dword [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x380]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x40cb97
mov eax, dword [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push str._s___s_
mov edx, dword [ebp - 0x380]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x40cc37
mov eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esi + eax + 0xa]
push edx
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x380], eax
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x40cc1b
mov edx, dword [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x260]
push eax
push 0x40f368
mov ecx, dword [ebp - 0x380]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov edx, dword [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x380]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x40cc37
mov ecx, dword [ebp - 0x260]
push ecx
push str.__s_
mov edx, dword [ebp - 0x380]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x128]
mov dword [ebp - 0x5fc], eax
push str..bat
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40cc6d
push str..cmd
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40cd0c
push 0x104
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x5fc], eax
cmp dword [ebp - 0x5fc], 0
je 0x40cd0c
mov ecx, dword [ebp - 0x5fc]
mov byte [ecx], 0
push 0x104
mov edx, dword [ebp - 0x5fc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [ebp - 0x5fc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x3d4], eax
mov ecx, dword [ebp - 0x3d4]
mov dword [ebp - 0x37c], ecx
jmp 0x40ccdc
mov edx, dword [ebp - 0x37c]
sub edx, 1
mov dword [ebp - 0x37c], edx
cmp dword [ebp - 0x37c], 0
jl 0x40cd0c
mov eax, dword [ebp - 0x5fc]
add eax, dword [ebp - 0x37c]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x40cd0a
mov edx, dword [ebp - 0x5fc]
add edx, dword [ebp - 0x37c]
mov byte [edx], 0
jmp 0x40cd0c
jmp 0x40cccd
mov eax, dword [ebp - 0x5fc]
push eax
call fcn.0040ab8c
add esp, 4
mov ecx, dword [ebp - 0x5fc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [ebp - 0x3cc], 1
lea edx, [ebp - 0x254]
push edx
lea eax, [ebp - 0x3c4]
push eax
mov ecx, dword [ebp - 0x5fc]
push ecx
push 0
mov edx, dword [ebp - 0x12c]
push edx
push 1
push 0
push 0
mov eax, dword [ebp - 0x380]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40cda6
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [ebp - 0x3cc]
push edx
mov eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x5fc]
push eax
call fcn.0040abb6
add esp, 4
mov ecx, dword [ebp - 0x5fc]
lea edx, [ebp - 0x128]
cmp ecx, edx
je 0x40cde4
cmp dword [ebp - 0x5fc], 0
je 0x40cde4
mov eax, dword [ebp - 0x5fc]
push eax
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [ebp - 0x130]
push edx
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x264]
push ecx
push 0
mov edx, dword [0x412be0]
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x25c]
push eax
push 0
mov ecx, dword [0x412be0]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [ebp - 0x380]
push edx
push 0
mov eax, dword [0x412be0]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x260]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x128]
push edx
mov eax, dword [ebp - 0x138]
push eax
call fcn.0040ceb0
add esp, 8
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x6e0], ecx
mov edx, dword [ebp - 0x6e0]
mov dword [ebp - 0x6dc], edx
cmp dword [ebp - 0x6dc], 0
je 0x40ce93
push 1
mov ecx, dword [ebp - 0x6dc]
call fcn.0040d5b0
mov dword [ebp - 0x70c], eax
jmp 0x40ce9d
mov dword [ebp - 0x70c], 0
mov eax, dword [ebp - 0x3cc]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
mov esp, ebp
pop ebp
ret