Function at 0x438185
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f3332
mov eax, dword fs:[0]
push eax
sub esp, 0x3d0
mov eax, dword [0x54b0c4]
xor eax, esp
mov dword [esp + 0x3c8], eax
push ebx
push esi
push edi
mov eax, dword [0x54b0c4]
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 0x43878f
lea eax, [esp + 0x64]
mov esi, 0xfde9
push esi
mov dword [esp + 0x64], eax
push edi
lea eax, [esp + 0x68]
push eax
call fcn.00432567
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 0x43822f
push dword [esp + 0x60]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
lea ecx, [esp + 0x35c]
call fcn.004cd8a0
push ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x3ec], 3
call fcn.004cb610
mov byte [esp + 0x3e8], 4
cmp dword [esp + 0x304], 0x10
mov eax, dword [esp + 0x2f0]
jae 0x43826d
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.004cf460
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 0x438307
cmp dword [0x550bdc], 0
je 0x438755
push edi
push str.parse_error:
push 0x509228
push str.KCommonPopBase::OnJsEventExecCmd
push 0x5091f4
lea eax, [esp + 0x24]
push eax
push 0x5091f0
push ecx
mov dword [esp + 0x30], 0x336
call fcn.004022f5
add esp, 4
call fcn.0040233d
call fcn.00423894
call fcn.0040233d
jmp 0x43873a
lea ecx, [esp + 0x2c]
call fcn.004ca440
test al, al
jne 0x4386fc
lea ecx, [esp + 0x2c]
call fcn.004ca490
test al, al
je 0x4386fc
lea eax, [esp + 0x340]
push eax
push 0x503f6c
lea ecx, [esp + 0x34]
call fcn.004cc850
mov ecx, eax
call fcn.004ca2b0
lea eax, [esp + 0x308]
push eax
push str.eventid
lea ecx, [esp + 0x34]
mov byte [esp + 0x3f0], 6
call fcn.004cc850
mov ecx, eax
call fcn.004ca2b0
lea eax, [esp + 0x324]
push eax
push str.content
lea ecx, [esp + 0x34]
mov byte [esp + 0x3f0], 7
call fcn.004cc850
mov ecx, eax
call fcn.004ca2b0
mov byte [esp + 0x3e8], 8
cmp dword [esp + 0x320], 0x10
mov eax, dword [esp + 0x30c]
jae 0x4383b0
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.00405fd8
mov byte [esp + 0x3e8], 9
push dword [esp + 0x1e8]
lea eax, [esp + 0x28]
push eax
call fcn.00402d09
lea eax, [esp + 0x1ec]
mov byte [esp + 0x3e8], 0xb
cmp dword [esp + 0x1e8], eax
je 0x43840c
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 0x438438
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.00405fd8
mov byte [esp + 0x3e8], 0xc
push dword [esp + 0xe4]
lea eax, [esp + 0x18]
push eax
call fcn.00402d09
lea eax, [esp + 0xe8]
mov byte [esp + 0x3e8], 0xe
cmp dword [esp + 0xe4], eax
je 0x438494
push dword [esp + 0xe4]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jne 0x438557
cmp dword [0x550bdc], 0
je 0x4384fb
push str.commandline_is_empty
push 0x509228
push str.KCommonPopBase::OnJsEventExecCmd
push 0x5091f4
lea eax, [esp + 0x20]
push eax
push 0x5091f0
mov dword [esp + 0x28], 0x34a
call fcn.004022f5
call fcn.0040233d
call fcn.00423894
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
mov esi, eax
call fcn.00402366
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 0x438755
xor ebx, ebx
lea ecx, [esp + 0x18]
call fcn.0048afb1
mov byte [esp + 0x3e8], 0xf
mov eax, dword [esp + 0x18]
xor esi, esi
cmp dword [eax - 0xc], esi
jne 0x4385de
cmp dword [0x550bdc], esi
je 0x4385cd
push str.modulepath_is_empty
push 0x509228
push str.KCommonPopBase::OnJsEventExecCmd
push 0x5091f4
lea eax, [esp + 0x20]
push eax
push 0x5091f0
mov dword [esp + 0x28], 0x351
call fcn.004022f5
call fcn.0040233d
call fcn.00423894
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
mov esi, eax
call fcn.00402366
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004012f9
jmp 0x4384fb
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004c0441
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x3f8], 0x10
call fcn.004c04a4
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.00402a3f
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 0x43864b
jg 0x438645
cmp eax, 0x20
jbe 0x43864b
mov dword [esp + 0x20], edi
jmp 0x43864f
mov dword [esp + 0x20], esi
cmp dword [0x550bdc], esi
je 0x4386df
lea eax, [esp + 0x20]
push eax
push str.___result:
push dword [esp + 0x30]
lea eax, [esp + 0x1c]
push 0x5040d0
push dword [esp + 0x28]
mov dword [esp + 0x24], 0x35c
push str.ShellExecute_
push 0x509228
push str.KCommonPopBase::OnJsEventExecCmd
push 0x5091f4
push eax
push 0x5091f0
push ecx
call fcn.004022f5
add esp, 4
call fcn.0040233d
call fcn.00423894
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.00423894
mov esi, eax
call fcn.00402366
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.004012f9
jmp 0x4385cd
cmp dword [0x550bdc], 0
je 0x438755
push str.root_is_null
push 0x509228
push str.KCommonPopBase::OnJsEventExecCmd
push 0x5091f4
lea eax, [esp + 0x20]
push eax
push 0x5091f0
mov dword [esp + 0x28], 0x33c
call fcn.004022f5
call fcn.0040233d
call fcn.00423894
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
mov esi, eax
call fcn.00402366
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3e8], 3
call fcn.004cb760
lea ecx, [esp + 0x35c]
mov byte [esp + 0x3e8], 2
call fcn.00422b34
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 [0x550310]
mov ecx, 0x550310
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.00401a57
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.004d0736
mov esp, ebp
pop ebp
ret 8