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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x78]
mov dword [esp + 4], str.Command
mov dword [esp + 8], str.Running_custom_shell_scripts
mov dword [esp + 0xc], dbg.ffParseCommandCommandOptions
mov dword [esp + 0x10], dbg.ffParseCommandJsonObject
mov dword [esp + 0x14], dbg.ffPrintCommand
mov dword [esp + 0x18], dbg.ffGenerateCommandJsonResult
mov dword [esp + 0x1c], dbg.ffPrintCommandHelpFormat
mov dword [esp + 0x20], dbg.ffGenerateCommandJsonConfig
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], 7
mov dword [esp + 0x54], str.cmd.exe
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], ecx
lea ecx, [esi + 0x20]
push ecx
push eax
push edi
push dword [esp + 0x88]
call dbg.ffJsonConfigGenerateModuleArgsConfig
add esp, 0x10
mov ebp, dword [esi + 0x4c]
mov ecx, dword [esi + 0x50]
mov eax, dword [esp + 0x50]
cmp eax, ebp
cmovae eax, ebp
inc eax
push eax
mov dword [esp + 4], ecx
push ecx
push dword [esp + 0x5c]
call sym._memcmp
add esp, 0xc
test eax, eax
je 0x433d5c
test edi, edi
je 0x433d5c
cmp dword [esp + 0x7c], 0
je 0x433d5c
cmp dword [esp], 0
je 0x433d5c
mov eax, dword [edi]
not eax
test al, 7
jne 0x433d5c
mov eax, dword [esp + 0x7c]
lea esi, [eax + 0x28]
mov ebx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
sub eax, ebx
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 1
jbe 0x433f4f
lea eax, [ebx + 0x30]
mov dword [esi], eax
test ebx, ebx
je 0x433d5c
mov esi, dword [edi + 1]
mov dword [ebx + 4], 0
mov dword [ebx], 0x50d
mov dword [ebx + 8], str.shell
mov ecx, dword [esp + 0x7c]
lea edx, [ecx + 0x14]
mov edi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
sub eax, edi
cmp eax, ebp
jbe 0x433f71
lea eax, [edi + ebp]
inc eax
mov dword [edx], eax
test edi, edi
je 0x433fd6
push ebp
push dword [esp + 4]
push edi
call sym._memcpy
add esp, 0xc
mov byte [edi + ebp], 0
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], edi
mov ecx, ebp
shr ecx, 0x18
shl ebp, 8
or ebp, 5
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x1c], ecx
mov ecx, ebx
test esi, esi
mov edi, dword [esp + 0x80]
je 0x433d40
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [edx + 0x10], ebx
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x10], eax
mov dword [edi + 8], ebx
inc esi
movzx eax, byte [edi]
mov ecx, esi
shr ecx, 0x18
shl esi, 8
or esi, eax
mov dword [edi + 4], ecx
mov dword [edi], esi
mov eax, dword [esp + 0x78]
mov ebp, dword [eax + 0x58]
mov ecx, dword [eax + 0x5c]
mov eax, dword [esp + 0x5c]
cmp eax, ebp
cmovae eax, ebp
inc eax
push eax
mov dword [esp + 4], ecx
push ecx
push dword [esp + 0x68]
call sym._memcmp
add esp, 0xc
test eax, eax
mov ecx, dword [esp + 0x7c]
je 0x433e74
test edi, edi
je 0x433e74
test ecx, ecx
je 0x433e74
cmp dword [esp], 0
je 0x433e74
mov eax, dword [edi]
not eax
test al, 7
jne 0x433e74
lea ebx, [ecx + 0x28]
mov esi, dword [ecx + 0x28]
mov eax, dword [ecx + 0x2c]
sub eax, esi
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 1
jbe 0x433f91
lea eax, [esi + 0x30]
mov dword [ebx], eax
test esi, esi
je 0x433e74
mov ebx, dword [edi + 1]
mov dword [esi + 4], 0
mov dword [esi], 0x40d
mov dword [esi + 8], str.text
lea edx, [ecx + 0x14]
mov edi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
sub eax, edi
cmp eax, ebp
jbe 0x433fb6
lea eax, [edi + ebp]
inc eax
mov dword [edx], eax
test edi, edi
je 0x433fe9
push ebp
push dword [esp + 4]
push edi
call sym._memcpy
add esp, 0xc
mov byte [edi + ebp], 0
lea eax, [esi + 0x18]
mov dword [esi + 0x20], edi
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 ebx, ebx
mov edi, dword [esp + 0x80]
je 0x433e58
mov ecx, dword [edi + 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 [edi + 8], esi
inc ebx
movzx eax, byte [edi]
mov ecx, ebx
shr ecx, 0x18
shl ebx, 8
or ebx, eax
mov dword [edi + 4], ecx
mov dword [edi], ebx
cmp dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
je 0x433e97
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 0x433ec8
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 0x433ef4
mov dword [esp + 0x3c], 0
push dword [esp + 0x44]
call sym._free
add esp, 4
mov eax, dword [0x5052b0]
mov dword [esp + 0x44], eax
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
je 0x433f20
mov dword [esp + 0x4c], 0
push dword [esp + 0x54]
call sym._free
add esp, 4
mov eax, dword [0x5052b0]
mov dword [esp + 0x54], eax
cmp dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
je 0x433f47
mov dword [esp + 0x58], 0
push dword [esp + 0x60]
call sym._free
add esp, 4
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x7c]
add eax, 4
push 2
push eax
push esi
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
test al, al
je 0x433d5c
mov ebx, dword [esi]
jmp 0x433cb5
lea eax, [ecx + 4]
lea ecx, [ebp + 1]
push ecx
push eax
mov edi, edx
push edx
call dbg.unsafe_yyjson_str_pool_grow
add esp, 0xc
test al, al
je 0x433fd6
mov edx, edi
mov edi, dword [edi]
jmp 0x433cf0
lea eax, [ecx + 4]
push 2
push eax
push ebx
call dbg.unsafe_yyjson_val_pool_grow
mov ecx, dword [esp + 0x88]
add esp, 0xc
test al, al
je 0x433e74
mov esi, dword [ebx]
jmp 0x433dd1
add ecx, 4
lea eax, [ebp + 1]
push eax
push ecx
mov edi, edx
push edx
call dbg.unsafe_yyjson_str_pool_grow
add esp, 0xc
test al, al
je 0x433fe9
mov edx, edi
mov edi, dword [edi]
jmp 0x433e08
mov dword [ebx + 0x20], 0
mov edi, dword [esp + 0x80]
jmp 0x433d5c
mov dword [esi + 0x20], 0
jmp 0x433e74