Function at 0x439384
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f9f09
mov eax, dword fs:[0]
push eax
sub esp, 0x3d0
mov eax, dword [0x5550ec]
xor eax, esp
mov dword [esp + 0x3c8], eax
push ebx
push esi
push edi
mov eax, dword [0x5550ec]
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 0x43998e
lea eax, [esp + 0x64]
mov esi, 0xfde9
push esi
mov dword [esp + 0x64], eax
push edi
lea eax, [esp + 0x68]
push eax
call fcn.004334d3
mov dword [esp + 0x3e8], ebx
push dword [esp + 0x60]
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__]
lea eax, [esp + 0x64]
mov byte [esp + 0x3e8], 2
cmp dword [esp + 0x60], eax
je 0x43942e
push dword [esp + 0x60]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
lea ecx, [esp + 0x35c]
call fcn.004d3270
push ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x3ec], 3
call fcn.004d0f50
mov byte [esp + 0x3e8], 4
cmp dword [esp + 0x304], 0x10
mov eax, dword [esp + 0x2f0]
jae 0x43946c
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.004d4e30
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 0x439506
cmp dword [0x55ac14], 0
je 0x439954
push edi
push str.parse_error:
push 0x511610
push str.KCommonPopBase::OnJsEventExecCmd
push 0x5115dc
lea eax, [esp + 0x24]
push eax
push 0x5115d8
push ecx
mov dword [esp + 0x30], 0x37d
call fcn.004022da
add esp, 4
call fcn.00402322
call fcn.00423ea4
call fcn.00402322
jmp 0x439939
lea ecx, [esp + 0x2c]
call fcn.004cfc60
test al, al
jne 0x4398fb
lea ecx, [esp + 0x2c]
call fcn.004cfcb0
test al, al
je 0x4398fb
lea eax, [esp + 0x340]
push eax
push 0x50c07c
lea ecx, [esp + 0x34]
call fcn.004d2220
mov ecx, eax
call fcn.004cfad0
lea eax, [esp + 0x308]
push eax
push str.eventid
lea ecx, [esp + 0x34]
mov byte [esp + 0x3f0], 6
call fcn.004d2220
mov ecx, eax
call fcn.004cfad0
lea eax, [esp + 0x324]
push eax
push str.content
lea ecx, [esp + 0x34]
mov byte [esp + 0x3f0], 7
call fcn.004d2220
mov ecx, eax
call fcn.004cfad0
mov byte [esp + 0x3e8], 8
cmp dword [esp + 0x320], 0x10
mov eax, dword [esp + 0x30c]
jae 0x4395af
lea eax, [esp + 0x30c]
push esi
push eax
lea eax, [esp + 0x1f0]
lea ecx, [esp + 0x1f4]
push eax
mov dword [esp + 0x1f4], ecx
call fcn.004062ed
mov byte [esp + 0x3e8], 9
push dword [esp + 0x1e8]
lea eax, [esp + 0x28]
push eax
call fcn.00402cc5
lea eax, [esp + 0x1ec]
mov byte [esp + 0x3e8], 0xb
cmp dword [esp + 0x1e8], eax
je 0x43960b
push dword [esp + 0x1e8]
call dword [sym.imp.MSVCR80.dll_free]
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 0x439637
lea eax, [esp + 0x328]
push esi
push eax
lea eax, [esp + 0xec]
lea ecx, [esp + 0xf0]
push eax
mov dword [esp + 0xf0], ecx
call fcn.004062ed
mov byte [esp + 0x3e8], 0xc
push dword [esp + 0xe4]
lea eax, [esp + 0x18]
push eax
call fcn.00402cc5
lea eax, [esp + 0xe8]
mov byte [esp + 0x3e8], 0xe
cmp dword [esp + 0xe4], eax
je 0x439693
push dword [esp + 0xe4]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jne 0x439756
cmp dword [0x55ac14], 0
je 0x4396fa
push str.commandline_is_empty
push 0x511610
push str.KCommonPopBase::OnJsEventExecCmd
push 0x5115dc
lea eax, [esp + 0x20]
push eax
push 0x5115d8
mov dword [esp + 0x28], 0x391
call fcn.004022da
call fcn.00402322
call fcn.00423ea4
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
mov esi, eax
call fcn.0040234b
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 0x439954
xor ebx, ebx
lea ecx, [esp + 0x18]
call fcn.004907c2
mov byte [esp + 0x3e8], 0xf
mov eax, dword [esp + 0x18]
xor esi, esi
cmp dword [eax - 0xc], esi
jne 0x4397dd
cmp dword [0x55ac14], esi
je 0x4397cc
push str.modulepath_is_empty
push 0x511610
push str.KCommonPopBase::OnJsEventExecCmd
push 0x5115dc
lea eax, [esp + 0x20]
push eax
push 0x5115d8
mov dword [esp + 0x28], 0x398
call fcn.004022da
call fcn.00402322
call fcn.00423ea4
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
mov esi, eax
call fcn.0040234b
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004012f9
jmp 0x4396fa
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004c7aee
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x3f8], 0x10
call fcn.004c7b51
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.004029fb
xor edi, edi
inc edi
push edi
push esi
push dword [esp + 0x30]
push dword [esp + 0x24]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cdq
cmp edx, esi
jl 0x43984a
jg 0x439844
cmp eax, 0x20
jbe 0x43984a
mov dword [esp + 0x20], edi
jmp 0x43984e
mov dword [esp + 0x20], esi
cmp dword [0x55ac14], esi
je 0x4398de
lea eax, [esp + 0x20]
push eax
push str.___result:
push dword [esp + 0x30]
lea eax, [esp + 0x1c]
push 0x50c1e0
push dword [esp + 0x28]
mov dword [esp + 0x24], 0x3a3
push str.ShellExecute_
push 0x511610
push str.KCommonPopBase::OnJsEventExecCmd
push 0x5115dc
push eax
push 0x5115d8
push ecx
call fcn.004022da
add esp, 4
call fcn.00402322
call fcn.00423ea4
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00423ea4
mov esi, eax
call fcn.0040234b
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.004012f9
jmp 0x4397cc
cmp dword [0x55ac14], 0
je 0x439954
push str.root_is_null
push 0x511610
push str.KCommonPopBase::OnJsEventExecCmd
push 0x5115dc
lea eax, [esp + 0x20]
push eax
push 0x5115d8
mov dword [esp + 0x28], 0x383
call fcn.004022da
call fcn.00402322
call fcn.00423ea4
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
mov esi, eax
call fcn.0040234b
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3e8], 3
call fcn.004d1130
lea ecx, [esp + 0x35c]
mov byte [esp + 0x3e8], 2
call fcn.00423072
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 [0x55a320]
mov ecx, 0x55a320
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.00401a17
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.004d6e66
mov esp, ebp
pop ebp
ret 8