Function at 0x4147a0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x64
push ebx
xor eax, eax
cmp byte [0x79a838], al
push ebp
push esi
push edi
setne al
push 0
lea ecx, [esp + 0x58]
push 0x200
push ecx
mov byte [esp + 0x1f], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
call fcn.0040a5f0
lea edx, [esp + 0x60]
push edx
call fcn.004139f0
mov edi, eax
add esp, 0x10
mov dword [esp + 0x20], edi
test edi, edi
je 0x4149a3
mov ebx, dword [esp + 0x80]
mov edx, dword [ebx]
cmp edx, 2
mov ebp, dword [esp + 0x84]
jl 0x4148e0
mov eax, dword [ebp]
mov eax, dword [eax + 4]
mov esi, str.__no_defaults
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x414833
test cl, cl
je 0x41482f
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x414833
add eax, 2
add esi, 2
test cl, cl
jne 0x414813
xor eax, eax
jmp 0x414838
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4148e0
lea ecx, [edx*4 + 0x24]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.0040a6f0
add esp, 8
test eax, eax
je 0x4149a3
mov ecx, dword [ebp]
mov edx, dword [ecx]
lea esi, [eax + 0x20]
mov dword [esi], edx
cmp byte [0x79a838], 0
mov edx, 1
je 0x414883
mov ecx, dword [str.____args_separator____]
mov dword [esi + 4], ecx
mov edx, 2
mov ecx, 2
cmp dword [ebx], ecx
jbe 0x41489f
lea esp, [esp]
mov edi, dword [ebp]
mov edi, dword [edi + ecx*4]
mov dword [esi + edx*4], edi
inc ecx
inc edx
cmp ecx, dword [ebx]
jb 0x414890
mov dword [esi + edx*4], 0
cmp byte [0x79a838], 0
jne 0x4148b1
dec dword [ebx]
mov edi, eax
mov eax, dword [esp + 0x88]
mov dword [ebp], esi
mov ecx, 8
lea esi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
test eax, eax
je 0x414b32
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], edx
xor eax, eax
pop ebx
add esp, 0x64
ret
mov eax, dword [esp + 0x7c]
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], str.defaults
mov dword [esp + 0x38], eax
cmp dword [eax], ecx
je 0x41490d
lea ebx, [ebx]
add eax, 4
inc ecx
cmp dword [eax], 0
jne 0x414900
mov dword [esp + 0x30], ecx
push 0x20
push edx
push 0
lea eax, [esp + 0x4c]
push 4
push eax
call fcn.00427b70
add esp, 0x14
test al, al
jne 0x4149a3
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x48]
push 0x413660
mov dword [esp + 0x34], edx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x40]
push ebp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x8c]
push ebx
push eax
call fcn.004144f0
mov esi, eax
add esp, 0x1c
lea ecx, [esp + 0x54]
test esi, esi
je 0x41497e
push 0
push ecx
call fcn.0040a890
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov edx, dword [ebx]
add edx, dword [esp + 0x44]
add edx, dword [esp + 0x14]
lea eax, [edx*4 + 0x24]
push eax
push ecx
call fcn.0040a6f0
mov edi, eax
add esp, 8
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x4149c3
push str.Fatal_error_in_defaults_handling._Program_aborted_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 8
push 1
call dword [sym.imp.MSVCR90.dll_exit]
mov edx, dword [ebp]
mov eax, dword [edx]
lea esi, [edi + 0x20]
mov dword [esi], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
lea edx, [ecx*4]
push edx
push eax
lea ecx, [esi + 4]
push ecx
call sub.MSVCR90.dll_memcpy
mov eax, dword [esp + 0x24]
sub dword [ebx], eax
lea edx, [eax*4]
add dword [ebp], edx
mov edx, dword [ebx]
mov eax, dword [ebp]
add esp, 0xc
cmp edx, 2
jl 0x414a49
mov eax, dword [eax + 4]
mov edi, str.__print_defaults
lea esp, [esp]
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x414a30
test cl, cl
je 0x414a2c
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x414a30
add eax, 2
add edi, 2
test cl, cl
jne 0x414a10
xor eax, eax
jmp 0x414a35
sbb eax, eax
sbb eax, 0xffffffff
mov edi, dword [esp + 0x1c]
test eax, eax
jne 0x414a49
dec edx
mov dword [ebx], edx
add dword [ebp], 4
mov byte [esp + 0x13], 1
cmp byte [0x79a838], 0
je 0x414a60
mov eax, dword [esp + 0x44]
mov ecx, dword [str.____args_separator____]
mov dword [esi + eax*4 + 4], ecx
mov eax, dword [ebx]
test eax, eax
je 0x414a8c
mov ecx, dword [esp + 0x44]
lea edx, [eax*4 - 4]
mov eax, dword [ebp]
push edx
mov edx, dword [esp + 0x18]
add eax, 4
push eax
add ecx, edx
lea eax, [esi + ecx*4 + 4]
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx]
add ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
add ecx, eax
mov dword [esi + ecx*4], 0
mov edx, dword [esp + 0x44]
add edx, eax
add dword [ebx], edx
mov dword [ebp], esi
lea eax, [esp + 0x40]
mov ecx, 8
lea esi, [esp + 0x54]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00427d80
add esp, 4
cmp byte [esp + 0x13], 0
je 0x414b21
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov edi, dword [sym.imp.MSVCR90.dll_printf]
push edx
push str._s_would_have_been_started_with_the_following_arguments:_n
call edi
mov esi, 1
add esp, 8
cmp dword [ebx], esi
jle 0x414b0b
mov eax, dword [ebp]
mov edx, dword [eax + esi*4]
push edx
call fcn.004135d0
add esp, 4
test al, al
jne 0x414b06
push edx
push 0x49477c
call edi
add esp, 8
inc esi
cmp esi, dword [ebx]
jl 0x414ae8
push 0x4911c7
call dword [sym.imp.MSVCR90.dll_puts]
add esp, 4
push 0
call dword [sym.imp.MSVCR90.dll_exit]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x414b32
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret