Function at 0x402902
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
call fcn.00409cf0
call fcn.004049e0
mov dword [ebp - 0x10], 0
mov ebx, dword [0x456b50]
jmp case.0x4028fb.102
call fcn.00403140
mov edi, dword [esi]
mov dword [ebx + 0x38c], edi
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
nop dword [eax + eax]
push str.qa:c:C:d:e:E:g:il:mo:O:rR:s:S:z:t:T:U:Vfw:
push edi
push esi
call fcn.0040b1e0
add esp, 0xc
lea ecx, [eax + 1]
cmp ecx, 0x7b
ja case.0x4028fb.0
jmp dword [ecx*4 + 0x456170]
mov eax, dword [0x456b54]
push 0x45645f
push dword [eax]
call sub.api_ms_win_crt_string_l1_1_0.dll_strtok
add esp, 8
mov dword [ebp - 0x10], eax
push eax
call fcn.004051f0
add esp, 4
mov esi, eax
test eax, eax
jns 0x402946
cmp dword [ebx + 0x5b8], 0
js 0x402941
push dword [ebp - 0x10]
push str._tError:_Unknown_encoding__s_n
call fcn.004030e0
add esp, 8
call fcn.00403140
mov word [ebx + 0x394], si
push 0x45647e
push 0
call sub.api_ms_win_crt_string_l1_1_0.dll_strtok
add esp, 8
mov dword [ebp - 0x10], eax
lea eax, [ebx + 0x396]
lea ecx, [ebp - 0x10]
push eax
push ecx
call fcn.00405240
add esp, 8
mov esi, dword [ebp + 8]
test eax, eax
je 0x402997
cmp dword [ebx + 0x5b8], 0
js 0x402992
push dword [ebp - 0x10]
push str._tError:_Unknown_flag__s_n
call fcn.004030e0
add esp, 8
call fcn.00403140
or byte [ebx + 0x60d], 0x10
jmp case.0x4028fb.102
mov dword [ebx + 0x614], 1
jmp case.0x4028fb.102
mov eax, dword [0x456b54]
push dword [eax]
call sub.api_ms_win_crt_convert_l1_1_0.dll_atoi
add esp, 4
mov dword [ebx + 0x5b8], eax
jmp case.0x4028fb.102
mov dword [ebx + 0x604], 1
jmp case.0x4028fb.102
mov eax, dword [0x456b54]
push dword [eax]
call sub.api_ms_win_crt_convert_l1_1_0.dll_atoi
add esp, 4
mov dword [ebx + 0x70], eax
sar eax, 0x1f
mov dword [ebx + 0x74], eax
jmp case.0x4028fb.102
mov eax, dword [0x456b54]
push 0
push 0
push dword [eax]
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtoul
add esp, 0xc
mov dword [ebx + 0x610], eax
jmp case.0x4028fb.102
mov eax, dword [0x456b54]
push dword [eax]
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
add esp, 4
mov dword [ebx + 0x5ac], eax
jmp case.0x4028fb.102
mov eax, dword [0x456b54]
push str.android
push dword [eax]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne case.0x4028fb.102
mov dword [ebx + 0x5e0], 1
jmp case.0x4028fb.102
mov eax, dword [0x456b54]
push dword [eax]
call sub.api_ms_win_crt_convert_l1_1_0.dll_atoi
add esp, 4
mov dword [ebx + 0x40], eax
jmp case.0x4028fb.102
mov eax, dword [0x456b54]
push dword [eax]
call sub.api_ms_win_crt_convert_l1_1_0.dll_atoi
add esp, 4
mov dword [ebx + 0x44], eax
jmp case.0x4028fb.102
mov eax, dword [0x456b54]
push dword [eax]
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
add esp, 4
mov dword [ebx + 0x5b0], eax
jmp case.0x4028fb.102
mov eax, dword [0x456b54]
push dword [eax]
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
add esp, 4
test eax, eax
je 0x402d90
mov ebx, eax
mov dword [ebp - 0x14], eax
nop
mov al, byte [ebx]
cmp al, 0x20
je 0x402ad0
test al, al
jne 0x402ad9
jmp 0x402da0
movzx eax, byte [ebx + 1]
inc ebx
cmp al, 0x20
je 0x402ad0
mov esi, ebx
test al, al
je 0x402af1
nop
cmp al, 0x20
je 0x402b00
cmp al, 0x2c
je 0x402b00
movzx eax, byte [esi + 1]
inc esi
test al, al
jne 0x402ae0
xor esi, esi
jmp 0x402b03
mov byte [esi], 0
mov eax, dword [str.encrypt]
mov edi, 0x476010
test eax, eax
je 0x402b38
nop word cs:[eax + eax]
nop dword [eax + eax]
push ebx
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x402b38
mov eax, dword [edi + 8]
add edi, 8
test eax, eax
jne 0x402b20
mov eax, dword [edi + 4]
test eax, eax
je 0x402d5d
mov ecx, dword [0x456b50]
lea ebx, [esi + 1]
mov edi, dword [ebp + 0xc]
or dword [ecx + 0x60c], eax
test esi, esi
mov esi, dword [ebp + 8]
jne 0x402ac0
jmp 0x402da0
mov eax, dword [0x456b54]
mov esi, dword [eax]
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 1
je 0x402d53
dec eax
lea ecx, [esi + 1]
xor edx, edx
xor edi, edi
nop word cs:[eax + eax]
cmp byte [esi + edx], 0x3a
lea ebx, [ecx + edx]
cmove edi, ebx
inc edx
cmp edx, eax
jb 0x402b90
mov ebx, dword [0x456b50]
test edi, edi
je 0x402d53
push esi
call sub.api_ms_win_crt_convert_l1_1_0.dll_atoi
add esp, 4
mov dword [ebx + 0x630], eax
push edi
call sub.api_ms_win_crt_convert_l1_1_0.dll_atoi
add esp, 4
mov dword [ebx + 0x634], eax
jmp 0x4028d5
mov eax, dword [0x456b54]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__atoi64]
add esp, 4
and eax, 0xfffff000
mov dword [ebx + 0x5c], edx
mov dword [ebx + 0x58], eax
mov dword [ebx + 8], 1
jmp case.0x4028fb.102
mov eax, dword [0x456b54]
push dword [eax]
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
add esp, 4
mov dword [ebx + 0x390], eax
jmp case.0x4028fb.102
mov eax, dword [0x456b54]
push dword [eax]
call sub.api_ms_win_crt_convert_l1_1_0.dll_atoi
add esp, 4
mov dword [ebx + 0x398], eax
jmp case.0x4028fb.102
cmp dword [ebx + 0x5a8], 8
jl 0x402c4f
cmp dword [ebx + 0x5b8], 0
js 0x402c4a
push str.Error:_Too_many_devices
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
add esp, 4
call fcn.00403140
mov esi, dword [0x456b54]
mov edi, dword [esi]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0x41
jb 0x402c84
cmp dword [ebx + 0x5b8], 0
js 0x402c7d
push 0x40
push str.Error:_device_path_should_be_less_than__d_characters_n
call fcn.004030e0
add esp, 8
call fcn.00403140
mov edi, dword [esi]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
add esp, 4
mov ecx, dword [ebx + 0x5a8]
lea edx, [ecx + 1]
shl ecx, 6
mov dword [ebx + 0x5a8], edx
mov dword [ebx + ecx + 0x3a8], eax
jmp 0x4028d5
mov esi, dword [0x456b54]
mov edi, dword [esi]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0x201
jb 0x4028cf
cmp dword [ebx + 0x5b8], 0
js 0x4028c8
push str.Error:_Volume_Label_should_be_less_than_512_characters
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
add esp, 4
jmp 0x4028c8
mov dword [ebx + 0xc], 1
jmp case.0x4028fb.102
mov dword [ebx + 0x5b8], 0xffffffff
jmp case.0x4028fb.102
mov eax, dword [0x456b54]
push dword [eax]
call sub.api_ms_win_crt_convert_l1_1_0.dll_atof
add esp, 4
fstp qword [ebx + 0x18]
jmp case.0x4028fb.102
mov eax, dword [0x456b54]
push dword [eax]
call sub.api_ms_win_crt_convert_l1_1_0.dll_atoi
add esp, 4
mov dword [ebx + 0x5c0], eax
jmp case.0x4028fb.102
cmp dword [ebx + 0x5b8], 0
js 0x402d49
push eax
push str._tError:_Unknown_option__c_n
call fcn.004030e0
add esp, 8
call fcn.00403140
jmp case.0x4028fb.102
call fcn.00403140
jmp 0x4028d5
mov eax, dword [0x456b50]
mov edi, dword [ebp + 0xc]
cmp dword [eax + 0x5b8], 0
js 0x402d7c
push ebx
push str.Error:_Wrong_features__s_n
call fcn.004030e0
add esp, 8
push dword [ebp - 0x14]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov ebx, dword [0x456b50]
mov esi, dword [ebp + 8]
call fcn.00403140
jmp case.0x4028fb.102
push dword [ebp - 0x14]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
jmp 0x4028c0
cmp dword [ebx + 0x5e0], 1
jne 0x402df8
mov dword [ebx + 0x5b8], 1
mov eax, 0x481
or eax, dword [ebx + 0x60c]
mov dword [ebx + 0x60c], eax
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x70], 0x1000
mov dword [ebx + 0x634], 0
mov dword [ebx + 0x630], 0
jmp 0x402dfe
mov eax, dword [ebx + 0x60c]
mov esi, dword [0x456b58]
or eax, 0x1018
mov word [ebx + 0x394], 1
mov dword [ebx + 0x60c], eax
mov eax, dword [esi]
cmp eax, dword [ebp + 8]
jl 0x402e3c
cmp dword [ebx + 0x5b8], 0
js 0x402e35
push str._tError:_Device_not_specified
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
add esp, 4
call fcn.00403140
mov eax, dword [esi]
push dword [edi + eax*4]
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
add esp, 4
mov dword [ebx + 0x3a8], eax
mov eax, dword [esi]
inc eax
cmp eax, dword [ebp + 8]
jge 0x402e8e
cmp dword [ebx + 0x5a8], 2
jl 0x402e7c
cmp dword [ebx + 0x5b8], 0
js 0x402e74
push str._tError:_Not_support_custom_size_on_multi_devs.
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
add esp, 4
call fcn.00403140
mov eax, dword [esi]
inc eax
push dword [edi + eax*4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__atoi64]
add esp, 4
mov dword [ebx + 0x6c], edx
mov dword [ebx + 0x68], eax
cmp dword [ebx + 8], 0
je 0x402e9e
mov dword [ebx + 0x5c0], 0
cmp dword [ebx + 0xc], 0
je 0x402eab
or byte [ebx + 0x60c], 2
cmp dword [ebx + 0x5b8], 0
js 0x403018
push str.2020_08_24
push str.1.14.0
push str._n_tF2FS_tools:_mkfs.f2fs_Ver:__s___s__n_n
call fcn.004030e0
add esp, 0xc
mov eax, dword [ebx + 0x5b8]
test eax, eax
js 0x402ef5
cmp dword [ebx + 0x398], 0
jne 0x402ef5
push str.Info:_Disable_heap_based_policy
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
add esp, 4
mov eax, dword [ebx + 0x5b8]
test eax, eax
js 0x403018
push eax
push str.Info:_Debug_level___d_n
call fcn.004030e0
add esp, 8
mov eax, dword [ebx + 0x5b8]
test eax, eax
js 0x402f31
cmp dword [ebx + 0x5ac], 0
je 0x402f31
push str.Info:_Add_new_cold_file_extension_list
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
add esp, 4
mov eax, dword [ebx + 0x5b8]
test eax, eax
js 0x402f51
cmp dword [ebx + 0x5b0], 0
je 0x402f51
push str.Info:_Add_new_hot_file_extension_list
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
add esp, 4
mov eax, dword [ebx + 0x5b8]
test eax, eax
js 0x402f74
mov ecx, dword [ebx + 0x38c]
cmp byte [ecx], 0
je 0x402f74
push ecx
push str.Info:_Label___s_n
call fcn.004030e0
add esp, 8
mov eax, dword [ebx + 0x5b8]
test eax, eax
js 0x403018
cmp dword [ebx + 0x5c0], 0
mov eax, str.disabled
mov ecx, str.enabled
cmove ecx, eax
push ecx
push str.Info:_Trim_is__s_n
call fcn.004030e0
add esp, 8
mov eax, dword [ebx + 0x5b8]
test eax, eax
js 0x402fc4
cmp dword [ebx + 0x5e0], 1
jne 0x402fc4
push str.Info:_Set_conf_for_android
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
add esp, 4
mov eax, dword [ebx + 0x5b8]
mov ecx, dword [ebx + 0x60c]
test eax, eax
js 0x403002
mov edx, ecx
and edx, 0x1000
je 0x403002
movzx eax, word [ebx + 0x394]
push eax
call fcn.00405220
add esp, 4
push eax
push str.Info:_Enable__s_with_casefolding_n
call fcn.004030e0
add esp, 8
mov eax, dword [ebx + 0x5b8]
mov ecx, dword [ebx + 0x60c]
test eax, eax
js 0x403018
and ecx, 0x10
je 0x403018
push str.Info:_Enable_Project_quota
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
add esp, 4
mov dword [ebx + 0x5c8], 0
call fcn.00404c60
test eax, eax
js 0x403051
call fcn.00404f30
test eax, eax
js 0x40309c
mov eax, dword [ebx + 0xc]
cmp dword [ebx + 0x10], 2
jne 0x403079
test eax, eax
jne 0x403079
cmp dword [ebx + 0x5b8], 0
js 0x40309c
push str._tError:_zoned_block_device_feature_is_required
jmp 0x403094
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 0x10
mov esi, 0xffffffff
je 0x4030a6
cmp dword [ebx + 0x5b8], 0
js 0x4030a6
push str._tError:_Not_available_on_mounted_device_
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
add esp, 4
jmp 0x4030a6
test eax, eax
je 0x4030b0
cmp dword [ebx + 0x5c0], 0
jne 0x4030b0
cmp dword [ebx + 0x5b8], 0
js 0x40309c
push str._tError:_Trim_is_required_for_zoned_block_devices
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
add esp, 4
call fcn.00402310
mov esi, 0xffffffff
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00405330
test eax, eax
js 0x40309c
call fcn.004023c0
test eax, eax
js 0x40309c
xor esi, esi
cmp dword [ebx + 0x5b8], 0
js 0x4030a6
push str.Info:_format_successful
jmp 0x40306f
call fcn.00403110
push 0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit