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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x626dd4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov edx, dword [ecx]
mov al, 1
mov byte [esp + 0x1b], al
mov byte [esp + 3], al
mov edx, dword [edx + 0x2c]
xor eax, eax
mov dword [esp + 0x2c], edx
mov edx, dword [0x6e0ea0]
push esi
push edi
mov dword [esp + 0x24], ecx
mov byte [esp + 0x1b], al
mov byte [esp + 0x21], al
mov dword [esp + 0x44], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0xa4], eax
call fcn.00516500
mov eax, dword [0x6e0ea0]
mov dword [esp + 0x14], eax
mov ecx, dword [ecx]
mov byte [esp + 0xa4], 1
mov dword [esp + 0x1c], 1
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jae 0x517061
mov esi, dword [esp + 0x24]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x14]
lea ecx, [esp + 0x14]
lea eax, [edx + eax*4]
push eax
call fcn.004ea610
push 0x6e7fb0
lea ecx, [esp + 0x18]
call fcn.004eb1b0
test eax, eax
jne 0x5165f1
mov byte [esp + 0x23], al
jmp 0x517047
mov al, byte [esp + 0x23]
test al, al
je 0x516f85
mov eax, dword [esp + 0x14]
cmp dword [eax - 8], 1
jbe 0x516f85
lea ecx, [esp + 0x14]
call fcn.004e9cc0
mov ecx, dword [esi]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx]
mov cx, word [edx]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_wcschr]
add esp, 8
test eax, eax
je 0x516f85
mov edx, dword [0x6e0ea0]
mov dword [esp + 0x10], edx
or edi, 0xffffffff
lea ecx, [esp + 0x14]
mov byte [esp + 0xa4], 2
mov dword [esp + 0x38], edi
call fcn.004e9cc0
mov eax, dword [esp + 0x14]
cmp word [eax], 0x2d
jne 0x51688f
lea ecx, [esp + 0x14]
call fcn.004e9cc0
mov eax, dword [esp + 0x14]
cmp word [eax + 2], 0x2d
jne 0x51688f
mov ecx, esi
mov byte [esp + 0x22], 1
lea edx, [eax + 4]
call fcn.00515fc0
mov byte [esp + 0x2f], al
lea eax, [esp + 0x84]
push edx
push eax
call fcn.00517e30
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 3
call fcn.004ea610
mov ecx, dword [esp + 0x84]
mov edi, dword [sym.imp.MSVCRT.dll_free]
mov byte [esp + 0xa4], 2
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x5166dd
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5166dd
push eax
call edi
add esp, 4
mov al, byte [esp + 0x2f]
test al, al
je 0x516785
mov ecx, dword [esi]
lea edx, [esp + 0x10]
push edx
call fcn.00515e40
cmp eax, 0xffffffff
mov dword [esp + 0x38], eax
jne 0x516b48
call fcn.004f0590
test eax, eax
je 0x51671b
mov edx, dword [eax]
push 0
push str.Unknown_long_option__s
mov ecx, eax
call dword [edx + 8]
jmp 0x516720
mov eax, str.Unknown_long_option__s
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x8c]
push ecx
push eax
push edx
call fcn.004ec180
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8], 4
call fcn.0047fb30
push 0xa
push 1
lea ecx, [esp + 0x14]
call fcn.004e9db0
mov eax, dword [esp + 0x8c]
mov byte [esp + 0xa4], 2
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x516a9e
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x516a9e
push eax
call edi
jmp 0x516a9b
mov ecx, dword [0x65329c]
push ecx
push 0
push 0x6e7fb0
lea ecx, [esp + 0x58]
call fcn.004e9b90
lea edx, [esp + 0x10]
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x7c]
push eax
push ecx
mov byte [esp + 0xb0], 5
call fcn.004eada0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 6
call fcn.004ea610
mov edx, dword [esp + 0x78]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x5167e9
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5167e9
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x4c]
mov byte [esp + 0xa4], 2
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x51680c
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x51680c
push eax
call edi
add esp, 4
call fcn.004f0590
test eax, eax
je 0x516825
mov edx, dword [eax]
push 0
push str.Unknown_option__s
mov ecx, eax
call dword [edx + 8]
jmp 0x51682a
mov eax, str.Unknown_option__s
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x94]
push ecx
push eax
push edx
call fcn.004ec180
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8], 7
call fcn.0047fb30
push 0xa
push 1
lea ecx, [esp + 0x14]
call fcn.004e9db0
mov eax, dword [esp + 0x94]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x516aa9
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x516aa9
push eax
call edi
add esp, 4
mov byte [esp + 0xb], 0
jmp 0x516f50
add eax, 2
lea ecx, [esp + 0x88]
push eax
push ecx
mov byte [esp + 0x2a], 0
call fcn.00517d20
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 8
call fcn.004ea610
mov edx, dword [esp + 0x88]
mov byte [esp + 0xa4], 2
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x5168e5
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5168e5
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x10]
mov esi, dword [eax - 8]
test esi, esi
je 0x516ab3
lea ecx, [esp + 0x68]
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.004eb930
mov edx, dword [esp + 0x24]
push eax
mov byte [esp + 0xa8], 0xa
mov ecx, dword [edx]
call fcn.00515de0
mov edi, eax
mov eax, dword [esp + 0x68]
add eax, 0xfffffff4
mov byte [esp + 0xa4], 2
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x516940
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x516940
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
dec esi
cmp edi, 0xffffffff
je 0x5168ec
mov dword [esp + 0x38], edi
inc esi
cmp edi, 0xffffffff
je 0x516aa9
mov ecx, dword [esp + 0x10]
cmp esi, dword [ecx - 8]
je 0x516a9e
lea edx, [esp + 0x70]
push esi
push edx
lea ecx, [esp + 0x18]
call fcn.004eb930
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 0xb
call fcn.004ea610
mov eax, dword [esp + 0x70]
mov byte [esp + 0xa4], 2
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5169a9
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5169a9
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x24]
mov eax, dword [edx + eax*4]
cmp dword [eax], 0
jne 0x516a9e
lea ecx, [esp + 0x14]
call fcn.004e9cc0
mov ecx, dword [esp + 0x14]
mov ax, word [ecx]
lea ecx, [esp + 0x28]
push eax
push 1
call fcn.004e9c30
mov edx, dword [0x65329c]
inc esi
push edx
lea eax, [esp + 0x94]
push esi
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 0xc
call fcn.004eb6d0
mov eax, dword [eax]
mov byte [esp + 0xa4], 0xd
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.004ea760
mov ecx, dword [esp + 0x90]
mov byte [esp + 0xa4], 0xc
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x516a44
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x516a44
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [edi]
push 1
mov edx, dword [eax + 0x14]
mov esi, dword [eax + 0x14]
lea ecx, [eax + 0xc]
mov eax, dword [esp + 0x20]
lea eax, [eax*4 + 4]
sub eax, esi
add eax, edx
lea edx, [esp + 0x2c]
sar eax, 2
push eax
push edx
call fcn.004ec9e0
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x40]
add eax, 0xfffffff4
inc esi
mov dword [esp + 0x40], esi
mov byte [esp + 0xa4], 2
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x516a9e
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x516a9e
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
cmp dword [esp + 0x38], 0xffffffff
jne 0x516b48
mov byte [esp + 0xb], 0
jmp 0x516f50
mov dword [esp + 0x38], edi
call fcn.004f0590
test eax, eax
je 0x516ad0
mov edx, dword [eax]
push 0
push str.Unknown_option__s
mov ecx, eax
call dword [edx + 8]
jmp 0x516ad5
mov eax, str.Unknown_option__s
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x80]
push ecx
push eax
push edx
call fcn.004ec180
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0xa4], 9
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004ea760
push 0xa
push 1
lea ecx, [esp + 0x14]
call fcn.004e9db0
mov eax, dword [esp + 0x80]
mov byte [esp + 0xa4], 2
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x51694a
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x51694a
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x51694a
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx - 8]
lea eax, [ecx + eax*2 + 2]
mov cl, byte [esp + 0x22]
test cl, cl
je 0x516b62
add eax, 2
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
mov edi, dword [edx]
mov edx, dword [edi + 0x24]
mov esi, dword [edx + esi*4]
cmp dword [esi], 0
jne 0x516c25
cmp word [eax], 0
je 0x516c06
call fcn.004f0590
test eax, eax
je 0x516b9e
mov edx, dword [eax]
push 0
push str.Unexpected_characters_following_option__s.
mov ecx, eax
call dword [edx + 8]
jmp 0x516ba3
mov eax, str.Unexpected_characters_following_option__s.
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x5c]
push ecx
push eax
push edx
call fcn.004ec180
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0xa4], 0xe
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004ea760
push 0xa
push 1
lea ecx, [esp + 0x14]
call fcn.004e9db0
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x516bfc
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x516bfc
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov byte [esp + 0xb], 0
jmp 0x516f50
mov cl, byte [esi + 0x14]
mov al, 1
test cl, 8
mov byte [esi + 0x18], al
je 0x516f50
mov byte [esp + 0x1b], al
mov byte [esp + 0xb], 0
jmp 0x516f50
test cl, cl
je 0x516c99
mov cx, word [eax]
add eax, 2
cmp cx, 0x3d
je 0x516d92
call fcn.004f0590
test eax, eax
je 0x516c52
mov edx, dword [eax]
push 0
push str.Option__s_requires_a_value___expected.
mov ecx, eax
call dword [edx + 8]
jmp 0x516c57
mov eax, str.Option__s_requires_a_value___expected.
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x60]
push ecx
push eax
push edx
call fcn.004ec180
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0xa4], 0xf
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004ea760
push 0xa
push 1
lea ecx, [esp + 0x14]
call fcn.004e9db0
mov eax, dword [esp + 0x60]
jmp 0x516be0
xor ecx, ecx
mov cx, word [eax]
test ecx, ecx
je 0x516d1b
cmp ecx, 0x3a
je 0x516d16
cmp ecx, 0x3d
je 0x516d16
test byte [esi + 0x14], 0x10
je 0x516d92
call fcn.004f0590
test eax, eax
je 0x516ccf
mov edx, dword [eax]
push 0
push str.Separator_expected_after_the_option__s.
mov ecx, eax
call dword [edx + 8]
jmp 0x516cd4
mov eax, str.Separator_expected_after_the_option__s.
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x64]
push ecx
push eax
push edx
call fcn.004ec180
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0xa4], 0x11
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004ea760
push 0xa
push 1
lea ecx, [esp + 0x14]
call fcn.004e9db0
mov eax, dword [esp + 0x64]
jmp 0x516be0
add eax, 2
jmp 0x516d92
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jne 0x516d8c
call fcn.004f0590
test eax, eax
je 0x516d45
mov edx, dword [eax]
push 0
push str.Option__s_requires_a_value.
mov ecx, eax
call dword [edx + 8]
jmp 0x516d4a
mov eax, str.Option__s_requires_a_value.
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x6c]
push ecx
push eax
push edx
call fcn.004ec180
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0xa4], 0x10
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004ea760
push 0xa
push 1
lea ecx, [esp + 0x14]
call fcn.004e9db0
mov eax, dword [esp + 0x6c]
jmp 0x516be0
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx + eax*4]
mov cl, byte [esp + 0xb]
test cl, cl
je 0x516f50
test eax, eax
jne 0x516da7
mov eax, 0x6fdb50
mov edx, dword [0x65329c]
lea ecx, [esp + 0x3c]
push edx
push 0
push eax
call fcn.004e9b90
mov eax, dword [esi + 0x10]
mov byte [esp + 0xa4], 0x12
sub eax, 0
je 0x516f20
dec eax
je 0x516e9e
dec eax
jne 0x516f20
or eax, 0xffffffff
or ecx, 0xffffffff
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], ecx
push eax
lea ecx, [esp + 0x54]
call fcn.00508f50
test eax, eax
je 0x516e15
cmp word [eax], 0
jne 0x516e15
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edx
jmp 0x516f2d
call fcn.004f0590
test eax, eax
je 0x516e2e
mov edx, dword [eax]
push 0
push str.Option__s:__s_cannot_be_converted_to_a_date.
mov ecx, eax
call dword [edx + 8]
jmp 0x516e33
mov eax, str.Option__s:__s_cannot_be_converted_to_a_date.
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
push ecx
push edx
push eax
lea eax, [esp + 0x80]
push eax
call fcn.004ec180
add esp, 0x10
mov eax, dword [eax]
mov byte [esp + 0xa4], 0x14
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004ea760
push 0xa
push 1
lea ecx, [esp + 0x14]
call fcn.004e9db0
mov ecx, dword [esp + 0x74]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x516e94
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x516e94
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov byte [esp + 0xb], 0
jmp 0x516f31
lea edx, [esp + 0x7c]
push 0xa
push edx
lea ecx, [esp + 0x44]
call fcn.004ec060
test al, al
je 0x516ebb
mov eax, dword [esp + 0x7c]
mov dword [esi + 0x1c], eax
jmp 0x516f2d
call fcn.004f0590
test eax, eax
je 0x516ed4
mov edx, dword [eax]
push 0
push str._s_is_not_a_correct_numeric_value_for_option__s.
mov ecx, eax
call dword [edx + 8]
jmp 0x516ed9
mov eax, str._s_is_not_a_correct_numeric_value_for_option__s.
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
push ecx
push edx
push eax
lea eax, [esp + 0x54]
push eax
call fcn.004ec180
add esp, 0x10
mov eax, dword [eax]
mov byte [esp + 0xa4], 0x13
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004ea760
push 0xa
push 1
lea ecx, [esp + 0x14]
call fcn.004e9db0
mov ecx, dword [esp + 0x48]
jmp 0x516e78
lea edx, [esp + 0x3c]
lea ecx, [esi + 0x20]
push edx
call fcn.004ea610
mov byte [esi + 0x18], 1
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x516f50
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x516f50
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [esp + 0x10]
mov byte [esp + 0xa4], 1
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x517047
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x517047
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x517047
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x34]
cmp edi, eax
jae 0x516fc4
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push 1
push ecx
mov edx, dword [eax + 0x30]
add eax, 0x34
mov ecx, eax
mov esi, dword [edx + edi*4]
call fcn.004ec930
test byte [esi + 8], 4
jne 0x516fba
inc edi
mov dword [esp + 0x44], edi
jmp 0x517047
mov byte [esp + 0x21], 1
jmp 0x517047
call fcn.004f0590
test eax, eax
je 0x516fdd
mov edx, dword [eax]
push 0
push str.Unexpected_parameter__s
mov ecx, eax
call dword [edx + 8]
jmp 0x516fe2
mov eax, str.Unexpected_parameter__s
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
call fcn.004ec180
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0xa4], 0x15
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004ea760
push 0xa
push 1
lea ecx, [esp + 0x14]
call fcn.004e9db0
mov eax, dword [esp + 0x30]
mov byte [esp + 0xa4], 1
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x517042
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x517042
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov byte [esp + 0xb], 0
mov ecx, dword [esp + 0x1c]
mov al, byte [esp + 0xb]
inc ecx
test al, al
mov dword [esp + 0x1c], ecx
jne 0x5165b0
jmp 0x5172da
mov cl, byte [esp + 0xb]
test cl, cl
je 0x5172da
mov edx, dword [esp + 0x24]
mov edi, dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [edx]
mov edx, dword [eax + 0x20]
xor eax, eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], eax
jmp 0x51708c
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x30]
jae 0x5171f2
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov ecx, dword [edx + 0x24]
mov edx, dword [ecx + eax*4]
test byte [edx + 0x14], 1
je 0x5171d8
mov al, byte [edx + 0x18]
test al, al
jne 0x5171d8
mov eax, dword [0x6e0ea0]
mov dword [esp + 0x1c], eax
mov esi, dword [edx + 8]
mov byte [esp + 0xa4], 0x16
mov eax, dword [esi - 8]
test eax, eax
jne 0x5170e1
add edx, 4
lea ecx, [esp + 0x1c]
push edx
call fcn.004ea610
jmp 0x51713d
mov ecx, dword [esp + 0x24]
call fcn.00515fc0
test al, al
je 0x517127
mov edi, dword [edx + 4]
call fcn.004f0590
test eax, eax
je 0x51710a
mov edx, dword [eax]
push 0
push str._s__or__s_
mov ecx, eax
call dword [edx + 8]
jmp 0x51710f
mov eax, str._s__or__s_
push esi
push edi
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004ec2c0
mov edi, dword [sym.imp.MSVCRT.dll_free]
add esp, 0x10
jmp 0x51713d
mov edx, dword [edx + 4]
lea ecx, [esp + 0x1c]
push edx
push 0x6ca81c
push ecx
call fcn.004ec2c0
add esp, 0xc
call fcn.004f0590
test eax, eax
je 0x517156
mov edx, dword [eax]
push 0
push str.The_value_for_the_option__s_must_be_specified.
mov ecx, eax
call dword [edx + 8]
jmp 0x51715b
mov eax, str.The_value_for_the_option__s_must_be_specified.
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x48]
push ecx
push eax
push edx
call fcn.004ec180
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0xa4], 0x17
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004ea760
push 0xa
push 1
lea ecx, [esp + 0x14]
call fcn.004e9db0
mov eax, dword [esp + 0x48]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5171af
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5171af
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xb], 0
mov byte [esp + 0xa4], 1
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x5171d8
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5171d8
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
mov cl, byte [esp + 0xb]
test cl, cl
jne 0x517088
jmp 0x5172da
test cl, cl
je 0x5172da
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x44]
cmp edi, ecx
jae 0x5172ce
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov edx, dword [eax + 0x30]
mov eax, dword [edx + edi*4]
lea edx, [ecx - 1]
cmp edi, edx
jne 0x51722f
test byte [eax + 8], 4
je 0x51722f
mov dl, byte [esp + 0x21]
test dl, dl
jne 0x5172bf
test byte [eax + 8], 2
jne 0x5172bf
mov esi, dword [eax]
call fcn.004f0590
test eax, eax
je 0x517254
mov edx, dword [eax]
push 0
push str.The_required_parameter__s_was_not_specified.
mov ecx, eax
call dword [edx + 8]
jmp 0x517259
mov eax, str.The_required_parameter__s_was_not_specified.
push esi
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004ec180
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0xa4], 0x18
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004ea760
push 0xa
push 1
lea ecx, [esp + 0x14]
call fcn.004e9db0
mov ecx, dword [esp + 0x30]
mov byte [esp + 0xa4], 1
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x5172b6
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5172b6
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [esp + 0x34]
mov byte [esp + 0xb], 0
mov al, byte [esp + 0xb]
inc edi
test al, al
jne 0x517202
jmp 0x5172da
mov al, byte [esp + 0xb]
test al, al
jne 0x5173aa
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 8]
test eax, eax
jne 0x5172fc
mov al, byte [esp + 0x1b]
test al, al
je 0x5173a2
mov al, byte [ebp + 8]
test al, al
je 0x5173a2
call fcn.0051b500
mov esi, eax
test esi, esi
je 0x5173a2
mov eax, dword [0x6e0ea0]
mov dword [esp + 0x34], eax
mov al, byte [ebp + 8]
mov byte [esp + 0xa4], 0x19
test al, al
je 0x51736b
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.005174a0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xa8], 0x1a
call fcn.004ea610
mov edx, dword [esp + 0x30]
mov byte [esp + 0xa4], 0x19
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x51736b
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x51736b
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x34]
mov eax, dword [esi]
push ecx
push edx
push str._s_s
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x44]
add esp, 0x10
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5173a2
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5173a2
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, byte [esp + 0xb]
test al, al
je 0x5173ae
xor esi, esi
jmp 0x5173bf
mov al, byte [esp + 0x1b]
xor ecx, ecx
test al, al
sete cl
lea ecx, [ecx + ecx - 1]
mov esi, ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x5173df
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5173df
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5173fe
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5173fe
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [esp + 0x9c]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4