Function at 0x404a10
Capabilities:
Accept command line arguments
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x188
mov ebx, dword [ebp + 0x10]
test byte [0x40708c], 8
jne 0x404db8
call dword [sym.imp.kernel32.dll_GetCommandLineW]
lea edx, [ebp - 0x150]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.shell32.dll_CommandLineToArgvW]
mov dword [ebp - 0x15c], eax
sub esp, 8
test eax, eax
je 0x404b18
mov edx, dword [ebp - 0x150]
cmp edx, 1
jle 0x404b0b
mov eax, str.nologo
mov ebx, dword [ebp - 0x15c]
mov edi, 1
shr eax, 0x10
mov dword [ebp - 0x164], eax
jmp 0x404aae
mov dword [esp + 4], 0x409ea6
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll__wcsicmp]
test eax, eax
jne 0x404ae0
mov ecx, 0xffffffff
mov word [0x414008], cx
mov edx, dword [ebp - 0x150]
add edi, 1
cmp edx, edi
jle 0x404b0b
mov eax, dword [ebx + edi*4]
movzx ecx, word [eax]
mov esi, ecx
and esi, 0xfffffffd
cmp si, 0x2d
jne 0x404c58
lea esi, [eax + 2]
cmp cx, 0x2f
jne 0x404a80
cmp word [eax + 2], 0x2f
jne 0x404a80
lea esi, [eax + 4]
jmp 0x404a80
mov dword [esp + 4], 0x409eaa
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll__wcsicmp]
test eax, eax
jne 0x404b30
xor edx, edx
add edi, 1
mov word [0x414008], dx
mov edx, dword [ebp - 0x150]
cmp edx, edi
jg 0x404aae
test byte [0x40708c], 1
jne 0x404f80
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 4], str.nologo
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll__wcsicmp]
test eax, eax
jne 0x404ea0
test byte [0x40708c], 1
je 0x404aa1
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x405697
mov dword [esp + 4], 0xffffffff
mov dword [esp], str.nologo
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x40503e
lea esi, [esi]
mov edx, eax
lea eax, [eax + 1]
cmp word [edx + edx + 0x409e8a], 0
jne 0x404b90
mov eax, 0x224c
lea esi, [ebp - 0x16]
mov dword [ebp - 0x16c], edi
lea ecx, [ebp - 0x136]
mov word [ebp - 0x138], ax
mov edi, esi
mov eax, 0x6e
mov dword [ebp - 0x160], str.nologo
mov dword [ebp - 0x168], ebx
jmp 0x404c1e
cmp ax, 9
je 0x405168
cmp ax, 0xa
jne 0x405186
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea esi, [esi]
nop
lea esi, [edx - 1]
cmp ecx, edi
ja 0x405005
test edx, edx
jle 0x405005
mov eax, dword [ebp - 0x160]
mov edx, esi
movzx eax, word [eax]
add dword [ebp - 0x160], 2
cmp ax, 0xd
je 0x405150
jbe 0x404bd8
cmp ax, 0x22
je 0x4051e0
cmp ax, 0x5c
jne 0x405179
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x404c00
mov esi, eax
mov eax, dword [ebp - 0x15c]
sub edx, edi
mov dword [esp + 8], 0x414040
sub edx, 1
mov dword [esp + 4], 0x104
lea eax, [eax + edi*4 + 4]
mov dword [section..bss], edx
mov dword [0x414004], eax
lea eax, [ebp - 0x158]
mov dword [esp + 0xc], eax
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetFullPathNameW]
sub eax, 1
sub esp, 0x10
cmp eax, 0x103
ja 0x404b18
mov eax, dword [ebp - 0x158]
mov dword [esp + 4], 0x2e
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcsrchr]
mov ebx, eax
test eax, eax
je 0x405653
lea edx, [ebp - 0x148]
call fcn.00404400
test eax, eax
jne 0x405202
test byte [0x40708c], 1
je 0x404b18
mov eax, ebx
shr eax, 0x10
je 0x405952
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x405665
cmp word [ebx], 0
je 0x40599f
nop
mov ecx, eax
lea eax, [eax + 1]
cmp word [ebx + ecx*2 + 2], 0
jne 0x404d20
mov edi, 0x224c
lea esi, [ebp - 0x16]
mov word [ebp - 0x138], di
lea edi, [ebp - 0x136]
jmp 0x404d7d
cmp ax, 9
je 0x40587e
cmp ax, 0xa
jne 0x40589c
mov eax, 0x6e5c
add edi, 2
mov word [edi - 2], ax
lea esi, [esi]
lea eax, [ecx - 1]
cmp edi, esi
ja 0x4058fe
test ecx, ecx
jle 0x4058fe
mov ecx, eax
movzx eax, word [ebx]
add ebx, 2
cmp ax, 0xd
je 0x40586d
jbe 0x404d44
cmp ax, 0x22
je 0x4058ed
cmp ax, 0x5c
jne 0x40588f
mov eax, 0x5c5c
add edi, 2
mov word [edi - 2], ax
jmp 0x404d68
test ebx, ebx
je 0x405649
mov eax, ebx
shr eax, 0x10
je 0x404fb0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov esi, eax
sub esp, 8
mov eax, str._invalid_
test esi, esi
jne 0x404fc3
movzx edx, word [ebx]
test dx, dx
je 0x405739
lea esi, [esi]
mov ecx, esi
lea esi, [esi + 1]
cmp word [ebx + ecx*2 + 2], 0
jne 0x404e00
mov esi, 0x224c
lea edi, [ebp - 0x136]
mov word [ebp - 0x138], si
lea esi, [ebp - 0x16]
jmp 0x404e68
cmp dx, 9
je 0x405088
cmp dx, 0xa
jne 0x4050a6
mov eax, 0x6e5c
add edi, 2
mov word [edi - 2], ax
lea esi, [esi]
nop
lea eax, [ecx - 1]
cmp edi, esi
ja 0x405118
test ecx, ecx
jle 0x405118
movzx edx, word [ebx]
mov ecx, eax
add ebx, 2
cmp dx, 0xd
je 0x405070
jbe 0x404e28
cmp dx, 0x22
je 0x405100
cmp dx, 0x5c
jne 0x405099
mov eax, 0x5c5c
add edi, 2
mov word [edi - 2], ax
jmp 0x404e50
mov ebx, esi
test byte [0x40708c], 1
je 0x404b18
mov eax, esi
shr eax, 0x10
je 0x4056c9
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x4056de
cmp word [esi], 0
je 0x405931
lea esi, [esi]
mov ecx, eax
lea eax, [eax + 1]
cmp word [ebx + ecx*2 + 2], 0
jne 0x404ee8
mov eax, 0x224c
lea edi, [ebp - 0x136]
lea esi, [ebp - 0x16]
mov word [ebp - 0x138], ax
jmp 0x404f45
cmp ax, 9
je 0x405760
cmp ax, 0xa
jne 0x40578f
mov eax, 0x6e5c
add edi, 2
mov word [edi - 2], ax
lea eax, [ecx - 1]
cmp edi, esi
ja 0x4057f1
test ecx, ecx
jle 0x4057f1
mov ecx, eax
movzx eax, word [ebx]
add ebx, 2
cmp ax, 0xd
je 0x405771
jbe 0x404f10
cmp ax, 0x22
je 0x4057e0
cmp ax, 0x5c
jne 0x405782
mov eax, 0x5c5c
add edi, 2
mov word [edi - 2], ax
jmp 0x404f30
mov dword [esp + 0xc], str.No_file_name_specified_n
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x40708c
mov dword [esp], 0
call fcn.00403d20
mov eax, 1
jmp 0x404b1d
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call fcn.00403a60
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0xc], str.__p__p__s__x__n
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x40708c
mov dword [esp], 3
call fcn.00403d20
jmp 0x404a2c
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x168]
lea eax, [ecx + 1]
mov edi, dword [ebp - 0x16c]
test esi, esi
jle 0x40502b
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00406290
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.ignored__s_switch_n
mov dword [esp + 8], 0x40a1a8
mov dword [esp + 4], 0x40708c
mov dword [esp], 0
call fcn.00403d20
jmp 0x404aa1
mov eax, 0x725c
add edi, 2
mov word [edi - 2], ax
jmp 0x404e50
mov eax, 0x745c
add edi, 2
mov word [edi - 2], ax
jmp 0x404e50
lea eax, [edx - 0x20]
cmp ax, 0x5e
jbe 0x4051f8
mov eax, edx
mov byte [edi], 0x5c
add edi, 5
shr ax, 0xc
movzx eax, ax
movzx eax, byte [eax + str.0123456789abcdefset_host_properties]
mov byte [edi - 4], al
mov eax, edx
shr ax, 8
and eax, 0xf
movzx eax, byte [eax + str.0123456789abcdefset_host_properties]
mov byte [edi - 3], al
mov eax, edx
and edx, 0xf
shr ax, 4
and eax, 0xf
movzx eax, byte [eax + str.0123456789abcdefset_host_properties]
mov byte [edi - 2], al
movzx eax, byte [edx + str.0123456789abcdefset_host_properties]
mov byte [edi - 1], al
jmp 0x404e50
mov eax, 0x225c
add edi, 2
mov word [edi - 2], ax
jmp 0x404e50
mov byte [edi], 0x22
test eax, eax
jle 0x405752
mov ebx, 0x2e2e
mov byte [edi + 3], 0x2e
lea eax, [edi + 4]
mov word [edi + 1], bx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00406290
jmp 0x404fc3
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x404c00
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x404c00
lea esi, [eax - 0x20]
cmp si, 0x5e
jbe 0x4056bf
mov esi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr si, 0xc
movzx esi, si
movzx ebx, byte [esi + str.0123456789abcdefset_host_properties]
mov esi, eax
shr si, 8
and esi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [esi + str.0123456789abcdefset_host_properties]
mov esi, eax
and eax, 0xf
shr si, 4
movzx eax, byte [eax + str.0123456789abcdefset_host_properties]
and esi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [esi + str.0123456789abcdefset_host_properties]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x404c00
mov esi, 0x225c
add ecx, 2
mov word [ecx - 2], si
jmp 0x404c00
mov byte [edi], dl
add edi, 1
jmp 0x404e50
mov dword [esp], 0
lea ebx, [ebp - 0x138]
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x148]
sub esp, 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x410a98
mov dword [esp + 8], 3
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
js 0x405721
mov eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x14c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x40d7b8
mov dword [esp], eax
call dword [edx]
mov edi, eax
mov eax, dword [ebp - 0x138]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test edi, edi
js 0x405721
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x154]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x40d7a8
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
test eax, eax
js 0x405710
mov eax, dword [ebp - 0x154]
mov edi, dword [ebp - 0x14c]
mov dword [esp + 4], ebx
mov dword [esp], str.wscript.exe
mov dword [ebp - 0x15c], eax
call dword [sym.imp.oleaut32.dll_LoadTypeLib]
sub esp, 8
test eax, eax
js 0x405837
mov eax, dword [ebp - 0x138]
mov edx, dword [eax]
mov dword [esp + 8], 0x414024
mov dword [esp + 4], 0x40a1dc
mov dword [esp], eax
call dword [edx + 0x18]
sub esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x138]
mov edx, dword [eax]
js 0x40582e
mov dword [esp + 8], 0x414020
mov dword [esp + 4], 0x40a1fc
mov dword [esp], eax
call dword [edx + 0x18]
mov ebx, eax
mov eax, dword [ebp - 0x138]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test ebx, ebx
js 0x405837
mov eax, dword [edi]
mov dword [esp + 4], 0x407044
mov dword [esp], edi
call dword [eax + 0xc]
sub esp, 8
test eax, eax
js 0x405837
mov ebx, dword [ebp - 0x15c]
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0xc]
sub esp, 4
test eax, eax
js 0x405837
mov eax, dword [edi]
mov dword [esp + 8], 2
mov dword [esp + 4], str.WScript
mov dword [esp], edi
call dword [eax + 0x20]
sub esp, 0xc
test eax, eax
js 0x405837
mov eax, dword [edi]
mov dword [esp + 8], 2
mov dword [esp + 4], 0x409e38
mov dword [esp], edi
call dword [eax + 0x20]
sub esp, 0xc
test eax, eax
js 0x405837
mov eax, dword [edi]
mov dword [esp + 4], 5
mov dword [esp], edi
call dword [eax + 0x14]
sub esp, 8
test eax, eax
js 0x405837
mov eax, dword [ebp - 0x154]
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [ebp - 0x164], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
mov esi, eax
cmp eax, 0xffffffff
je 0x4059c0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetFileSize]
sub esp, 8
mov dword [ebp - 0x160], eax
mov dword [esp], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 2
mov dword [esp + 4], 0
call dword [sym.imp.kernel32.dll_CreateFileMappingW]
sub esp, 0x18
mov ebx, eax
mov dword [esp], esi
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
sub esp, 4
cmp ebx, 0xffffffff
je 0x4059c0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_MapViewOfFile]
sub esp, 0x14
mov dword [ebp - 0x15c], eax
mov dword [esp], ebx
call esi
mov esi, dword [ebp - 0x15c]
sub esp, 4
test esi, esi
je 0x4059c0
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x160]
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
mov dword [ebp - 0x168], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
sub esp, 0x18
mov esi, eax
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.oleaut32.dll_SysAllocStringLen]
mov edx, dword [ebp - 0x168]
sub esp, 8
mov ebx, eax
mov dword [esp + 0x14], esi
mov esi, dword [ebp - 0x15c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x160]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
sub esp, 0x18
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
sub esp, 4
test ebx, ebx
je 0x4059c0
mov ecx, dword [ebp - 0x164]
mov eax, dword [ecx]
mov dword [esp], ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x82
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
call dword [eax + 0x14]
sub esp, 0x28
mov esi, eax
mov dword [esp], ebx
call dword [sym.imp.oleaut32.dll_SysFreeString]
sub esp, 4
test esi, esi
js 0x405a30
mov eax, dword [edi]
mov dword [esp + 4], 1
mov dword [esp], edi
call dword [eax + 0x14]
sub esp, 8
test eax, eax
js 0x4059f6
mov eax, dword [edi]
mov dword [esp], edi
call dword [eax + 0x1c]
mov eax, dword [0x414024]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [edi]
mov dword [esp], edi
call dword [eax + 8]
mov eax, dword [ebp - 0x154]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x404b1d
mov eax, str._null_
jmp 0x404fc3
test byte [0x40708c], 1
je 0x404b18
mov edx, str._null_
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Could_not_find_engine_for__s_n
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x40708c
mov dword [esp], 0
call fcn.00403d20
mov eax, 1
jmp 0x404b1d
mov dword [ebp - 0x160], str.nologo
movzx eax, word [ebp - 0x160]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.00403a60
mov edx, eax
jmp 0x40503e
mov byte [ecx], al
add ecx, 1
jmp 0x404c00
movzx ebx, si
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call fcn.00403a60
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.unsupported_switch__s_n
mov dword [esp + 8], 0x40a1a8
mov dword [esp + 4], 0x40708c
mov dword [esp], 0
call fcn.00403d20
mov eax, 1
jmp 0x404b1d
mov eax, dword [ebp - 0x14c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test byte [0x40708c], 1
jne 0x40596c
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x404b18
mov eax, 0x224c
mov byte [ebp - 0x136], 0x22
lea edi, [ebp - 0x136]
mov word [ebp - 0x138], ax
lea eax, [edi + 1]
jmp 0x405133
mov eax, 0x745c
add edi, 2
mov word [edi - 2], ax
jmp 0x404f30
mov eax, 0x725c
add edi, 2
mov word [edi - 2], ax
jmp 0x404f30
lea edx, [eax - 0x20]
cmp dx, 0x5e
jbe 0x405824
mov edx, eax
mov byte [edi], 0x5c
add edi, 5
shr dx, 0xc
movzx edx, dx
movzx edx, byte [edx + str.0123456789abcdefset_host_properties]
mov byte [edi - 4], dl
mov edx, eax
shr dx, 8
and edx, 0xf
movzx edx, byte [edx + str.0123456789abcdefset_host_properties]
mov byte [edi - 3], dl
mov edx, eax
and eax, 0xf
shr dx, 4
movzx eax, byte [eax + str.0123456789abcdefset_host_properties]
and edx, 0xf
movzx edx, byte [edx + str.0123456789abcdefset_host_properties]
mov byte [edi - 1], al
mov byte [edi - 2], dl
jmp 0x404f30
mov eax, 0x225c
add edi, 2
mov word [edi - 2], ax
jmp 0x404f30
mov byte [edi], 0x22
test eax, eax
jle 0x40594a
mov edx, 0x2e2e
mov byte [edi + 3], 0x2e
lea eax, [edi + 4]
mov word [edi + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00406290
mov edx, eax
jmp 0x4056de
mov byte [edi], al
add edi, 1
jmp 0x404f30
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test byte [0x40708c], 1
je 0x405620
mov dword [esp + 0xc], str.Script_initialization_failed_n
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x40708c
mov dword [esp], 0
call fcn.00403d20
jmp 0x405620
mov eax, 0x725c
add edi, 2
mov word [edi - 2], ax
jmp 0x404d68
mov eax, 0x745c
add edi, 2
mov word [edi - 2], ax
jmp 0x404d68
lea edx, [eax - 0x20]
cmp dx, 0x5e
jbe 0x405995
mov edx, eax
mov byte [edi], 0x5c
add edi, 5
shr dx, 0xc
movzx edx, dx
movzx edx, byte [edx + str.0123456789abcdefset_host_properties]
mov byte [edi - 4], dl
mov edx, eax
shr dx, 8
and edx, 0xf
movzx edx, byte [edx + str.0123456789abcdefset_host_properties]
mov byte [edi - 3], dl
mov edx, eax
and eax, 0xf
shr dx, 4
movzx eax, byte [eax + str.0123456789abcdefset_host_properties]
and edx, 0xf
movzx edx, byte [edx + str.0123456789abcdefset_host_properties]
mov byte [edi - 1], al
mov byte [edi - 2], dl
jmp 0x404d68
mov eax, 0x225c
add edi, 2
mov word [edi - 2], ax
jmp 0x404d68
mov byte [edi], 0x22
test eax, eax
jle 0x4059b8
mov edx, 0x2e2e
mov byte [edi + 3], 0x2e
lea eax, [edi + 4]
mov word [edi + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.00406290
mov edx, eax
jmp 0x405665
mov eax, 0x224c
mov byte [ebp - 0x136], 0x22
lea edi, [ebp - 0x136]
mov word [ebp - 0x138], ax
lea eax, [edi + 1]
jmp 0x40580c
movzx ebx, bx
mov dword [esp], str._04x
mov dword [esp + 4], ebx
call fcn.00403a60
mov edx, eax
jmp 0x405665
mov dword [esp + 0xc], str.Could_not_create_script_engine_n
mov dword [esp + 8], str.wWinMain
mov dword [esp + 4], 0x40708c
mov dword [esp], 0
call fcn.00403d20
jmp 0x40572e
mov byte [edi], al
add edi, 1
jmp 0x404d68
mov eax, 0x224c
mov byte [ebp - 0x136], 0x22
lea edi, [ebp - 0x136]
mov word [ebp - 0x138], ax
lea eax, [edi + 1]
jmp 0x405919
test byte [0x40708c], 1
je 0x405605
mov dword [esp + 0xc], str.Could_not_get_script_text_n
mov dword [esp + 8], str.run_script
mov dword [esp + 4], 0x40708c
mov dword [esp], 0
call fcn.00403d20
jmp 0x405605
test byte [0x40708c], 1
je 0x405605
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.SetScriptState_failed:__08lx_n
mov dword [esp + 8], str.run_script
mov dword [esp + 4], 0x40708c
mov dword [esp], 0
call fcn.00403d20
jmp 0x405605
test byte [0x40708c], 1
je 0x405605
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.ParseScriptText_failed:__08lx_n
mov dword [esp + 8], str.run_script
mov dword [esp + 4], 0x40708c
mov dword [esp], 0
call fcn.00403d20
jmp 0x405605