Function at 0x401340
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [ebp + 8]
call fcn.00402670
mov dword [ebp - 0x18], 0
push 3
call sub.libvips_42.dll_vips_version
add esp, 4
mov esi, eax
push 5
call sub.libvips_42.dll_vips_version
add esp, 4
sub esi, eax
cmp esi, 0x2a
jne 0x401834
mov esi, dword [ebp + 0xc]
push dword [esi]
call sub.libvips_42.dll_vips_init
add esp, 4
test eax, eax
jne 0x4018d7
push str.vips8.15
call fcn.00402089
add esp, 4
push 0x4040ad
push 0
call sub.api_ms_win_crt_locale_l1_1_0.dll_setlocale
add esp, 8
push dword [esi]
call sub.libvips_42.dll_g_path_get_basename
add esp, 4
mov esi, eax
push eax
call sub.libvips_42.dll_g_set_prgname
add esp, 4
push esi
call sub.libvips_42.dll_g_free
add esp, 4
call sub.libvips_42.dll_g_win32_get_command_line
mov dword [ebp - 0x10], eax
push str._ACTION___OPTIONS___PARAMETERS____VIPS_driver_program
call fcn.00402074
add esp, 4
push eax
call sub.libvips_42.dll_g_option_context_new
add esp, 4
mov esi, eax
sub esp, 0x14
xorps xmm0, xmm0
movups xmmword [esp], xmm0
mov dword [esp + 0x10], 0
call sub.libvips_42.dll_g_option_group_new
add esp, 0x14
mov edi, eax
push section..data
push eax
call sub.libvips_42.dll_g_option_group_add_entries
add esp, 8
push edi
call sub.libvips_42.dll_vips_add_option_entries
add esp, 4
push str.vips8.15
push edi
call sub.libvips_42.dll_g_option_group_set_translation_domain
add esp, 8
push edi
push esi
call sub.libvips_42.dll_g_option_context_set_main_group
add esp, 8
push 1
push esi
call sub.libvips_42.dll_g_option_context_set_ignore_unknown_options
add esp, 8
cmp ebx, 1
je 0x4018a4
push 0
push esi
call sub.libvips_42.dll_g_option_context_set_help_enabled
add esp, 8
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x10]
push eax
push ecx
mov dword [ebp - 0x14], esi
push esi
call sub.libvips_42.dll_g_option_context_parse_strv
add esp, 0xc
test eax, eax
je 0x4018d1
mov esi, 0xffffffff
mov eax, dword [ebp - 0x10]
nop word cs:[eax + eax]
cmp dword [eax + esi*4 + 4], 0
lea esi, [esi + 1]
jne 0x401480
mov dword [ebp + 8], esi
cmp dword [0x4071c8], 0
je 0x4014b8
push str.plugin_load_disabled:_libvips_built_without_modules_support
call fcn.00402074
add esp, 4
push eax
push 0x4040e4
push 0x10
push str.VIPS
call sub.libvips_42.dll_g_log
add esp, 0x10
cmp dword [0x4071cc], 0
je 0x4015c4
call sub.libvips_42.dll_vips_vector_get_builtin_targets
mov edi, eax
mov ebx, edx
push str.builtin_targets:
push 0x4040e4
call fcn.00402f50
add esp, 8
mov eax, edi
or eax, ebx
je 0x40152d
nop word cs:[eax + eax]
mov eax, edi
neg eax
mov ecx, 0
sbb ecx, ebx
and ecx, ebx
and eax, edi
push ecx
push eax
call sub.libvips_42.dll_vips_vector_target_name
add esp, 8
push eax
push 0x404297
call fcn.00402f50
add esp, 8
mov eax, edi
add eax, 0xffffffff
mov ecx, ebx
adc ecx, 0xffffffff
and edi, eax
and ebx, ecx
mov eax, edi
or eax, ebx
jne 0x4014f0
jmp 0x40153a
push str._none
call fcn.00402f50
add esp, 4
push 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_putchar
add esp, 4
call sub.libvips_42.dll_vips_vector_get_supported_targets
mov edi, eax
mov ebx, edx
push str.supported_targets:
push 0x4040e4
call fcn.00402f50
add esp, 8
mov eax, edi
or eax, ebx
je 0x4015ad
nop word cs:[eax + eax]
mov eax, edi
neg eax
mov ecx, 0
sbb ecx, ebx
and ecx, ebx
and eax, edi
push ecx
push eax
call sub.libvips_42.dll_vips_vector_target_name
add esp, 8
push eax
push 0x404297
call fcn.00402f50
add esp, 8
mov eax, edi
add eax, 0xffffffff
mov ecx, ebx
adc ecx, 0xffffffff
and edi, eax
and ebx, ecx
mov eax, edi
or eax, ebx
jne 0x401570
jmp 0x4015ba
push str._none
call fcn.00402f50
add esp, 4
push 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_putchar
add esp, 4
cmp dword [0x4071d0], 0
je 0x4015e0
call sub.libvips_42.dll_vips_version_string
push eax
push str.vips__s_n
call fcn.00402f50
add esp, 8
push 0
mov edi, dword [ebp - 0x14]
push edi
call sub.libvips_42.dll_g_option_context_set_ignore_unknown_options
add esp, 8
push 1
push edi
call sub.libvips_42.dll_g_option_context_set_help_enabled
add esp, 8
call sub.libvips_42.dll_g_get_prgname
mov edi, eax
push eax
push 0x40429b
call sub.libvips_42.dll_vips_isprefix
add esp, 8
xor ecx, ecx
test eax, eax
setne cl
lea eax, [ecx + ecx*2]
add eax, edi
push eax
push str.vips
call sub.libvips_42.dll_vips_isprefix
add esp, 8
test eax, eax
je 0x401663
mov edi, dword [ebp - 0x10]
cmp esi, 2
jb 0x40164d
mov eax, 1
nop dword [eax]
mov ebx, dword [edi + eax*4]
cmp byte [ebx], 0x2d
jne 0x40166e
inc eax
cmp esi, eax
jne 0x401640
lea edx, [ebp + 8]
mov esi, dword [ebp - 0x14]
mov ecx, esi
push edi
call fcn.00401980
add esp, 4
jmp 0x401811
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
test ebx, ebx
jne 0x401697
jmp 0x40162c
cmp eax, esi
jae 0x401693
nop word cs:[eax + eax]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ecx + eax*4], edx
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, esi
jb 0x401680
dec esi
mov dword [ebp + 8], esi
push str.list
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x401774
push str.help
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x40177d
push ebx
call sub.libvips_42.dll_vips_operation_new
add esp, 4
test eax, eax
je 0x40191a
mov edi, eax
push str.Operation
call fcn.00402074
add esp, 4
mov ebx, eax
push str.Operation_help
call fcn.00402074
add esp, 4
push 0
push edi
push eax
push ebx
push str.operation
call sub.libvips_42.dll_g_option_group_new
add esp, 0x14
mov ebx, eax
push str.vips8.15
push eax
call sub.libvips_42.dll_g_option_group_set_translation_domain
add esp, 8
push ebx
mov esi, dword [ebp - 0x14]
push esi
call sub.libvips_42.dll_g_option_context_add_group
add esp, 8
push edi
push ebx
call sub.libvips_42.dll_vips_call_options
add esp, 8
lea edx, [ebp + 8]
mov ecx, esi
push dword [ebp - 0x10]
call fcn.00401980
add esp, 4
mov esi, dword [ebp + 8]
lea eax, [esi - 1]
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
push eax
push edi
call sub.libvips_42.dll_vips_call_argv
add esp, 0xc
test eax, eax
jne 0x401933
push edi
call sub.libvips_42.dll_vips_object_unref_outputs
add esp, 4
push edi
call sub.libvips_42.dll_g_object_unref
add esp, 4
mov esi, dword [ebp - 0x14]
jmp 0x401811
mov dword [ebp - 0x1c], 0
jmp 0x401784
mov dword [ebp - 0x1c], 1
push str.Operation
call fcn.00402074
add esp, 4
mov edi, eax
push str.Operation_help
call fcn.00402074
add esp, 4
push 0
push 0
push eax
push edi
push str.operation
call sub.libvips_42.dll_g_option_group_new
add esp, 0x14
mov edi, eax
push str.vips8.15
push eax
call sub.libvips_42.dll_g_option_group_set_translation_domain
add esp, 8
push edi
mov esi, dword [ebp - 0x14]
push esi
call sub.libvips_42.dll_g_option_context_add_group
add esp, 8
push 0x4071a8
push edi
call sub.libvips_42.dll_g_option_group_add_entries
add esp, 8
lea edx, [ebp + 8]
mov ecx, esi
push dword [ebp - 0x10]
call fcn.00401980
add esp, 4
mov edx, dword [ebp - 0x1c]
shl edx, 4
mov eax, dword [ebp + 8]
dec eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
push eax
call dword [edx + 0x404164]
add esp, 8
test eax, eax
jne 0x40190f
push esi
call sub.libvips_42.dll_g_option_context_free
add esp, 4
push dword [ebp - 0x10]
call sub.libvips_42.dll_g_strfreev
add esp, 4
call sub.libvips_42.dll_vips_shutdown
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
push str.ABI_mismatch
push 0x10
push str.VIPS
call sub.libvips_42.dll_g_log
add esp, 0xc
push 3
call sub.libvips_42.dll_vips_version
add esp, 4
mov esi, eax
push 5
call sub.libvips_42.dll_vips_version
add esp, 4
sub esi, eax
push esi
push str.library_has_ABI_version__d
push 0x10
push str.VIPS
call sub.libvips_42.dll_g_log
add esp, 0x10
push 0x2a
push str.application_needs_ABI_version__d
push 0x10
push str.VIPS
call sub.libvips_42.dll_g_log
add esp, 0x10
push str.ABI_mismatch
push 0x40409a
call sub.libvips_42.dll_vips_error
add esp, 8
push 0
call sub.libvips_42.dll_vips_error_exit
push 0
push 1
push esi
call sub.libvips_42.dll_g_option_context_get_help
add esp, 0xc
mov esi, eax
push eax
push 0x4040e4
call fcn.00402f50
add esp, 8
push esi
call sub.libvips_42.dll_g_free
add esp, 4
push 0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
cmp dword [ebp - 0x18], 0
jne 0x4018de
push 0
call sub.libvips_42.dll_vips_error_exit
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
mov ecx, dword [ebp - 0x18]
push dword [ecx + 8]
push 0x4040e7
push eax
call fcn.00402f20
add esp, 0xc
push dword [ebp - 0x18]
call sub.libvips_42.dll_g_error_free
add esp, 4
push 0
call sub.libvips_42.dll_vips_error_exit
push ebx
push 0x4040e4
call sub.libvips_42.dll_vips_error_exit
call sub.libvips_42.dll_vips_error_clear
push str.unknown_action___s_
call fcn.00402074
add esp, 4
push ebx
push eax
call sub.libvips_42.dll_vips_error_exit
cmp esi, 1
jne 0x40195b
push dword [edi]
call sub.libvips_42.dll_vips_operation_class_print_usage
add esp, 4
push edi
call sub.libvips_42.dll_vips_object_unref_outputs
add esp, 4
push edi
call sub.libvips_42.dll_g_object_unref
add esp, 4
push 0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push edi
call sub.libvips_42.dll_vips_object_unref_outputs
add esp, 4
push edi
call sub.libvips_42.dll_g_object_unref
add esp, 4
push 0
call sub.libvips_42.dll_vips_error_exit
int3