Function at 0x100057d8
Capabilities:
Create process on windows

Disassembly:
push 0x5c
mov eax, 0x1001672d
call fcn.10015407
mov dword [ebp - 0x3c], edx
mov esi, ecx
mov dword [ebp - 0x28], esi
mov eax, dword [0x100201d4]
cmp eax, 0x100201d4
je 0x1000581c
test byte [eax + 0x3c], 1
je 0x1000581c
cmp byte [eax + 0x39], 4
jb 0x1000581c
push esi
push 0x1001a610
push 0x12
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.1000313c
mov eax, dword [0x100201d4]
xor ebx, ebx
test byte [eax + 0x3c], 1
mov dword [ebp - 0x2c], ebx
je 0x1000582f
cmp byte [eax + 0x39], 4
mov cl, 1
jae 0x10005831
mov cl, bl
mov dword [ebp - 0x44], str.CBrowserHelper::ProcessElementClickOrKeyPress
mov byte [ebp - 0x40], cl
mov dword [ebp - 4], ebx
test byte [eax + 0x3c], 1
je 0x1000584f
cmp byte [eax + 0x39], 4
jb 0x1000584f
call fcn.10012ae2
mov dword [ebp - 0x34], ebx
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 1
lea ecx, [esi + 0x7c]
call fcn.1000eaf0
test eax, eax
jns 0x1000586d
or esi, 0xffffffff
jmp 0x10005c96
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x34]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test eax, eax
js 0x10005893
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1000598e
mov dword [ebp - 0x20], ebx
push 3
pop eax
lea edx, [ebp - 0x20]
mov byte [ebp - 4], al
lea ecx, [esi + 0x7c]
call fcn.1000ea5c
mov esi, dword [ebp - 0x20]
test eax, eax
js 0x10005c7c
test esi, esi
je 0x10005c86
mov eax, dword [esi]
lea ecx, [ebp - 0x38]
push ecx
push esi
call dword [eax + 0x20]
mov eax, dword [ebp - 0x38]
test eax, eax
jle 0x1000597b
push 3
mov edi, ebx
pop eax
push 9
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x68]
pop eax
push ecx
mov dword [ebp - 0x50], edi
lea ecx, [ebp - 0x58]
mov word [ebp - 0x68], ax
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x1c]
test eax, eax
js 0x10005c7c
mov edx, dword [ebp - 0x60]
mov ecx, ebx
mov dword [ebp - 0x18], ecx
test edx, edx
je 0x1000591f
mov eax, dword [edx]
lea ecx, [ebp - 0x18]
push ecx
push 0x1001a544
push edx
call dword [eax]
mov ecx, dword [ebp - 0x18]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 4
test ecx, ecx
jne 0x1000592f
push 3
pop eax
mov byte [ebp - 4], al
jmp 0x1000595c
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push ecx
call dword [eax + 0xd4]
test eax, eax
js 0x10005946
cmp dword [ebp - 0x14], 0
jne 0x10005968
push 3
pop eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10005959
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 3
pop eax
inc edi
cmp edi, dword [ebp - 0x38]
jl 0x100058d4
jmp 0x1000597b
push 3
pop eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000597b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x14], 0
je 0x10005c7c
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 5
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jns 0x100059ab
or esi, 0xffffffff
jmp 0x10005c6d
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 6
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
js 0x10005c5f
push dword [ebp - 0x10]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
call esi
test eax, eax
je 0x100059eb
push dword [ebp - 0x10]
call esi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_CharUpperBuffW]
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x10]
call fcn.1000313c
test al, al
je 0x10005c5f
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 7
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
jns 0x10005a1e
or esi, 0xffffffff
jmp 0x10005c50
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 8
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x30]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x10005c42
cmp dword [ebp - 0x24], 0
je 0x10005a59
push dword [ebp - 0x24]
push dword [0x100234fc]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x10005c42
lea ecx, [ebp - 0x20]
call fcn.1000313c
push 9
pop eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x98], 6
jne 0x10005ac5
push 0x100194ec
lea ecx, [ebp - 0x3c]
call fcn.1000313c
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x3c]
push edx
push 2
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
test eax, eax
jns 0x10005aad
test esi, esi
je 0x10005aa2
push esi
call edi
mov edi, dword [ebp - 0x20]
or esi, 0xffffffff
jmp 0x10005c32
push dword [ebp - 0x60]
lea ecx, [ebp - 0x20]
call fcn.1000313c
push 9
pop eax
mov byte [ebp - 4], al
test esi, esi
je 0x10005b0f
push esi
jmp 0x10005b0d
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
jns 0x10005af3
cmp dword [ebp - 0x18], 0
je 0x10005aeb
push dword [ebp - 0x18]
call edi
mov edi, dword [ebp - 0x20]
or esi, 0xffffffff
jmp 0x10005b64
push dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
call fcn.1000313c
push 9
pop eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x18], 0
je 0x10005b0f
push dword [ebp - 0x18]
call edi
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
cmp dword [esi + 0x90], ebx
jne 0x10005b2c
lea ecx, [esi + 0x90]
call fcn.1000313c
test eax, eax
js 0x10005b94
lea eax, [edi - 0x10]
push eax
call fcn.1000313c
pop ecx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x3c], ebx
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x90]
call fcn.1000eddc
push 9
mov esi, eax
lea ecx, [ebx - 0x10]
pop eax
mov byte [ebp - 4], al
call fcn.1000e298
test esi, esi
js 0x10005b6c
xor esi, esi
movzx esi, si
jmp 0x10005c32
mov esi, dword [ebp - 0x28]
xor ebx, ebx
push ebx
push dword [esi + 0x90]
call dword [sym.imp.ole32.dll_CoDisconnectObject]
mov eax, dword [esi + 0x90]
test eax, eax
je 0x10005b94
mov dword [esi + 0x90], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [edi - 0x10]
push eax
call fcn.1000313c
add eax, 0x10
pop ecx
mov dword [ebp - 0x18], eax
mov dl, 1
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x18]
call fcn.1000ec13
test eax, eax
js 0x10005c24
lea ecx, [ebp - 0x28]
call fcn.1000313c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call fcn.1000e611
test eax, eax
jns 0x10005bd3
mov dword [ebp - 0x2c], ebx
jmp 0x10005c19
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
push eax
call fcn.1000313c
add eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x38]
mov dword [esp], str.lync.exe
call fcn.1000313c
mov esi, dword [ebp - 0x38]
push 1
push ebx
push dword [ebp - 0x18]
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esi - 0x10]
mov dword [ebp - 0x2c], ebx
call fcn.1000e298
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.1000e298
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1000e298
mov esi, dword [ebp - 0x2c]
lea ecx, [edi - 0x10]
call fcn.1000e298
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10005c45
or esi, 0xffffffff
cmp dword [ebp - 0x24], 0
je 0x10005c50
push dword [ebp - 0x24]
call edi
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10005c62
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10005c62
or esi, 0xffffffff
cmp dword [ebp - 0x10], 0
je 0x10005c6d
push dword [ebp - 0x10]
call edi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10005c89
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10005c89
test esi, esi
je 0x10005c86
mov eax, dword [esi]
push esi
call dword [eax + 8]
or esi, 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10005c96
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x10005ca3
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
lea ecx, [ebp - 0x44]
call fcn.1000313c
mov ax, si
call fcn.100153db
ret