Function at 0x100246f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10104b1e
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x1014b520]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
xor eax, eax
or edi, 0xffffffff
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x19], al
cmp dword [esi + 0xd0], eax
jne 0x100247a3
call fcn.1003fde0
test eax, eax
je 0x100250fd
call fcn.1003fde0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x100250fd
call fcn.1003fde0
lea ecx, [ebp - 0xc8]
mov edi, eax
call fcn.100053e0
mov esi, eax
push str.param_error
push esi
mov dword [ebp - 4], 0
call fcn.10003110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 0xffffffff
call fcn.100083c0
or edi, 0xffffffff
jmp 0x100250fd
call fcn.1003fde0
test eax, eax
je 0x10024983
call fcn.1003fde0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x10024983
call fcn.1003fde0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc8], 0x1010dc14
mov eax, 1
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x78]
push 0
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x78], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
push eax
mov dword [ebp - 0x7c], 0x48
call fcn.1000fd80
mov eax, dword [ebp - 0xc8]
push 8
mov dword [ebp - 4], 3
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc8], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xcc], eax
mov dword [ebp - 0xc4], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.100bb0a7
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10024875
xorps xmm0, xmm0
movq qword [eax], xmm0
push 1
mov byte [ebp - 4], 4
call fcn.10033685
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ecx + 4], eax
jmp 0x10024877
xor ecx, ecx
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xc4], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 4
lea eax, [ebp - 0xc8]
mov dword [ebp - 4], 5
push str.url:
push eax
call fcn.10003110
lea ecx, [esi + 0xc0]
add esp, 8
cmp dword [ecx + 0x14], 8
jb 0x10024948
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x1010dc24
cmovne eax, ecx
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.10003110
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0xc8]
add esp, 8
mov eax, dword [ecx]
push edx
call dword [eax + 0x14]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 0xffffffff
call fcn.100083c0
push dword [esi + 0xbc]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call fcn.100316d0
add esp, 8
mov dword [ebp - 4], 6
call fcn.1003fde0
test eax, eax
je 0x10024b68
call fcn.1003fde0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x10024b68
call fcn.1003fde0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc8], 0x1010dc14
or dword [ebp - 0x24], 4
lea eax, [ebp - 0xc4]
push 0
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 7
mov dword [ebp - 0x78], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x7c], 0x48
call fcn.1000fd80
mov eax, dword [ebp - 0xc8]
push 8
mov dword [ebp - 4], 9
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc8], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xcc], eax
mov dword [ebp - 0xc4], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.100bb0a7
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10024a6e
xorps xmm0, xmm0
movq qword [eax], xmm0
push 1
mov byte [ebp - 4], 0xa
call fcn.10033685
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ecx + 4], eax
jmp 0x10024a70
xor ecx, ecx
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xc4], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 4
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0xb
push str.apppath
push eax
call fcn.10006900
mov eax, dword [ebp - 0x14]
mov ecx, 0x1010dc24
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0xc8]
push ecx
push eax
call fcn.10003110
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0xc8]
add esp, 0x10
mov eax, dword [ecx]
push edx
call dword [eax + 0x14]
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 6
call fcn.100083c0
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x10024bb6
call fcn.1003fde0
test eax, eax
je 0x100250dc
call fcn.1003fde0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x100250dc
call fcn.1003fde0
lea ecx, [ebp - 0xc8]
mov edi, eax
call fcn.100053e0
mov esi, eax
mov byte [ebp - 4], 0xc
push str.br_path_empty
jmp 0x100250bd
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x10025085
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10025085
push dword [esi + 0xbc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10025085
call fcn.10001bd0
mov ecx, eax
test ecx, ecx
je 0x10025207
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
cmp dword [esi + 0xd4], 8
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 0xe
jb 0x10024c1c
mov ecx, dword [esi + 0xc0]
push ecx
lea eax, [ebp - 0x20]
push str.__s_
push eax
call fcn.10001aa0
mov esi, dword [ebp - 0x20]
add esp, 0xc
push 1
push 0
push esi
push dword [ebp - 0x14]
push 0x1010f360
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x18], eax
call fcn.1003fde0
test eax, eax
je 0x10024df7
call fcn.1003fde0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x10024df7
call fcn.1003fde0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0xc8], 0x1010dc14
or dword [ebp - 0x24], 0x10
lea eax, [ebp - 0xc4]
push 0
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x78], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x7c], 0x48
call fcn.1000fd80
mov eax, dword [ebp - 0xc8]
push 8
mov dword [ebp - 4], 0x11
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc8], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xcc], eax
mov dword [ebp - 0xc4], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.100bb0a7
add esp, 4
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10024d17
xorps xmm0, xmm0
movq qword [eax], xmm0
push 1
mov byte [ebp - 4], 0x12
call fcn.10033685
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov dword [ecx + 4], eax
jmp 0x10024d19
xor ecx, ecx
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xc4], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 4
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x13
push str.shell_execute_end
push eax
call fcn.10006900
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0xc8]
add esp, 8
mov eax, dword [ecx]
push edx
call dword [eax + 0x14]
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0xe
call fcn.100083c0
cmp dword [ebp - 0x18], 0x20
jg 0x10024ea9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
call fcn.1003fde0
test eax, eax
je 0x10024e85
call fcn.1003fde0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x10024e85
call fcn.1003fde0
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x2c], eax
call fcn.100053e0
mov edi, eax
push str.open_fail__ret
push edi
mov byte [ebp - 4], 0x14
call fcn.10006900
add esp, 8
mov ecx, edi
push dword [ebp - 0x18]
call fcn.10012dd0
push str.__errcode
push edi
call fcn.10006900
add esp, 8
mov ecx, edi
push dword [ebp - 0x28]
call fcn.1001ff80
mov ecx, dword [ebp - 0x2c]
push edi
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0xc8]
call fcn.100083c0
or edi, 0xffffffff
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100250dc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100250dc
or edi, 0xffffffff
mov byte [ebp - 0x19], 1
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10024ecb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, edi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10024eec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x30]
cmp dword [esi + 0xa0], 1
jne 0x10024f81
lea eax, [esi + 0x28]
lea ecx, [esi + 0x58]
cmp ecx, eax
je 0x10024f19
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x10024f10
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.1000f130
cmp dword [esi + 0xd4], 8
lea eax, [esi + 0xc0]
jb 0x10024f2a
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.10051ab0
lea ecx, [esi + 0x70]
mov dword [ebp - 0x28], eax
add esp, 0xc
cmp ecx, eax
je 0x10024f76
call fcn.10005fd0
mov eax, dword [ebp - 0x28]
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x80], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea ecx, [ebp - 0x150]
call fcn.10005fd0
add esi, 0x88
mov dword [ebp - 0x24], 0
cmp dword [esi + 0x14], 0x10
jb 0x10024f96
mov esi, dword [esi]
push 0xfde9
lea eax, [ebp - 0x130]
push esi
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x134], eax
call fcn.100226a0
push dword [ebp - 0x134]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0x15
call fcn.10002a70
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x17
cmp eax, ecx
je 0x10024fe5
push eax
call fcn.100de077
add esp, 4
call fcn.10001bd0
mov ecx, eax
test ecx, ecx
je 0x10025211
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x18
push str.succ__s
push eax
call fcn.10001aa0
mov esi, dword [ebp - 0x18]
add esp, 0xc
push 0
push 0
push 1
push 0
push esi
call fcn.10008d90
mov ecx, eax
call fcn.10040cb0
mov eax, dword [ebp - 0x30]
push dword [eax + 0xa0]
mov ecx, dword [eax + 0x1c]
call fcn.1000a990
mov byte [ebp - 4], 0x17
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1002505d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x100251e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100251e9
call fcn.1003fde0
test eax, eax
je 0x100250dc
call fcn.1003fde0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x100250dc
call fcn.1003fde0
lea ecx, [ebp - 0xc8]
mov edi, eax
call fcn.100053e0
mov esi, eax
mov byte [ebp - 4], 0xd
push str.br_wnd_not_exist.
push esi
call fcn.10006900
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0xc8]
call fcn.100083c0
or edi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, edi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100250fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x30]
add eax, 0x88
mov dword [ebp - 0x20], 0
cmp dword [eax + 0x14], 0x10
jb 0x10025114
mov eax, dword [eax]
lea ecx, [ebp - 0x250]
push 0xfde9
mov dword [ebp - 0x254], ecx
lea ecx, [ebp - 0x254]
push eax
call fcn.100226a0
push dword [ebp - 0x254]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0x19
call fcn.10002a70
mov eax, dword [ebp - 0x254]
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0x1b
cmp eax, ecx
je 0x10025163
push eax
call fcn.100de077
add esp, 4
call fcn.10001bd0
mov ecx, eax
test ecx, ecx
je 0x1002521b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x1c
push str.fail__s
push eax
call fcn.10001aa0
mov esi, dword [ebp - 0x18]
add esp, 0xc
push 0
push 0
push 1
push 0
push esi
call fcn.10008d90
mov ecx, eax
call fcn.10040cb0
mov byte [ebp - 4], 0x1b
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100251ca
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x100251e9
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bb073
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10001900
push 0x80004005
call fcn.10001900
push 0x80004005
call fcn.10001900
int3