Function at 0x100541a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022279b
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x102e91c0]
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 edi, ecx
mov esi, dword [0x102eec30]
test esi, esi
je 0x10054202
push str.Executing_open_document_workflow
push 0x1025b044
push 0x1025b044
push str.OpenDocumentHandler
push str.c3containerBL
push 0xa
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
push 7
push str.docType
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.1000aef0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x100]
mov ecx, edi
push eax
call fcn.1004c700
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.1000ae90
push 7
push 0x1027455c
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.1000aef0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xb8]
mov ecx, edi
push eax
call fcn.1004c700
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.1000ae90
push 7
push str.sapCode
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.1000aef0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.1004c700
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.1000ae90
push 0xa
push str.minVersion
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.1000aef0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x118]
mov ecx, edi
push eax
call fcn.1004c700
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xb
call fcn.1000ae90
mov dword [ebp - 0x40], 0
push 7
push str.cmdline
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.1000aef0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xe8]
mov ecx, edi
push eax
call fcn.1004c700
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.1000ae90
push 3
push 0x10274578
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.1000aef0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0xd0]
mov ecx, edi
push eax
call fcn.1004c700
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x11
call fcn.1000ae90
cmp dword [ebp - 0xf0], 0
je 0x10054ce9
cmp dword [ebp - 0xa8], 0
je 0x10054ce9
cmp dword [ebp - 0x78], 0
je 0x10054ce9
push str.cloud
lea ecx, [ebp - 0x100]
call fcn.1000afa0
test al, al
jne 0x10054421
push str.download
lea ecx, [ebp - 0x100]
call fcn.1000afa0
test al, al
jne 0x10054421
push str.local
lea ecx, [ebp - 0x100]
call fcn.1000afa0
test al, al
jne 0x10054421
mov esi, dword [0x102eec30]
test esi, esi
je 0x10054d1b
push str.Invalid_document_type
jmp 0x10054cf8
push str.download
lea ecx, [ebp - 0x100]
call fcn.1000afa0
test al, al
je 0x1005445c
lea ecx, [ebp - 0xb8]
call fcn.10054d80
test al, al
jne 0x1005445c
mov esi, dword [0x102eec30]
test esi, esi
je 0x10054d1b
push str.Document_download_URL_is_not_allowed.
jmp 0x10054cf8
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0xa0]
push eax
lea edx, [ebp - 0x118]
lea ecx, [ebp - 0x88]
call fcn.10053570
mov esi, dword [0x102eec30]
add esp, 8
test al, al
jne 0x10054509
test esi, esi
je 0x100544ff
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
mov ecx, esi
cmovae eax, dword [ebp - 0x88]
push eax
push str.Required_app:__s_is_not_installed
push 0x1025b044
push 0x1025b044
push str.OpenDocumentHandler
push str.c3containerBL
push 0x28
call dword [0x1024852c]
call esi
add esp, 0x1c
mov esi, 9
jmp 0x10054cd4
test esi, esi
je 0x10054547
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
mov ecx, esi
cmovae eax, dword [ebp - 0x88]
push eax
push str.Required_app:__s_is_installed._Downloading_the_document
push 0x1025b044
push 0x1025b044
push str.OpenDocumentHandler
push str.c3containerBL
push 0x1e
call dword [0x1024852c]
call esi
add esp, 0x1c
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
push str.cloud
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x14
call fcn.1000afa0
test al, al
je 0x1005463c
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
push dword [ebp - 0xa8]
cmovae eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0x58]
push eax
call fcn.10010360
cmp dword [ebp - 0xc0], 0
je 0x100548c8
push 9
push str.docPath
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.1000aef0
mov byte [ebp - 4], 0x17
xor esi, esi
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x48]
nop
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0xc0]
lea ecx, [ebp - 0xd0]
cmovae eax, dword [ebp - 0x28]
cmp dword [ebp - 0xbc], 8
push ebx
cmovae ecx, dword [ebp - 0xd0]
push eax
push esi
call fcn.10028660
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x10054838
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push edi
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0xd0]
push eax
push ebx
push esi
call fcn.1003ebb0
mov edi, dword [ebp - 0x48]
add esi, edi
jmp 0x100545e0
push str.local
lea ecx, [ebp - 0x100]
call fcn.1000afa0
test al, al
je 0x100547a7
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
push dword [ebp - 0xa8]
cmovae eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0x58]
push eax
call fcn.10010360
lea ecx, [ebp - 0x58]
call fcn.1016dda0
push 0
push 0x1025b044
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.1000aef0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x70]
push 7
push str.file:__
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call fcn.1000aef0
mov byte [ebp - 4], 0x16
xor esi, esi
cmp dword [ebp - 0x5c], 8
lea ebx, [ebp - 0x70]
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x58]
cmovae ebx, dword [ebp - 0x70]
cmp dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
mov dword [ebp - 0x120], ecx
cmp edx, eax
ja 0x1005472d
sub eax, edx
cmp esi, eax
ja 0x1005472d
test edx, edx
je 0x10054770
inc eax
lea esi, [ecx + esi*2]
lea eax, [ecx + eax*2]
mov dword [ebp - 0x11c], eax
nop
sub eax, esi
sar eax, 1
je 0x1005472d
movzx ecx, word [ebx]
nop dword [eax]
cmp word [esi], cx
je 0x10054746
add esi, 2
sub eax, 1
jne 0x10054720
lea ecx, [ebp - 0x70]
call fcn.1000ae90
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x14
call fcn.1000ae90
jmp 0x100545a1
test esi, esi
je 0x1005472d
mov ecx, ebx
test edx, edx
je 0x10054765
mov edi, esi
sub edi, ebx
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x10054796
add ecx, 2
sub edx, 1
jne 0x10054754
sub esi, dword [ebp - 0x120]
mov edx, dword [ebp - 0x60]
sar esi, 1
cmp esi, 0xffffffff
je 0x1005472d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
push edx
push esi
call fcn.1003ebb0
add esi, dword [ebp - 0x18]
jmp 0x100546d1
mov edx, dword [ebp - 0x60]
add esi, 2
mov eax, dword [ebp - 0x11c]
jmp 0x10054710
push str.download
lea ecx, [ebp - 0x100]
call fcn.1000afa0
test al, al
je 0x100545a1
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
lea edx, [ebp - 0xb8]
call fcn.10055c00
add esp, 4
test al, al
jne 0x100545a1
mov esi, dword [0x102eec30]
test esi, esi
je 0x10054822
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
mov ecx, esi
cmovae eax, dword [ebp - 0xb8]
push eax
push str.Failed_to_download_document:__s
push 0x1025b044
push 0x1025b044
push str.OpenDocumentHandler
push str.c3containerBL
push 0x28
call dword [0x1024852c]
call esi
add esp, 0x1c
cmp byte [edi + 0x3c], 0
mov esi, 2
mov eax, 0xb
cmove esi, eax
jmp 0x10054ccc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x14
call fcn.1000ae90
mov dl, 1
lea ecx, [ebp - 0xd0]
call fcn.10175a80
mov esi, dword [0x102eec30]
test esi, esi
je 0x10054cca
cmp dword [ebp - 0x8c], 8
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0xd0]
cmovae edx, dword [ebp - 0xa0]
lea eax, [ebp - 0x88]
cmp dword [ebp - 0xbc], 8
cmovae ecx, dword [ebp - 0xd0]
cmp dword [ebp - 0x74], 8
push ecx
cmovae eax, dword [ebp - 0x88]
mov ecx, esi
push edx
push eax
push str.Successfully_launched_app:__s_version:__s_via_URI:__s
push 0x1025b044
push 0x1025b044
push str.OpenDocumentHandler
push str.c3containerBL
push 0x1e
call dword [0x1024852c]
call esi
add esp, 0x24
jmp 0x10054cca
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
movq qword [ebp - 0x64], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
push str.docPathOnly
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x18
call fcn.1000afa0
test al, al
je 0x100549ba
cmp dword [ebp - 0x48], 0
je 0x1005496a
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x19
call fcn.1014d3c0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 1
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x18
call fcn.1000ae90
mov esi, dword [0x102eec30]
test esi, esi
je 0x10054cc2
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
mov ecx, esi
cmovae eax, dword [ebp - 0xb8]
push eax
push str.Successfully_opened_document_at_path:__s
push 0x1025b044
push 0x1025b044
push str.OpenDocumentHandler
push str.c3containerBL
push 0x1e
call dword [0x1024852c]
call esi
add esp, 0x1c
jmp 0x10054cc2
cmp dword [ebp - 0xd8], 0
jne 0x100549ce
lea eax, [ebp - 0x58]
push eax
push 0
jmp 0x10054aea
push 9
push str.docPath
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.1000aef0
mov byte [ebp - 4], 0x1a
xor esi, esi
cmp dword [ebp - 0x14], 8
lea ebx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0xe8]
cmovae ebx, dword [ebp - 0x28]
cmp dword [ebp - 0xd4], 8
mov eax, dword [ebp - 0xd8]
cmovae ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x11c], ecx
cmp edx, eax
ja 0x10054a5d
sub eax, edx
cmp esi, eax
ja 0x10054a5d
test edx, edx
je 0x10054aaf
inc eax
lea esi, [ecx + esi*2]
lea eax, [ecx + eax*2]
mov dword [ebp - 0x120], eax
sub eax, esi
sar eax, 1
je 0x10054a5d
movzx ecx, word [ebx]
nop word [eax + eax]
cmp word [esi], cx
je 0x10054a85
add esi, 2
sub eax, 1
jne 0x10054a50
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x18
call fcn.1000ae90
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0xe8]
push ecx
cmp eax, dword [ebp - 0x5c]
je 0x10054ae9
mov ecx, eax
call fcn.1000fe90
add dword [ebp - 0x60], 0x18
jmp 0x10054af2
test esi, esi
je 0x10054a5d
mov ecx, ebx
test edx, edx
je 0x10054aa4
mov edi, esi
sub edi, ebx
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x10054ad8
add ecx, 2
sub edx, 1
jne 0x10054a93
sub esi, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x18]
sar esi, 1
cmp esi, 0xffffffff
je 0x10054a5d
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0xe8]
push eax
push edx
push esi
call fcn.1003ebb0
add esi, dword [ebp - 0x48]
jmp 0x100549f8
mov edx, dword [ebp - 0x18]
add esi, 2
mov eax, dword [ebp - 0x120]
jmp 0x10054a41
push eax
lea ecx, [ebp - 0x64]
call fcn.1001bbb0
push 0
push 0x1025b044
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.1000aef0
sub esp, 0x18
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x40]
mov dword [ebp - 0x120], esp
mov ecx, esp
push eax
call fcn.1000fe90
sub esp, 0x18
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x11c], esp
mov ecx, esp
push eax
call fcn.1000fe90
sub esp, 0x18
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x88]
mov dword [ebp - 0x124], esp
mov ecx, esp
push eax
call fcn.1000fe90
sub esp, 0xc
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0x64]
mov ecx, esp
lea esi, [ebp - 0x28]
push eax
call fcn.100121e0
mov edx, esi
mov byte [ebp - 4], 0x1b
mov cl, 1
call fcn.10044770
add esp, 0x54
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.1000ae90
test esi, esi
mov esi, dword [0x102eec30]
je 0x10054c06
test esi, esi
je 0x10054bf4
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0xa0]
lea eax, [ebp - 0x88]
cmovae ecx, dword [ebp - 0xa0]
cmp dword [ebp - 0x74], 8
push ecx
cmovae eax, dword [ebp - 0x88]
mov ecx, esi
push eax
push str.Error_in_launching_app:__s_version:__s
push 0x1025b044
push 0x1025b044
push str.OpenDocumentHandler
push str.c3containerBL
push 0x28
call dword [0x1024852c]
call esi
add esp, 0x20
lea ecx, [ebp - 0x64]
call fcn.100102e0
mov esi, 0xa
jmp 0x10054ccc
test esi, esi
je 0x10054cc2
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0xa0]
lea eax, [ebp - 0x88]
cmovae ecx, dword [ebp - 0xa0]
cmp dword [ebp - 0x74], 8
push ecx
cmovae eax, dword [ebp - 0x88]
mov ecx, esi
push eax
push str.Successfully_launched_app:__s_version:__s
push 0x1025b044
push 0x1025b044
push str.OpenDocumentHandler
push str.c3containerBL
push 0x1e
call dword [0x1024852c]
call esi
mov esi, dword [0x102eec30]
add esp, 0x20
test esi, esi
je 0x10054cc2
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0xa0]
cmovae edx, dword [ebp - 0x58]
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x8c], 8
push edx
cmovae ecx, dword [ebp - 0xa0]
cmp dword [ebp - 0x74], 8
push ecx
cmovae eax, dword [ebp - 0x88]
mov ecx, esi
push eax
push str.Successfully_launched_app:__s_version:__s_with_document:__s
push 0x1025b044
push 0x1025b044
push str.OpenDocumentHandler
push str.c3containerBL
push 0x1e
call dword [0x1024852c]
call esi
add esp, 0x24
lea ecx, [ebp - 0x64]
call fcn.100102e0
xor esi, esi
lea ecx, [ebp - 0x58]
call fcn.1000ae90
lea ecx, [ebp - 0x40]
call fcn.1000ae90
lea ecx, [ebp - 0xa0]
call fcn.1000ae90
jmp 0x10054d20
mov esi, dword [0x102eec30]
test esi, esi
je 0x10054d1b
push str.Insufficient_workflow_parameters
push 0x1025b044
push 0x1025b044
push str.OpenDocumentHandler
push str.c3containerBL
push 0x28
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
mov esi, 5
lea ecx, [ebp - 0xd0]
call fcn.1000ae90
lea ecx, [ebp - 0xe8]
call fcn.1000ae90
lea ecx, [ebp - 0x118]
call fcn.1000ae90
lea ecx, [ebp - 0x88]
call fcn.1000ae90
lea ecx, [ebp - 0xb8]
call fcn.1000ae90
lea ecx, [ebp - 0x100]
call fcn.1000ae90
mov eax, esi
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.101cff65
mov esp, ebp
pop ebp
ret