Function at 0x410850
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a90e4
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x4d9164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4d8], edi
mov dword [ebp - 0x4d4], edi
mov dword [ebp - 0x4d8], eax
push str.bd::process_broker::client::spawn_process_with_current_params
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 4], 0
call fcn.00401cc0
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x4c4]
mov dword [ebp - 0x4cc], eax
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
push eax
movq qword [ebp - 0x54], xmm0
mov dword [ebp - 0x4c4], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
jne 0x410902
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x4d9c28
mov dword [ebp - 0x50], esi
jmp 0x410915
mov eax, dword [ebp - 0x4c4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], 0x4d9bd0
mov dword [ebp - 0x4d0], eax
mov dword [ebp - 0x54], esi
mov byte [ebp - 4], 2
test eax, eax
je 0x4109e9
push 0x15
push str.error_parsing_cmdline
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
call fcn.00437950
mov eax, dword [ebp - 0x4d0]
mov dword [edi], eax
mov dword [edi + 4], 0x4d9c28
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
movups xmm0, xmmword [ebp - 0x6c]
movups xmmword [edi + 8], xmm0
movq xmm0, qword [ebp - 0x5c]
movq qword [edi + 0x18], xmm0
mov byte [edi + 0x20], 1
test esi, esi
je 0x410993
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x4c0]
call fcn.00401dd0
cmp byte [ebp + 0x28], 0
je 0x4110c7
mov edx, dword [ebp + 0x24]
cmp edx, 0x10
jb 0x4110c7
mov ecx, dword [ebp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410bad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4110fa
push edx
push ecx
call fcn.00481131
add esp, 8
jmp 0x4110c7
mov edx, dword [ebp - 0x4cc]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x48], 0
mov word [ebp - 0x48], ax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x4cc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410a15
sub ecx, dword [ebp - 0x4cc]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.00437950
cmp dword [ebp - 0x50], 0
je 0x410f8d
push str..exe
push dword [esi]
call fcn.00482e82
add esp, 8
test eax, eax
je 0x410f8d
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x6c]
call fcn.00406e80
mov byte [ebp - 4], 4
cmp dword [ebp - 0x30], 0
je 0x410bbc
push 0x16
push str.error_getting_filename
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.00437950
movups xmm0, xmmword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x58]
mov dword [edi], eax
mov dword [edi + 4], 0x4d9c28
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
movups xmmword [edi + 8], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x18], xmm0
mov byte [edi + 0x20], 1
cmp edx, 8
jb 0x410b01
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410af7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4110f5
push edx
push ecx
call fcn.00481131
add esp, 8
mov edx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
cmp edx, 8
jb 0x410b4f
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410b45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4110f5
push edx
push ecx
call fcn.00481131
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
push esi
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x4c0]
call fcn.00401dd0
cmp byte [ebp + 0x28], 0
je 0x4110c7
mov edx, dword [ebp + 0x24]
cmp edx, 0x10
jb 0x4110c7
mov ecx, dword [ebp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410bad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4110f5
push edx
push ecx
call fcn.00481131
add esp, 8
jmp 0x4110c7
mov edx, dword [esi]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410be4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.00437950
push 1
mov byte [ebp - 4], 6
call fcn.0043ef04
mov dword [ebp - 0x4dc], eax
lea edx, [ebp - 0x4e0]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.00428710
mov esi, eax
push 1
mov byte [ebp - 4], 8
call fcn.0043ef04
mov dword [ebp - 0x4c4], eax
lea eax, [ebp - 0x4c8]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x28]
call fcn.004287b0
add esp, 8
mov ecx, esi
push eax
call fcn.0041e190
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x4d0], eax
cmp edx, 8
jb 0x410c9a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410c90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4110e6
push edx
push ecx
call fcn.00481131
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x4c4]
mov dword [ebp - 0x14], 7
test eax, eax
je 0x410ced
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4b3390]
mov ecx, dword [ebp - 0x4c4]
call esi
mov dword [ebp - 0x4cc], eax
test eax, eax
je 0x410ced
mov ecx, dword [eax]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x4b3390]
mov ecx, dword [ebp - 0x4cc]
call esi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x4dc]
test eax, eax
je 0x410d30
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4b3390]
mov ecx, dword [ebp - 0x4dc]
call esi
mov dword [ebp - 0x4cc], eax
test eax, eax
je 0x410d30
mov ecx, dword [eax]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x4b3390]
mov ecx, dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d0], 0xffffffff
je 0x410ef7
push ecx
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x48]
call fcn.0041e190
mov edx, eax
mov dword [ebp - 0x28], 0
add edx, dword [ebp - 0x7c]
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
cmp eax, edx
jb 0x4110eb
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x28]
lea eax, [eax + edx*2]
push eax
call fcn.00437950
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
test esi, esi
je 0x410ea6
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x22
jne 0x410e1d
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
lea eax, [eax + esi*2]
lea esi, [ebp - 0x28]
cmovae esi, edx
cmp esi, eax
je 0x410dfa
mov edi, eax
movzx eax, word [esi]
push eax
call fcn.0048f2da
add esp, 4
test eax, eax
jne 0x410dee
add esi, 2
cmp esi, edi
jne 0x410dd7
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x4d4]
cmp ecx, 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp - 0x4cc]
push eax
call fcn.0041e630
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
test esi, esi
je 0x410ea6
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
movzx eax, word [eax]
push eax
call fcn.0048f2da
add esp, 4
test eax, eax
je 0x410e9d
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmp edx, 8
cmovae ecx, dword [ebp - 0x28]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x28]
cmovae esi, ecx
cmp esi, eax
je 0x410e83
mov edi, eax
movzx eax, word [esi]
push eax
call fcn.0048f2da
add esp, 4
test eax, eax
je 0x410e77
add esi, 2
cmp esi, edi
jne 0x410e60
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x4d4]
mov ecx, dword [ebp - 0x28]
cmp edx, 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, ecx
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp - 0x4cc]
push eax
call fcn.0041e630
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
lea ecx, [ebp - 0x48]
push eax
call fcn.00437950
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x410ef7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410eed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4110f0
push edx
push ecx
call fcn.00481131
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x410f38
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410f2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4110f5
push edx
push ecx
call fcn.00481131
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
cmp edx, 8
jb 0x410f8d
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410f83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4110f5
push edx
push ecx
call fcn.00481131
add esp, 8
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x38], 0
je 0x411072
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
sub esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00409030
mov edx, dword [ebp - 0x98]
add esp, 0x18
cmp edx, 0x10
jb 0x411019
mov ecx, dword [ebp - 0xac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41100f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4110fa
push edx
push ecx
call fcn.00481131
add esp, 8
movups xmm0, xmmword [ebp - 0x6c]
mov edx, dword [ebp - 0x30]
movups xmmword [ebp - 0xac], xmm0
movq xmm0, qword [ebp - 0x5c]
movq qword [ebp - 0x9c], xmm0
test edx, edx
je 0x411072
push str.error_converting_cmdline_from_utf16_to_utf8
lea ecx, [ebp - 0x94]
call fcn.004285d0
add esp, 4
lea ecx, [ebp - 0x74]
mov edx, eax
call fcn.00428660
push eax
mov ecx, edi
call fcn.004286b0
lea ecx, [ebp - 0x74]
call fcn.004114a0
lea ecx, [ebp - 0x94]
call fcn.004114a0
jmp 0x411099
push dword [ebp + 0x30]
lea eax, [ebp + 0x10]
push dword [ebp + 0x2c]
sub esp, 0x1c
mov ecx, esp
push eax
call fcn.0040dc30
lea eax, [ebp - 0xac]
push eax
push dword [ebp - 0x4d8]
push edi
call fcn.00410240
lea ecx, [ebp - 0xac]
call fcn.0040df30
lea ecx, [ebp - 0x48]
call fcn.00405c30
lea ecx, [ebp - 0x54]
call fcn.0041b8f0
lea ecx, [ebp - 0x4c0]
call fcn.00401dd0
lea ecx, [ebp + 0x10]
call fcn.0040d9e0
mov eax, edi
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.004810ea
mov esp, ebp
pop ebp
ret 0x2c
call fcn.004861f9
call fcn.00424920
call fcn.004861f9
call fcn.004861f9
call fcn.004861f9
int3