Function at 0x4127d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4395be
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x449314]
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, dword [ebp + 8]
push esi
mov dword [ebp - 0x180], 0
call fcn.00413100
mov byte [ebp - 0x181], al
test al, al
jne 0x4130d4
mov ecx, esi
mov dword [ebp - 0x58], 0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412840
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.00403d70
mov ecx, esi
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412880
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00403d70
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004060a0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x4128ea
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4128e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4128e0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00435eb6
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov ecx, 0x43e627
lea eax, [ebp - 0x70]
mov dword [ebp - 0x14], 7
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.0040c4e0
cmp dword [ebp - 0xd8], 8
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0xec]
cmp dword [ebp - 0xdc], 0x10
jne 0x413014
push 0x10
push str.CitrixRedirector
push eax
call fcn.00405ec0
test eax, eax
jne 0x413014
push 0x38
lea ecx, [ebp - 0xd0]
call fcn.00403d10
mov ecx, 0x1a
mov dword [ebp - 0xc0], 0x34
mov esi, str._n_nCannot_redirect_OAuth_authentication_token_to_VDA.
mov dword [ebp - 0xbc], 0x37
mov edi, eax
mov dword [ebp - 0xd0], eax
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov dword [ebp - 0x180], 0x20
mov word [eax + 0x68], cx
mov byte [ebp - 4], 5
cmp byte [ebp - 0xd4], cl
je 0x412aa3
xor eax, eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 2
mov dword [ebp - 0xb8], 0x2e0027
mov word [ebp - 0xb4], ax
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
push 0x20
mov byte [ebp - 4], 6
mov dword [ebp - 0x180], 0x61
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00403d10
movups xmm0, xmmword [str.misconfigured_with_ProgID_]
mov ecx, eax
mov dword [ebp - 0x18], 0x1b
mov dword [ebp - 0x14], 0x1f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x43e6b4]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x43e6c4]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [0x43e6d4]
mov dword [ecx + 0x30], eax
mov ax, word [0x43e6d8]
mov word [ecx + 0x34], ax
xor eax, eax
mov word [ecx + 0x36], ax
mov dword [ebp - 0x28], ecx
lea eax, [ebp - 0xec]
mov dword [ebp - 4], 7
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x180], 0xe3
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00409420
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x180], 0xe7
push ecx
push eax
push dword [ebp - 0x180]
lea ecx, [ebp - 0x17c]
mov dword [ebp - 4], 8
call fcn.0040b270
lea edi, [ebp - 0x17c]
mov dword [ebp - 4], 9
mov esi, 0x1ef
jmp 0x412aec
push 0x10
lea ecx, [ebp - 0xa0]
call fcn.00403d10
movups xmm0, xmmword [str.missing.]
xor ecx, ecx
mov dword [ebp - 0x90], 8
mov dword [ebp - 0x8c], 0xf
movups xmmword [eax], xmm0
mov word [eax + 0x10], cx
mov dword [ebp - 0xa0], eax
lea edi, [ebp - 0xa0]
mov dword [ebp - 4], 0xa
mov esi, 0x230
push 0x10
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x180], esi
call fcn.00403d10
movups xmm0, xmmword [str._association]
or esi, 0x400
mov dword [ebp - 0x78], 0xe
mov dword [ebp - 0x74], 0xf
movups xmmword [eax], xmm0
mov dword [ebp - 0x88], eax
movq xmm0, qword [0x43e700]
movq qword [eax + 0x10], xmm0
mov ecx, dword [0x43e708]
mov dword [eax + 0x18], ecx
xor ecx, ecx
mov word [eax + 0x1c], cx
mov dword [ebp - 0x180], esi
mov dword [ebp - 0x40], ecx
xor eax, eax
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x40]
push 0x10
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00403d10
movups xmm0, xmmword [str.OAuth_scheme_]
mov dword [ebp - 0x30], 0xe
or esi, 0x800
mov dword [ebp - 0x2c], 0xf
movups xmmword [eax], xmm0
mov dword [ebp - 0x180], esi
movq xmm0, qword [0x43e720]
movq qword [eax + 0x10], xmm0
mov ecx, dword [0x43e728]
mov dword [eax + 0x18], ecx
xor ecx, ecx
mov word [eax + 0x1c], cx
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.00409420
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xd
push ecx
push eax
push dword [ebp - 0x180]
lea ecx, [ebp - 0x164]
call fcn.0040b270
or esi, 0x1000
mov dword [ebp - 0x180], esi
push edi
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 0xe
push eax
push dword [ebp - 0x180]
lea ecx, [ebp - 0x14c]
call fcn.0040b270
or esi, 0x2000
mov dword [ebp - 0x180], esi
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 0x180]
lea ecx, [ebp - 0x134]
call fcn.0040b270
mov edx, dword [ebp - 0x138]
or esi, 0x4000
mov dword [ebp - 0x180], esi
cmp edx, 8
jb 0x412c85
mov ecx, dword [ebp - 0x14c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412c7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f9c
push edx
push ecx
call fcn.00435eb6
add esp, 8
mov edx, dword [ebp - 0x150]
cmp edx, 8
jb 0x412cc5
mov ecx, dword [ebp - 0x164]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412cbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f9c
push edx
push ecx
call fcn.00435eb6
add esp, 8
mov edx, dword [ebp - 0xf0]
cmp edx, 8
jb 0x412d05
mov ecx, dword [ebp - 0x104]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412cfb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f9c
push edx
push ecx
call fcn.00435eb6
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 7
mov word [ebp - 0x104], ax
cmp edx, 8
jb 0x412d5c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412d52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f9c
push edx
push ecx
call fcn.00435eb6
add esp, 8
mov edx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x412dad
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412da3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f9c
push edx
push ecx
call fcn.00435eb6
add esp, 8
mov eax, dword [ebp - 0x180]
test al, 0x10
je 0x412e06
mov edx, dword [ebp - 0x8c]
and eax, 0xffffffef
mov dword [ebp - 0x180], eax
cmp edx, 8
jb 0x412e06
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412df6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f9c
push edx
push ecx
call fcn.00435eb6
mov eax, dword [ebp - 0x180]
add esp, 8
test al, 8
je 0x412e59
mov edx, dword [ebp - 0x168]
and eax, 0xfffffff7
mov dword [ebp - 0x180], eax
cmp edx, 8
jb 0x412e59
mov ecx, dword [ebp - 0x17c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412e49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f9c
push edx
push ecx
call fcn.00435eb6
mov eax, dword [ebp - 0x180]
add esp, 8
test al, 4
je 0x412ec9
mov edx, dword [ebp - 0x108]
and eax, 0xfffffffb
mov dword [ebp - 0x180], eax
cmp edx, 8
jb 0x412eac
mov ecx, dword [ebp - 0x11c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412e9c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f9c
push edx
push ecx
call fcn.00435eb6
mov eax, dword [ebp - 0x180]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 7
mov word [ebp - 0x11c], cx
test al, 2
je 0x412f2a
mov edx, dword [ebp - 0x14]
and eax, 0xfffffffd
mov dword [ebp - 0x180], eax
cmp edx, 8
jb 0x412f16
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412f06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f9c
push edx
push ecx
call fcn.00435eb6
mov eax, dword [ebp - 0x180]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
test al, 1
je 0x412f6a
mov edx, dword [ebp - 0xa4]
cmp edx, 8
jb 0x412f6a
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412f60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412f9c
push edx
push ecx
call fcn.00435eb6
add esp, 8
mov edx, dword [ebp - 0xbc]
cmp edx, 8
jb 0x412fac
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412fa2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x412fa2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00435eb6
add esp, 8
cmp dword [ebp - 0x120], 8
lea eax, [ebp - 0x134]
push 0x10
cmovae eax, dword [ebp - 0x134]
push str.OAuth_configuration_error
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x120]
cmp edx, 8
jb 0x41303d
mov ecx, dword [ebp - 0x134]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413008
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x413008
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00435eb6
add esp, 8
jmp 0x41303d
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 1
cmovae eax, dword [ebp - 0x58]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setg byte [ebp - 0x181]
lea ecx, [ebp - 0xec]
call fcn.00403ca0
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x41307e
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413074
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4130be
push edx
push ecx
call fcn.00435eb6
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x4130ce
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4130c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4130c4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00435eb6
add esp, 8
mov al, byte [ebp - 0x181]
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.0043624e
mov esp, ebp
pop ebp
ret 4