Function at 0x10041d10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
call sub.kernel32.dll_GetCommandLineW
test eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x28], 0
je 0x10042161
movzx esi, word [eax]
test si, si
je 0x10042161
add eax, 2
xor ebx, ebx
mov ecx, 2
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x10], 0
jmp 0x10041d83
mov word [ecx + ebx*2], si
inc ebx
mov dword [ebp - 0x44], ebx
movzx esi, word [edi]
lea eax, [edi + 2]
test si, si
je 0x10041dd3
mov edi, eax
cmp si, 9
je 0x10041db0
movzx eax, si
cmp eax, 0x20
je 0x10041db0
cmp eax, 0x22
jne 0x10041db6
mov eax, dword [ebp - 0x10]
xor al, 1
mov dword [ebp - 0x10], eax
jmp 0x10041d78
test byte [ebp - 0x10], 1
je 0x10041dd3
cmp ebx, dword [ebp - 0x4c]
jne 0x10041d70
lea ecx, [ebp - 0x4c]
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::hb3bae065834a38fe
mov ecx, dword [ebp - 0x48]
jmp 0x10041d70
add edi, 2
movzx eax, word [edi]
cmp eax, 0x20
je 0x10041dd0
cmp eax, 9
je 0x10041dd0
mov esi, dword [ebp - 0x48]
lea eax, [ebp - 0x40]
push ebx
push esi
push eax
call sym.__LT_std..ffi..os_str..OsString_u20_as_u20_std..os..windows..ffi..OsStringExt_GT_::from_wide::h63b25de594ca01f2
add esp, 0xc
mov dword [ebp - 0x50], esi
lea ecx, [ebp - 0x30]
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::hfdfdaa28144fea7f
mov esi, dword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x40]
movsd xmm1, qword [ebp - 0x38]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x18], 0
movzx ebx, word [edi]
test bx, bx
je 0x1004225e
mov ecx, 2
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
jmp 0x10041e6b
movzx ebx, word [esi]
mov al, 1
mov dword [ebp - 0x24], eax
nop word [eax + eax]
test bx, bx
mov edi, esi
je 0x10042202
movzx eax, bx
lea esi, [edi + 2]
cmp eax, 0x21
jg 0x10041f10
cmp eax, 9
je 0x10041e88
cmp eax, 0x20
jne 0x10041f80
test byte [ebp - 0x24], 1
jne 0x10041f80
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x10]
mov ebx, eax
push eax
lea eax, [ebp - 0x40]
push eax
call sym.__LT_std..ffi..os_str..OsString_u20_as_u20_std..os..windows..ffi..OsStringExt_GT_::from_wide::h63b25de594ca01f2
add esp, 0xc
mov edi, dword [ebp - 0x28]
cmp edi, dword [ebp - 0x30]
jne 0x10041eb7
lea ecx, [ebp - 0x30]
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::hfdfdaa28144fea7f
mov eax, dword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x40]
movsd xmm1, qword [ebp - 0x38]
mov ecx, edi
inc edi
shl ecx, 4
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov ecx, ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], 0
jmp 0x10041ef3
add esi, 2
movzx ebx, word [esi]
cmp ebx, 0x20
je 0x10041ef0
cmp ebx, 9
je 0x10041ef0
mov dword [ebp - 0x10], 0
jmp 0x10041e60
cmp eax, 0x22
je 0x10041fa9
cmp eax, 0x5c
jne 0x10041f80
movzx eax, word [esi]
xor ebx, ebx
cmp ax, 0x5c
jne 0x10041f3f
xor ebx, ebx
nop dword [eax + eax]
movzx eax, word [edi + ebx*2 + 4]
add esi, 2
inc ebx
cmp ax, 0x5c
je 0x10041f30
lea edi, [ebx + 1]
cmp ax, 0x22
jne 0x10041fd3
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
shr edi, 1
sub eax, edx
cmp eax, edi
jae 0x10041ffd
lea ecx, [ebp - 0x20]
push 2
push 2
push edi
call sym.alloc::raw_vec::RawVecInner_LT_A_GT_::reserve::do_reserve_and_handle::h35901dc27c78f3f2
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
jmp 0x10042005
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jne 0x10041f90
lea ecx, [ebp - 0x20]
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::hb3bae065834a38fe
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov word [ecx + eax*2], bx
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
movzx ebx, word [esi]
jmp 0x10041e60
test byte [ebp - 0x24], 1
je 0x10041e4f
movzx ebx, word [esi]
cmp ebx, 0x22
je 0x100420a8
test ebx, ebx
je 0x10042202
mov dword [ebp - 0x24], 0
jmp 0x10041e60
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
sub eax, edx
cmp eax, edi
mov eax, edi
jae 0x1004205e
lea ecx, [ebp - 0x20]
push 2
push 2
mov edi, eax
push eax
call sym.alloc::raw_vec::RawVecInner_LT_A_GT_::reserve::do_reserve_and_handle::h35901dc27c78f3f2
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, edi
jmp 0x10042066
mov eax, dword [ebp - 0x14]
cmp eax, 2
jb 0x1004204a
mov ecx, dword [ebp - 0x1c]
cmp eax, 0x20
jb 0x10042108
mov edx, dword [ebp - 0x10]
mov eax, edi
movaps xmm0, xmmword [0x100eeb70]
mov dword [ebp - 0x14], ecx
and eax, 0xfffffff0
lea ecx, [ecx + edx*2 + 0x10]
add edx, eax
mov dword [ebp - 0x10], edx
mov edx, eax
nop
movups xmmword [ecx - 0x10], xmm0
movups xmmword [ecx], xmm0
add ecx, 0x20
add edx, 0xfffffff0
jne 0x10042030
cmp edi, eax
jne 0x10042102
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
test bl, 1
mov dword [ebp - 0x18], eax
je 0x10042128
jmp 0x10042159
test eax, eax
je 0x100420fa
cmp eax, 0x10
jb 0x100420f0
movaps xmm0, xmmword [0x100eeb70]
mov ebx, eax
and eax, 0xfffffff0
mov dword [ebp - 0x14], ecx
lea ecx, [ecx + edx*2 + 0x10]
add edx, eax
mov edi, eax
nop word cs:[eax + eax]
movups xmmword [ecx - 0x10], xmm0
movups xmmword [ecx], xmm0
add ecx, 0x20
add edi, 0xfffffff0
jne 0x10042090
cmp ebx, eax
jne 0x100420de
mov ecx, dword [ebp - 0x14]
jmp 0x100420fa
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jne 0x100420b8
lea ecx, [ebp - 0x20]
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::hb3bae065834a38fe
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov word [ecx + eax*2], 0x22
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
lea eax, [edi + 4]
cmp word [edi + 2], 0
cmovne esi, eax
movzx ebx, word [esi]
jmp 0x10041e60
mov ecx, dword [ebp - 0x14]
mov eax, ebx
and eax, 0xf
nop word cs:[eax + eax]
mov word [ecx + edx*2], 0x5c
inc edx
dec eax
jne 0x100420f0
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], edx
jmp 0x10042159
mov ecx, dword [ebp - 0x14]
and edi, 0xf
mov eax, dword [ebp - 0x10]
nop dword [eax + eax]
mov word [ecx + eax*2], 0x5c
inc eax
dec edi
jne 0x10042110
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test bl, 1
mov dword [ebp - 0x18], eax
jne 0x10042159
xor ebx, ebx
cmp word [esi], 0
setne byte [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jne 0x1004213f
lea ecx, [ebp - 0x20]
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::hb3bae065834a38fe
movzx eax, byte [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov bl, al
mov eax, dword [ebp - 0x10]
lea esi, [esi + ebx*2]
mov word [ecx + eax*2], 0x22
jmp 0x10041f9a
movzx ebx, word [esi]
jmp 0x10041e60
lea ecx, [ebp - 0x40]
call sym.__ZN3std3sys3pal7windows2os11current_exe17ha4f316e9c806e5b5E.llvm.10150728606014878797
mov edi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x38]
mov eax, edi
neg eax
jno 0x100421d0
cmp bl, 3
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], 1
jne 0x100421c7
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
test eax, eax
je 0x1004219c
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x100421b9
cmp dword [ebx + 8], 9
jb 0x100421ab
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x100ff0c8]
call sub.kernel32.dll_HeapFree
push esi
push 0
push dword [0x100ff0c8]
call sub.kernel32.dll_HeapFree
mov ebx, 1
xor edi, edi
jmp 0x100421d9
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x30]
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::hfdfdaa28144fea7f
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov edi, 1
mov ebx, dword [ebp - 0x30]
jmp 0x10042292
mov ecx, dword [ebp - 0x10]
test ecx, ecx
setne al
or al, byte [ebp - 0x24]
test al, 1
je 0x100422ad
push ecx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x40]
push eax
call sym.__LT_std..ffi..os_str..OsString_u20_as_u20_std..os..windows..ffi..OsStringExt_GT_::from_wide::h63b25de594ca01f2
add esp, 0xc
mov edi, dword [ebp - 0x28]
cmp edi, dword [ebp - 0x30]
jne 0x10042235
lea ecx, [ebp - 0x30]
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::hfdfdaa28144fea7f
mov esi, dword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x40]
movsd xmm1, qword [ebp - 0x38]
mov eax, edi
inc edi
shl eax, 4
movsd qword [esi + eax + 8], xmm1
movsd qword [esi + eax], xmm0
mov ebx, dword [ebp - 0x30]
cmp dword [ebp - 0x20], 0
jne 0x1004226c
jmp 0x1004227c
mov edi, 1
mov ebx, dword [ebp - 0x30]
cmp dword [ebp - 0x20], 0
je 0x1004227c
push dword [ebp - 0x1c]
push 0
push dword [0x100ff0c8]
call sub.kernel32.dll_HeapFree
cmp dword [ebp - 0x4c], 0
je 0x10042292
push dword [ebp - 0x50]
push 0
push dword [0x100ff0c8]
call sub.kernel32.dll_HeapFree
mov eax, dword [ebp + 8]
shl edi, 4
add edi, esi
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x30]
cmp dword [ebp - 0x20], 0
jne 0x1004226c
jmp 0x1004227c