Function at 0x5da470
Capabilities:
Terminate process

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x13], 0
mov dword [esp + 0x14], 0
call fcn.005d96d0
push 0
lea eax, [esp + 0x50]
push 0x200
push eax
call fcn.005d8cd0
mov ebp, dword [esp + 0x84]
mov edx, dword [ebp]
mov ebx, dword [esp + 0x88]
add esp, 0xc
cmp edx, 2
jl 0x5da535
mov ecx, dword [ebx]
mov esi, dword [ecx + 4]
mov edi, str.__no_defaults
mov ecx, 0xe
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x5da535
lea ecx, [edx*4 + 0x24]
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.005d8dd0
add esp, 8
test eax, eax
je 0x5da5d6
mov ecx, dword [ebx]
mov ecx, dword [ecx]
lea edx, [eax + 0x20]
mov dword [edx], ecx
mov esi, dword [ebp]
mov ecx, 2
cmp esi, ecx
jbe 0x5da511
mov edi, edi
mov esi, dword [ebx]
mov esi, dword [esi + ecx*4]
mov dword [edx + ecx*4 - 4], esi
mov esi, dword [ebp]
inc ecx
cmp ecx, esi
jb 0x5da500
mov dword [edx + ecx*4 - 4], 0
dec dword [ebp]
mov edi, eax
mov dword [ebx], edx
mov ecx, 8
lea esi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5c
ret
mov eax, dword [esp + 0x74]
mov esi, dword [eax]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], str.defaults
mov dword [esp + 0x30], eax
je 0x5da560
mov esi, dword [eax + 4]
add eax, 4
inc ecx
test esi, esi
jne 0x5da551
mov dword [esp + 0x28], ecx
push 0x20
push edx
lea edx, [esp + 0x40]
push 4
push edx
call fcn.005d9130
add esp, 0x10
test al, al
jne 0x5da5d6
lea eax, [esp + 0x4c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push 0x5d9400
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x34]
push ebx
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x80]
push ebp
push edx
call fcn.005da1d0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x30], eax
mov eax, dword [ebp]
add eax, ecx
lea ecx, [eax*4 + 0x24]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.005d8dd0
add esp, 0x20
test eax, eax
mov dword [esp + 0x78], eax
jne 0x5da5ef
push str.Fatal_error_in_defaults_handling._Program_aborted_n
push 0x93e408
call fcn.006cf108
add esp, 8
push 1
call fcn.006cf0c8
lea edx, [eax + 0x20]
mov eax, dword [ebx]
mov ecx, dword [eax]
mov eax, dword [esp + 0x14]
mov dword [edx], ecx
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
lea edi, [edx + 4]
rep movsd dword es:[edi], dword [esi]
sub dword [ebp], eax
mov esi, dword [ebx]
shl eax, 2
add esi, eax
mov dword [ebx], esi
cmp dword [ebp], 2
mov eax, esi
jl 0x5da643
mov esi, dword [eax + 4]
mov edi, str.__print_defaults
mov ecx, 0x11
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x5da643
mov eax, dword [ebp]
dec eax
mov dword [ebp], eax
mov eax, dword [ebx]
add eax, 4
mov byte [esp + 0x13], 1
mov dword [ebx], eax
mov eax, dword [ebp]
test eax, eax
je 0x5da66c
mov esi, dword [ebx]
lea ecx, [eax*4 - 4]
mov eax, dword [esp + 0x3c]
lea edi, [edx + eax*4 + 4]
mov eax, ecx
shr ecx, 2
add esi, 4
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
add ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x78]
mov dword [edx + ecx*4], 0
mov esi, dword [ebp]
mov eax, dword [esp + 0x3c]
add esi, eax
mov dword [ebp], esi
mov dword [ebx], edx
mov ecx, 8
lea esi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x38]
push ecx
call fcn.005d9300
mov al, byte [esp + 0x17]
add esp, 4
test al, al
je 0x5da6ff
mov edx, dword [ebx]
mov eax, dword [edx]
push eax
push str._s_would_have_been_started_with_the_following_arguments:_n
call fcn.006d1d9e
mov eax, dword [ebp]
mov esi, 1
add esp, 8
cmp eax, esi
jle 0x5da6eb
lea ebx, [ebx]
mov ecx, dword [ebx]
mov edx, dword [ecx + esi*4]
push edx
push 0x7cd13c
call fcn.006d1d9e
mov eax, dword [ebp]
add esp, 8
inc esi
cmp esi, eax
jl 0x5da6d0
push 0x73a01c
call fcn.006d1e04
add esp, 4
push 0
call fcn.006cf0c8
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret