Function at 0xbbf87d
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xb0454f
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0xc940a0]
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 eax, edx
mov dword [ebp - 0xe0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov edx, dword [ebp + 0xc]
mov dword [eax], ebx
mov dword [ebp - 0xe4], ecx
mov dword [ecx], ebx
mov dword [ebp - 0xd4], edx
mov dword [ebp - 0xd8], ebx
mov dword [edx], ebx
test esi, esi
je 0xbc013d
mov ecx, esi
call fcn.00a46b80
test al, al
je 0xbc013d
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], ebx
push eax
lea edx, [ebp - 0x74]
mov dword [ebp - 0x74], ebx
mov ecx, esi
call fcn.00bbeeee
mov esi, eax
test esi, esi
jns 0xbbf93c
mov ecx, dword [ebp + 4]
push esi
push 0xa1c7d8
push 0x20
pop edx
call fcn.00aa4c55
cmp dword [ebp - 0x78], ebx
je 0xbbf927
push dword [ebp - 0x78]
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
cmp dword [ebp - 0x74], ebx
je 0xbbf935
push dword [ebp - 0x74]
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov eax, esi
jmp 0xbc0142
push 0x20
push 0x21
push 0xa15fc0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x14], ebx
call fcn.00a53585
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x80]
call fcn.00a398c6
lea eax, [ebp - 0x80]
push eax
push 0x9f97e8
push esi
call dword [sym.imp.api_ms_win_core_winrt_l1_1_0.dll_RoGetActivationFactory]
mov esi, eax
test esi, esi
jns 0xbbf98f
mov ecx, dword [ebp + 4]
push esi
push 0xa1c7d8
push 0x25
pop edx
call fcn.00aa4c55
lea ecx, [ebp - 0x80]
call fcn.00a398c6
jmp 0xbbf919
mov esi, dword [ebp - 0x80]
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x84], ebx
mov eax, dword [esi]
mov edi, dword [eax + 0x18]
call fcn.00a398c6
lea eax, [ebp - 0x84]
mov ecx, edi
push eax
push ebx
push esi
call dword [0xc99200]
call edi
mov esi, eax
test esi, esi
jns 0xbbf9df
mov ecx, dword [ebp + 4]
push esi
push 0xa1c7d8
push 0x28
pop edx
call fcn.00aa4c55
lea ecx, [ebp - 0x84]
call fcn.00a398c6
jmp 0xbbf985
push 0x26
push 0x27
push 0xa16008
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x2c], ebx
call fcn.00a53585
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x7c]
call fcn.00a398c6
lea edx, [ebp - 0x7c]
mov ecx, esi
call fcn.00bbcdff
mov esi, eax
test esi, esi
jns 0xbbfa2c
mov ecx, dword [ebp + 4]
push esi
push 0xa1c7d8
push 0x2d
pop edx
call fcn.00aa4c55
lea ecx, [ebp - 0x7c]
call fcn.00a398c6
jmp 0xbbf9d2
mov esi, dword [ebp - 0x7c]
lea ecx, [ebp - 0x58]
push dword [ebp - 0xd4]
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0xa0], edi
mov eax, dword [esi]
mov ebx, dword [eax + 0x2c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00a4ab34
mov ecx, ebx
push dword [eax + 0x14]
push esi
call dword [0xc99200]
call ebx
mov esi, eax
test esi, esi
jns 0xbbfaaa
mov ecx, dword [ebp + 4]
push esi
push 0xa1c7d8
push 0x2f
pop edx
call fcn.00aa4c55
lea ecx, [ebp - 0x7c]
call fcn.00a398c6
lea ecx, [ebp - 0x84]
call fcn.00a398c6
lea ecx, [ebp - 0x80]
call fcn.00a398c6
cmp dword [ebp - 0x78], 0
je 0xbbfaa1
push dword [ebp - 0x78]
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
cmp dword [ebp - 0x74], 0
jmp 0xbbf92a
mov esi, dword [ebp - 0x7c]
lea ecx, [ebp - 0x88]
xor eax, eax
mov dword [ebp - 0x88], eax
mov eax, dword [esi]
mov ebx, dword [eax + 0x18]
call fcn.00a398c6
lea eax, [ebp - 0x88]
mov ecx, ebx
push eax
push esi
call dword [0xc99200]
call ebx
mov esi, eax
test esi, esi
jns 0xbbfafe
push esi
push 0xa1c7d8
push 0x32
mov ecx, dword [ebp + 4]
pop edx
call fcn.00aa4c55
lea ecx, [ebp - 0x88]
call fcn.00a398c6
jmp 0xbbfa77
mov eax, dword [ebp - 0x88]
push 1
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x34]
mov ecx, esi
call dword [0xc99200]
call esi
mov esi, eax
test esi, esi
jns 0xbbfb26
push esi
push 0xa1c7d8
push 0x34
jmp 0xbbfae5
mov esi, dword [ebp - 0x7c]
lea ecx, [ebp - 0x70]
push dword [ebp - 0xd4]
mov eax, dword [esi]
mov ebx, dword [eax + 0x34]
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00a4ab34
mov ecx, ebx
push dword [eax + 0x14]
push esi
call dword [0xc99200]
call ebx
mov esi, eax
test esi, esi
jns 0xbbfb6d
push esi
push 0xa1c7d8
push 0x35
jmp 0xbbfae5
mov esi, dword [ebp - 0x84]
lea ecx, [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0x8c], eax
mov eax, dword [esi]
mov ebx, dword [eax + 0x1c]
call fcn.00a398c6
lea eax, [ebp - 0x8c]
mov ecx, ebx
push eax
push dword [ebp - 0x7c]
xor eax, eax
push eax
push eax
push esi
call dword [0xc99200]
call ebx
mov esi, eax
test esi, esi
jns 0xbbfbcb
push esi
push 0xa1c7d8
push 0x38
mov ecx, dword [ebp + 4]
pop edx
call fcn.00aa4c55
lea ecx, [ebp - 0x8c]
call fcn.00a398c6
jmp 0xbbfaee
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
lea ecx, [ebp - 0xdc]
push ecx
push eax
mov ecx, esi
call dword [0xc99200]
call esi
mov esi, eax
test esi, esi
jns 0xbbfbf8
push esi
push 0xa1c7d8
push 0x3b
jmp 0xbbfbb2
cmp dword [ebp - 0xdc], 1
je 0xbbfc10
mov esi, 0x8007000d
push esi
push 0xa1c7d8
push 0x3c
jmp 0xbbfbb2
mov esi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x94]
xor eax, eax
mov dword [ebp - 0x94], eax
mov eax, dword [esi]
mov ebx, dword [eax + 0x18]
call fcn.00a398c6
lea eax, [ebp - 0x94]
mov ecx, ebx
push eax
xor eax, eax
push eax
push esi
call dword [0xc99200]
call ebx
mov esi, eax
test esi, esi
jns 0xbbfc6a
mov ecx, dword [ebp + 4]
push esi
push 0xa1c7d8
push 0x3f
pop edx
call fcn.00aa4c55
lea ecx, [ebp - 0x94]
call fcn.00a398c6
jmp 0xbbfbbb
mov esi, dword [ebp - 0x94]
lea ecx, [ebp - 0x98]
xor eax, eax
mov dword [ebp - 0x98], eax
mov eax, dword [esi]
mov ebx, dword [eax]
call fcn.00a398c6
lea eax, [ebp - 0x98]
mov ecx, ebx
push eax
push 0xa16058
push esi
call dword [0xc99200]
call ebx
mov esi, eax
test esi, esi
jns 0xbbfcc2
mov ecx, dword [ebp + 4]
push esi
push 0xa1c7d8
push 0x42
pop edx
call fcn.00aa4c55
lea ecx, [ebp - 0x98]
call fcn.00a398c6
jmp 0xbbfc5a
mov esi, dword [ebp - 0x98]
mov eax, dword [esi]
mov ebx, dword [eax + 0x20]
xor eax, eax
push eax
call dword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
xor eax, eax
mov ecx, ebx
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x90]
push eax
push esi
call dword [0xc99200]
call ebx
mov esi, eax
test esi, esi
jns 0xbbfd1d
mov ecx, dword [ebp + 4]
push esi
push 0xa1c7d8
push 0x45
pop edx
call fcn.00aa4c55
push dword [ebp - 0x90]
call dword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
xor eax, eax
mov dword [ebp - 0x90], eax
jmp 0xbbfcb5
xor ecx, ecx
push ecx
push dword [ebp - 0x90]
mov eax, ecx
mov dword [ebp - 0xc8], ecx
mov ebx, ecx
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xa4], ecx
call dword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer]
lea ecx, [ebp - 0xa4]
push ecx
push eax
call dword [sym.imp.api_ms_win_shcore_obsolete_l1_1_0.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp - 0xa8], esi
test esi, esi
je 0xbc0045
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
jle 0xbc0045
lea edx, [esi + 8]
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x9c], edx
mov ebx, dword [edx - 8]
mov edx, 0xa1c668
mov eax, ebx
mov di, word [eax]
cmp di, word [edx]
mov edi, dword [ebp - 0x74]
jne 0xbbfdee
cmp word [eax], 0
je 0xbbfdea
mov di, word [eax + 2]
cmp di, word [edx + 2]
mov word [ebp - 0xce], di
mov edi, dword [ebp - 0x74]
jne 0xbbfdee
add eax, 4
add edx, 4
cmp word [ebp - 0xce], 0
jne 0xbbfdb5
xor eax, eax
jmp 0xbbfdf3
sbb eax, eax
or eax, 1
test eax, eax
jne 0xbbfedc
mov eax, dword [ebp - 0xa0]
inc eax
cmp eax, ecx
jge 0xbbff3e
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0xcc]
push 0xffffffffffffffff
push dword [eax]
call fcn.00a56c40
mov ebx, eax
test ebx, ebx
js 0xbbff7a
mov ebx, dword [ebp - 0x9c]
mov ecx, dword [ebx]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xd8]
jne 0xbbfe34
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jbe 0xbbff38
push 0xa1c654
push dword [ebx]
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
mov edx, eax
pop ecx
pop ecx
test edx, edx
je 0xbbff38
mov ecx, 0xa1c654
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xd8]
jne 0xbbfe71
sub ecx, ebx
sar ecx, 1
push 0xa1c664
lea ebx, [edx + ecx*2]
push ebx
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
pop ecx
pop ecx
lea ecx, [ebp - 0xb4]
test eax, eax
je 0xbbfec1
sub eax, ebx
sar eax, 1
push eax
push ebx
call fcn.00a56c40
mov ebx, eax
test ebx, ebx
jns 0xbbff38
push ebx
push 0xa1c7d8
push 0x6a
jmp 0xbbff82
push 0xffffffffffffffff
push ebx
call fcn.00a56c40
mov ebx, eax
test ebx, ebx
jns 0xbbff38
push ebx
push 0xa1c7d8
push 0x6e
jmp 0xbbff82
mov eax, 0xa1c638
mov dx, word [ebx]
cmp dx, word [eax]
jne 0xbbff07
test dx, dx
je 0xbbff03
mov dx, word [ebx + 2]
cmp dx, word [eax + 2]
jne 0xbbff07
add ebx, 4
add eax, 4
test dx, dx
jne 0xbbfee1
xor eax, eax
jmp 0xbbff0c
sbb eax, eax
or eax, 1
test eax, eax
jne 0xbbff3e
cmp dword [ebp - 0xa0], ecx
jge 0xbbff3e
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0xc0]
push 0xffffffffffffffff
push dword [eax - 4]
call fcn.00a56c40
mov ebx, eax
test ebx, ebx
js 0xbc0038
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xa0]
add edx, 4
inc eax
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa0], eax
dec eax
cmp eax, ecx
jl 0xbbfdab
mov ebx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc0]
jmp 0xbc0049
push ebx
push 0xa1c7d8
push 0x5a
mov ecx, dword [ebp + 4]
pop edx
call fcn.00aa4c55
push dword [ebp - 0xa8]
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
lea ecx, [ebp - 0xc0]
call fcn.00a4539d
lea ecx, [ebp - 0xb4]
call fcn.00a4539d
lea ecx, [ebp - 0xcc]
call fcn.00a4539d
push dword [ebp - 0x90]
call dword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
xor eax, eax
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x90], eax
call fcn.00a398c6
lea ecx, [ebp - 0x94]
call fcn.00a398c6
lea ecx, [ebp - 0x8c]
call fcn.00a398c6
lea ecx, [ebp - 0x88]
call fcn.00a398c6
lea ecx, [ebp - 0x7c]
call fcn.00a398c6
lea ecx, [ebp - 0x84]
call fcn.00a398c6
lea ecx, [ebp - 0x80]
call fcn.00a398c6
cmp dword [ebp - 0x78], 0
je 0xbc0022
push dword [ebp - 0x78]
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
cmp dword [ebp - 0x74], 0
je 0xbc0031
push dword [ebp - 0x74]
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov eax, ebx
jmp 0xbc0142
push ebx
push 0xa1c7d8
push 0x7a
jmp 0xbbff82
mov eax, ebx
mov ecx, eax
xor edx, edx
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc8], edx
mov edx, dword [ebp - 0xe0]
mov dword [edx], ebx
xor ebx, ebx
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xb0], ebx
mov dword [edx], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xbc], ebx
mov dword [eax], ecx
test esi, esi
je 0xbc00a6
push esi
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
lea ecx, [ebp - 0xc0]
call fcn.00a4539d
lea ecx, [ebp - 0xb4]
call fcn.00a4539d
lea ecx, [ebp - 0xcc]
call fcn.00a4539d
push dword [ebp - 0x90]
call dword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x90], ebx
call fcn.00a398c6
lea ecx, [ebp - 0x94]
call fcn.00a398c6
lea ecx, [ebp - 0x8c]
call fcn.00a398c6
lea ecx, [ebp - 0x88]
call fcn.00a398c6
lea ecx, [ebp - 0x7c]
call fcn.00a398c6
lea ecx, [ebp - 0x84]
call fcn.00a398c6
lea ecx, [ebp - 0x80]
call fcn.00a398c6
mov eax, dword [ebp - 0x78]
test eax, eax
je 0xbc012e
push eax
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
test edi, edi
je 0xbc0139
push edi
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
xor eax, eax
jmp 0xbc0142
mov eax, 0x80070491
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.00ab3c50
leave
ret 8