Function at 0x10058ac0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0004
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x100dbc1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x128], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x120], 0
test eax, eax
je 0x10059054
mov dword [eax + 8], 0
add eax, 0x4c
cmp dword [eax + 0x14], 0x10
jb 0x10058b1b
mov eax, dword [eax]
push 0xfde9
push eax
lea ecx, [ebp - 0x114]
call fcn.1001fee0
push dword [eax]
lea ecx, [ebp - 0x124]
mov dword [ebp - 4], 0
call fcn.10009b50
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 2
cmp eax, ecx
je 0x10058b5d
push eax
call fcn.10087651
add esp, 4
mov eax, dword [ebp - 0x124]
or esi, 0xffffffff
cmp dword [eax - 0xc], 0
je 0x10059034
lea eax, [ebp - 0x130]
push eax
call fcn.1003b6a0
add esp, 4
cmp dword [eax], 0
mov ebx, 1
mov byte [ebp - 4], 3
mov dword [ebp - 0x120], ebx
je 0x10058bc8
lea eax, [ebp - 0x138]
push eax
call fcn.1003b6a0
add esp, 4
mov ecx, dword [eax]
mov ebx, 3
mov dword [ebp - 4], 4
mov dword [ebp - 0x120], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x115], 1
test al, al
jne 0x10058bcf
mov byte [ebp - 0x115], 0
test bl, 2
je 0x10058c00
mov edi, dword [ebp - 0x134]
and ebx, 0xfffffffd
test edi, edi
je 0x10058c00
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10058c00
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10058c00
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x12c]
and ebx, 0xfffffffe
mov dword [ebp - 4], 2
mov dword [ebp - 0x11c], ebx
test edi, edi
je 0x10058c39
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10058c39
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10058c39
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
cmp byte [ebp - 0x115], 0
je 0x10058ce0
lea eax, [ebp - 0x130]
push eax
call fcn.1003b6a0
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 5
call fcn.10015e70
mov edi, eax
push str.browser_path:
push edi
mov byte [ebp - 4], 6
call fcn.10012080
mov edx, dword [ebp - 0x128]
mov esi, 0x100b38d8
mov edx, dword [edx + 0x1cc]
test edx, edx
cmovne esi, edx
push esi
push edi
call fcn.10010030
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0x1d0]
call fcn.10012280
mov edi, dword [ebp - 0x12c]
or esi, 0xffffffff
mov byte [ebp - 4], 2
test edi, edi
je 0x10058cda
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10058cda
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10058cda
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ebx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x1cc]
cmp dword [eax - 0xc], 0
je 0x10058ea2
push 1
push 0
push dword [ebp - 0x124]
push eax
push 0x100b58cc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x138]
push eax
call fcn.1003b6a0
add esp, 4
or ebx, 4
mov byte [ebp - 4], 7
cmp dword [eax], 0
mov dword [ebp - 0x120], ebx
je 0x10058d68
lea eax, [ebp - 0x130]
push eax
call fcn.1003b6a0
add esp, 4
mov ecx, dword [eax]
or ebx, 8
mov dword [ebp - 4], 8
mov dword [ebp - 0x120], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x115], 1
test al, al
jne 0x10058d6f
mov byte [ebp - 0x115], 0
test bl, 8
je 0x10058da0
mov edi, dword [ebp - 0x12c]
and ebx, 0xfffffff7
test edi, edi
je 0x10058da0
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10058da0
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10058da0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x134]
and ebx, 0xfffffffb
mov dword [ebp - 4], 2
test edi, edi
je 0x10058dd3
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10058dd3
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10058dd3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
cmp byte [ebp - 0x115], 0
je 0x10058e86
lea eax, [ebp - 0x130]
push eax
call fcn.1003b6a0
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 9
call fcn.10015e70
mov esi, eax
push str.openurl_1_
push esi
mov byte [ebp - 4], 0xa
call fcn.10012080
mov ecx, dword [ebp - 0x124]
mov edx, 0x100b38d8
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.10010030
push str.__return
push esi
call fcn.10012080
add esp, 0x18
mov ecx, esi
push dword [ebp - 0x128]
call fcn.10015fc0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x14]
lea ecx, [ebp - 0x1d0]
call fcn.10012280
mov edi, dword [ebp - 0x12c]
mov byte [ebp - 4], 2
test edi, edi
je 0x10058e86
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10058e86
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10058e86
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
cmp dword [ebp - 0x128], 0x20
jle 0x10058ea2
mov eax, dword [ebp - 0x124]
mov edi, 1
or esi, 0xffffffff
jmp 0x10059036
lea eax, [ebp - 0x124]
push eax
call fcn.1003dba0
mov edi, eax
lea eax, [ebp - 0x138]
push eax
mov dword [ebp - 0x11c], edi
call fcn.1003b6a0
add esp, 8
or ebx, 0x10
mov byte [ebp - 4], 0xb
cmp dword [eax], 0
mov dword [ebp - 0x120], ebx
je 0x10058f0a
lea eax, [ebp - 0x130]
push eax
call fcn.1003b6a0
add esp, 4
mov ecx, dword [eax]
or ebx, 0x20
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x120], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0x115], 1
test al, al
jne 0x10058f11
mov byte [ebp - 0x115], 0
mov esi, dword [ebp - 0x12c]
test esi, esi
je 0x10058f44
test bl, 0x20
je 0x10058f44
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10058f47
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x10058f47
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x10058f47
or ebx, 0xffffffff
mov esi, dword [ebp - 0x134]
mov dword [ebp - 4], 2
test esi, esi
je 0x10058f77
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10058f77
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x10058f77
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0x115], 0
je 0x10059029
lea eax, [ebp - 0x130]
push eax
call fcn.1003b6a0
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0xd
call fcn.10015e70
mov esi, eax
push str.openurl_2_
push esi
mov byte [ebp - 4], 0xe
call fcn.10012080
mov ecx, dword [ebp - 0x124]
mov eax, 0x100b38d8
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.10010030
push str.__return
push esi
call fcn.10012080
add esp, 0x18
mov ecx, esi
push dword [ebp - 0x11c]
call fcn.10015fc0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x14]
lea ecx, [ebp - 0x1d0]
call fcn.10012280
mov esi, dword [ebp - 0x12c]
test esi, esi
je 0x10059023
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10059023
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x10059023
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x124]
or esi, 0xffffffff
jmp 0x10059036
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10059052
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100763b4
mov esp, ebp
pop ebp
ret 4