Function at 0x436770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov ebp, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov dword [esp + 4], 0x4f3760
mov dword [esp + 8], str.Print_partitions__space_usage__disk_type__etc
mov dword [esp + 0xc], dbg.ffParseDiskCommandOptions
mov dword [esp + 0x10], dbg.ffParseDiskJsonObject
mov dword [esp + 0x14], dbg.ffPrintDisk
mov dword [esp + 0x18], dbg.ffGenerateDiskJsonResult
mov dword [esp + 0x1c], dbg.ffPrintDiskHelpFormat
mov dword [esp + 0x20], dbg.ffGenerateDiskJsonConfig
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov ecx, dword [0x5052b0]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], 0x25
mov dword [esp + 0x5c], 0
mov word [esp + 0x60], 0x5032
lea ecx, [esi + 0x20]
push ecx
push eax
push ebp
push ebx
call dbg.ffJsonConfigGenerateModuleArgsConfig
mov edx, esi
add esp, 0x10
mov eax, dword [esi + 0x54]
cmp dword [esp + 0x58], eax
je 0x436ba8
test al, 4
je 0x436904
test ebx, ebx
je 0x436904
test ebp, ebp
je 0x436904
mov eax, dword [ebp]
not eax
test al, 7
jne 0x436904
lea esi, [ebx + 0x28]
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
sub ecx, eax
sar ecx, 3
imul ecx, ecx, 0xaaaaaaab
cmp ecx, 1
jbe 0x436ec1
lea ecx, [eax + 0x30]
mov dword [esi], ecx
test eax, eax
je 0x436904
mov ecx, dword [ebp + 1]
lea edx, [eax + 0x18]
mov dword [eax + 4], 0
mov dword [eax], 0xc0d
mov dword [eax + 8], str.showExternal
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0xb
mov esi, eax
test ecx, ecx
je 0x4368e2
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x10]
mov esi, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov dword [eax + 0x28], esi
mov dword [eax + 0x10], edx
mov dword [ebp + 8], eax
inc ecx
movzx eax, byte [ebp]
mov edx, ecx
shr edx, 0x18
shl ecx, 8
or ecx, eax
mov dword [ebp + 4], edx
mov dword [ebp], ecx
mov edx, dword [esp + 0x78]
test byte [edx + 0x54], 2
je 0x4369ad
test ebx, ebx
je 0x4369ad
test ebp, ebp
je 0x4369ad
mov eax, dword [ebp]
not eax
test al, 7
jne 0x4369ad
lea esi, [ebx + 0x28]
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
sub ecx, eax
sar ecx, 3
imul ecx, ecx, 0xaaaaaaab
cmp ecx, 1
jbe 0x436ee3
lea ecx, [eax + 0x30]
mov dword [esi], ecx
test eax, eax
je 0x4369ad
mov ecx, dword [ebp + 1]
lea edx, [eax + 0x18]
mov dword [eax + 4], 0
mov dword [eax], 0xa0d
mov dword [eax + 8], str.showHidden
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0xb
mov esi, eax
test ecx, ecx
je 0x43698b
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x10]
mov esi, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov dword [eax + 0x28], esi
mov dword [eax + 0x10], edx
mov dword [ebp + 8], eax
inc ecx
movzx eax, byte [ebp]
mov edx, ecx
shr edx, 0x18
shl ecx, 8
or ecx, eax
mov dword [ebp + 4], edx
mov dword [ebp], ecx
mov edx, dword [esp + 0x78]
test byte [edx + 0x54], 8
je 0x436a56
test ebx, ebx
je 0x436a56
test ebp, ebp
je 0x436a56
mov eax, dword [ebp]
not eax
test al, 7
jne 0x436a56
lea esi, [ebx + 0x28]
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
sub ecx, eax
sar ecx, 3
imul ecx, ecx, 0xaaaaaaab
cmp ecx, 1
jbe 0x436f05
lea ecx, [eax + 0x30]
mov dword [esi], ecx
test eax, eax
je 0x436a56
mov ecx, dword [ebp + 1]
lea edx, [eax + 0x18]
mov dword [eax + 4], 0
mov dword [eax], 0xe0d
mov dword [eax + 8], str.showSubvolumes
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0xb
mov esi, eax
test ecx, ecx
je 0x436a34
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x10]
mov esi, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov dword [eax + 0x28], esi
mov dword [eax + 0x10], edx
mov dword [ebp + 8], eax
inc ecx
movzx eax, byte [ebp]
mov edx, ecx
shr edx, 0x18
shl ecx, 8
or ecx, eax
mov dword [ebp + 4], edx
mov dword [ebp], ecx
mov edx, dword [esp + 0x78]
test byte [edx + 0x54], 0x20
je 0x436aff
test ebx, ebx
je 0x436aff
test ebp, ebp
je 0x436aff
mov eax, dword [ebp]
not eax
test al, 7
jne 0x436aff
lea esi, [ebx + 0x28]
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
sub ecx, eax
sar ecx, 3
imul ecx, ecx, 0xaaaaaaab
cmp ecx, 1
jbe 0x436f27
lea ecx, [eax + 0x30]
mov dword [esi], ecx
test eax, eax
je 0x436aff
mov ecx, dword [ebp + 1]
lea edx, [eax + 0x18]
mov dword [eax + 4], 0
mov dword [eax], 0xc0d
mov dword [eax + 8], str.showReadOnly
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0xb
mov esi, eax
test ecx, ecx
je 0x436add
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x10]
mov esi, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov dword [eax + 0x28], esi
mov dword [eax + 0x10], edx
mov dword [ebp + 8], eax
inc ecx
movzx eax, byte [ebp]
mov edx, ecx
shr edx, 0x18
shl ecx, 8
or ecx, eax
mov dword [ebp + 4], edx
mov dword [ebp], ecx
mov edx, dword [esp + 0x78]
test byte [edx + 0x54], 0x10
je 0x436ba8
test ebx, ebx
je 0x436ba8
test ebp, ebp
je 0x436ba8
mov eax, dword [ebp]
not eax
test al, 7
jne 0x436ba8
lea esi, [ebx + 0x28]
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
sub ecx, eax
sar ecx, 3
imul ecx, ecx, 0xaaaaaaab
cmp ecx, 1
jbe 0x436f49
lea ecx, [eax + 0x30]
mov dword [esi], ecx
test eax, eax
je 0x436ba8
mov ecx, dword [ebp + 1]
lea edx, [eax + 0x18]
mov dword [eax + 4], 0
mov dword [eax], 0xb0d
mov dword [eax + 8], str.showUnknown
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0xb
mov esi, eax
test ecx, ecx
je 0x436b86
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x10]
mov esi, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov dword [eax + 0x28], esi
mov dword [eax + 0x10], edx
mov dword [ebp + 8], eax
inc ecx
movzx eax, byte [ebp]
mov edx, ecx
shr edx, 0x18
shl ecx, 8
or ecx, eax
mov dword [ebp + 4], edx
mov dword [ebp], ecx
mov edx, dword [esp + 0x78]
mov ebp, dword [edx + 0x4c]
mov ecx, dword [edx + 0x50]
mov eax, dword [esp + 0x50]
cmp ebp, eax
cmovb eax, ebp
inc eax
push eax
push dword [esp + 0x58]
mov dword [esp + 8], ecx
push ecx
call sym._memcmp
add esp, 0xc
test eax, eax
je 0x436cd2
cmp dword [esp + 0x80], 0
je 0x436cd2
test ebx, ebx
je 0x436cd2
cmp dword [esp], 0
je 0x436cd2
mov eax, dword [esp + 0x80]
mov eax, dword [eax]
not eax
test al, 7
jne 0x436cd2
lea edi, [ebx + 0x28]
mov esi, dword [ebx + 0x28]
mov eax, dword [ebx + 0x2c]
sub eax, esi
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 1
jbe 0x436e4a
lea eax, [esi + 0x30]
mov dword [edi], eax
test esi, esi
je 0x436cd2
mov eax, dword [esp + 0x80]
mov edi, dword [eax + 1]
mov dword [esi + 4], 0
mov dword [esi], 0x70d
mov dword [esi + 8], str.folders
lea edx, [ebx + 0x14]
mov eax, ebx
mov ebx, dword [ebx + 0x14]
mov eax, dword [eax + 0x18]
sub eax, ebx
cmp eax, ebp
jbe 0x436e68
lea eax, [ebx + ebp]
inc eax
mov dword [edx], eax
test ebx, ebx
je 0x436e8c
push ebp
push dword [esp + 4]
push ebx
call sym._memcpy
add esp, 0xc
mov byte [ebx + ebp], 0
lea eax, [esi + 0x18]
mov dword [esi + 0x20], ebx
mov ecx, ebp
shr ecx, 0x18
shl ebp, 8
or ebp, 5
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ecx
mov ecx, esi
test edi, edi
mov ebx, dword [esp + 0x80]
je 0x436cb2
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [edx + 0x10], esi
mov dword [esi + 0x28], ecx
mov dword [esi + 0x10], eax
mov dword [ebx + 8], esi
inc edi
movzx eax, byte [ebx]
mov ecx, edi
shr ecx, 0x18
shl edi, 8
or edi, eax
mov dword [ebx + 4], ecx
mov dword [ebx], edi
mov ebx, dword [esp + 0x7c]
lea ecx, [esp + 0x60]
mov edx, dword [esp + 0x78]
mov esi, dword [edx + 0x58]
cmp dword [esp + 0x5c], esi
mov ebp, dword [esp + 0x80]
je 0x436da4
test ebx, ebx
je 0x436da4
test ebp, ebp
je 0x436da4
mov eax, dword [ebp]
not eax
test al, 7
jne 0x436da4
lea edi, [ebx + 0x28]
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
sub ecx, eax
sar ecx, 3
imul ecx, ecx, 0xaaaaaaab
cmp ecx, 1
jbe 0x436e98
lea ecx, [eax + 0x30]
mov dword [edi], ecx
test eax, eax
lea ecx, [esp + 0x60]
je 0x436da4
lea edx, [eax + 0x18]
xor ebx, ebx
cmp esi, 1
mov ecx, dword [ebp + 1]
mov dword [eax + 4], 0
mov dword [eax], 0xc0d
mov dword [eax + 8], str.useAvailable
sete bl
lea esi, [ebx*8 + 3]
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], 0
mov esi, eax
test ecx, ecx
je 0x436d7a
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x10]
mov esi, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov dword [eax + 0x28], esi
mov dword [eax + 0x10], edx
mov dword [ebp + 8], eax
inc ecx
movzx eax, byte [ebp]
mov edx, ecx
shr edx, 0x18
shl ecx, 8
or ecx, eax
mov dword [ebp + 4], edx
mov dword [ebp], ecx
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x60]
sub esp, 0x10
movzx eax, word [edx + 0x5c]
mov word [esp + 0xc], ax
movzx eax, word [ecx]
mov word [esp + 8], ax
mov dword [esp + 4], ebp
mov dword [esp], ebx
call dbg.ffPercentGenerateJsonConfig
add esp, 0x10
cmp dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
je 0x436dea
mov dword [esp + 0x24], 0
push dword [esp + 0x2c]
call sym._free
add esp, 4
mov eax, dword [0x5052b0]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
je 0x436e1b
mov dword [esp + 0x30], 0
push dword [esp + 0x38]
call sym._free
add esp, 4
mov eax, dword [0x5052b0]
mov dword [esp + 0x38], eax
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
je 0x436e42
mov dword [esp + 0x3c], 0
push dword [esp + 0x44]
call sym._free
add esp, 4
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebx + 4]
push 2
push eax
push edi
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
test al, al
je 0x436cd2
mov esi, dword [edi]
jmp 0x436c22
mov eax, dword [esp + 0x7c]
add eax, 4
lea ecx, [ebp + 1]
push ecx
push eax
mov ebx, edx
push edx
call dbg.unsafe_yyjson_str_pool_grow
add esp, 0xc
test al, al
je 0x436e8c
mov edx, ebx
mov ebx, dword [ebx]
jmp 0x436c62
mov dword [esi + 0x20], 0
jmp 0x436cce
lea eax, [ebx + 4]
push 2
push eax
push edi
call dbg.unsafe_yyjson_val_pool_grow
mov edx, dword [esp + 0x84]
add esp, 0xc
test al, al
lea ecx, [esp + 0x60]
je 0x436da4
mov eax, dword [edi]
jmp 0x436d28
lea eax, [ebx + 4]
push 2
push eax
push esi
mov edi, edx
call dbg.unsafe_yyjson_val_pool_grow
mov edx, edi
add esp, 0xc
test al, al
je 0x436904
mov eax, dword [esi]
jmp 0x43689f
lea eax, [ebx + 4]
push 2
push eax
push esi
mov edi, edx
call dbg.unsafe_yyjson_val_pool_grow
mov edx, edi
add esp, 0xc
test al, al
je 0x4369ad
mov eax, dword [esi]
jmp 0x436948
lea eax, [ebx + 4]
push 2
push eax
push esi
mov edi, edx
call dbg.unsafe_yyjson_val_pool_grow
mov edx, edi
add esp, 0xc
test al, al
je 0x436a56
mov eax, dword [esi]
jmp 0x4369f1
lea eax, [ebx + 4]
push 2
push eax
push esi
mov edi, edx
call dbg.unsafe_yyjson_val_pool_grow
mov edx, edi
add esp, 0xc
test al, al
je 0x436aff
mov eax, dword [esi]
jmp 0x436a9a
lea eax, [ebx + 4]
push 2
push eax
push esi
mov edi, edx
call dbg.unsafe_yyjson_val_pool_grow
mov edx, edi
add esp, 0xc
test al, al
je 0x436ba8
mov eax, dword [esi]
jmp 0x436b43