Function at 0x4376bc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a3ad9
mov eax, dword fs:[0]
push eax
sub esp, 0x3d0
mov eax, dword [0x4dc0a8]
xor eax, esp
mov dword [esp + 0x3c8], eax
push ebx
push esi
push edi
mov eax, dword [0x4dc0a8]
xor eax, esp
push eax
lea eax, [esp + 0x3e0]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], ebx
je 0x437cb4
push edi
lea esi, [esp + 0x64]
call fcn.0043179a
mov dword [esp + 0x3e8], ebx
push dword [eax]
lea ecx, [esp + 0x2f0]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov byte [esp + 0x3e8], 2
mov esi, dword [sym.imp.MSVCR80.dll_free]
lea eax, [esp + 0x64]
cmp dword [esp + 0x60], eax
je 0x437757
push dword [esp + 0x60]
call esi
pop ecx
lea ecx, [esp + 0x35c]
call fcn.00483680
push ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x3ec], 3
call fcn.00481480
mov byte [esp + 0x3e8], 4
cmp dword [esp + 0x304], 0x10
mov eax, dword [esp + 0x2f0]
jae 0x437795
lea eax, [esp + 0x2f0]
push eax
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 1
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x368]
mov byte [esp + 0x3f4], 5
call fcn.00485240
mov bl, al
neg bl
sbb bl, bl
lea ecx, [esp + 0x44]
inc bl
mov byte [esp + 0x3e8], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
je 0x43782f
cmp dword [0x4e0da8], 0
je 0x437c7a
push edi
push str.parse_error:
push 0x4b3fb8
push str.KCommonPopBase::OnJsEventExecCmd
push 0x4b3f84
lea eax, [esp + 0x24]
push eax
push 0x4b3f80
push ecx
mov dword [esp + 0x30], 0x37d
call fcn.00422cfe
add esp, 4
call fcn.00422d46
call fcn.00422d6f
call fcn.00422d46
jmp 0x437c5f
lea ecx, [esp + 0x2c]
call fcn.00480210
test al, al
jne 0x437c21
lea ecx, [esp + 0x2c]
call fcn.00480260
test al, al
je 0x437c21
lea eax, [esp + 0x340]
push eax
push 0x4aec7c
lea ecx, [esp + 0x34]
call fcn.00482630
mov ecx, eax
call fcn.00480080
lea eax, [esp + 0x308]
push eax
push str.eventid
lea ecx, [esp + 0x34]
mov byte [esp + 0x3f0], 6
call fcn.00482630
mov ecx, eax
call fcn.00480080
lea eax, [esp + 0x324]
push eax
push str.content
lea ecx, [esp + 0x34]
mov byte [esp + 0x3f0], 7
call fcn.00482630
mov ecx, eax
call fcn.00480080
mov byte [esp + 0x3e8], 8
cmp dword [esp + 0x320], 0x10
mov eax, dword [esp + 0x30c]
jae 0x4378d8
lea eax, [esp + 0x30c]
mov edi, 0xfde9
push edi
push eax
lea eax, [esp + 0x1f0]
lea ecx, [esp + 0x1f4]
push eax
mov dword [esp + 0x1f4], ecx
call fcn.00405167
mov byte [esp + 0x3e8], 9
push dword [esp + 0x1e8]
lea eax, [esp + 0x28]
push eax
call fcn.00405f0e
lea eax, [esp + 0x1ec]
mov byte [esp + 0x3e8], 0xb
cmp dword [esp + 0x1e8], eax
je 0x437935
push dword [esp + 0x1e8]
call esi
pop ecx
mov ecx, dword [esp + 0x10]
add ecx, 0x3dc
mov eax, dword [ecx]
lea edx, [esp + 0x24]
push edx
call dword [eax + 0x10]
cmp dword [esp + 0x33c], 0x10
mov eax, dword [esp + 0x328]
jae 0x437961
lea eax, [esp + 0x328]
push edi
push eax
lea eax, [esp + 0xec]
lea ecx, [esp + 0xf0]
push eax
mov dword [esp + 0xf0], ecx
call fcn.00405167
mov byte [esp + 0x3e8], 0xc
push dword [esp + 0xe4]
lea eax, [esp + 0x18]
push eax
call fcn.00405f0e
lea eax, [esp + 0xe8]
mov byte [esp + 0x3e8], 0xe
cmp dword [esp + 0xe4], eax
je 0x4379b9
push dword [esp + 0xe4]
call esi
pop ecx
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jne 0x437a7c
cmp dword [0x4e0da8], 0
je 0x437a20
push str.commandline_is_empty
push 0x4b3fb8
push str.KCommonPopBase::OnJsEventExecCmd
push 0x4b3f84
lea eax, [esp + 0x20]
push eax
push 0x4b3f80
mov dword [esp + 0x28], 0x391
call fcn.00422cfe
call fcn.00422d46
call fcn.00422d6f
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
mov esi, eax
call fcn.00422d9a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.004012f9
lea ecx, [esp + 0x324]
mov byte [esp + 0x3e8], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x308]
mov byte [esp + 0x3e8], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x340]
mov byte [esp + 0x3e8], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x437c7a
xor ebx, ebx
lea ecx, [esp + 0x18]
call fcn.00467016
mov byte [esp + 0x3e8], 0xf
mov eax, dword [esp + 0x18]
xor edi, edi
cmp dword [eax - 0xc], edi
jne 0x437b03
cmp dword [0x4e0da8], edi
je 0x437af2
push str.modulepath_is_empty
push 0x4b3fb8
push str.KCommonPopBase::OnJsEventExecCmd
push 0x4b3f84
lea eax, [esp + 0x20]
push eax
push 0x4b3f80
mov dword [esp + 0x28], 0x398
call fcn.00422cfe
call fcn.00422d46
call fcn.00422d6f
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
mov esi, eax
call fcn.00422d9a
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004012f9
jmp 0x437a20
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00478676
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x3f8], 0x10
call fcn.004786d9
add esp, 0x10
mov byte [esp + 0x3e8], 0x11
mov eax, dword [esp + 0x1c]
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x20]
call fcn.0040600b
xor esi, esi
inc esi
push esi
push edi
push dword [esp + 0x30]
push dword [esp + 0x24]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cdq
cmp edx, edi
jl 0x437b70
jg 0x437b6a
cmp eax, 0x20
jbe 0x437b70
mov dword [esp + 0x20], esi
jmp 0x437b74
mov dword [esp + 0x20], edi
cmp dword [0x4e0da8], edi
je 0x437c04
lea eax, [esp + 0x20]
push eax
push str.___result:
push dword [esp + 0x30]
lea eax, [esp + 0x1c]
push 0x4aede0
push dword [esp + 0x28]
mov dword [esp + 0x24], 0x3a3
push str.ShellExecute_
push 0x4b3fb8
push str.KCommonPopBase::OnJsEventExecCmd
push 0x4b3f84
push eax
push 0x4b3f80
push ecx
call fcn.00422cfe
add esp, 4
call fcn.00422d46
call fcn.00422d6f
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
call fcn.00422d6f
mov esi, eax
call fcn.00422d9a
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.004012f9
jmp 0x437af2
cmp dword [0x4e0da8], 0
je 0x437c7a
push str.root_is_null
push 0x4b3fb8
push str.KCommonPopBase::OnJsEventExecCmd
push 0x4b3f84
lea eax, [esp + 0x20]
push eax
push 0x4b3f80
mov dword [esp + 0x28], 0x383
call fcn.00422cfe
call fcn.00422d46
call fcn.00422d6f
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
call fcn.00422d46
mov esi, eax
call fcn.00422d9a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3e8], 3
call fcn.00481660
lea ecx, [esp + 0x35c]
mov byte [esp + 0x3e8], 2
call fcn.00421ee6
or dword [esp + 0x3e8], 0xffffffff
lea ecx, [esp + 0x2ec]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [0x4e0530]
mov ecx, 0x4e0530
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3e8], 0x12
push dword [esp + 0x20]
lea eax, [esp + 0x20]
push str._ret_:_d
call fcn.00401a22
mov esi, dword [esp + 0x24]
pop ecx
pop ecx
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
lea eax, [esi - 0x10]
call fcn.004012f9
mov ecx, dword [esp + 0x3e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c8]
xor ecx, esp
call fcn.00486d86
mov esp, ebp
pop ebp
ret 8