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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10170e57
mov eax, dword fs:[0]
push eax
sub esp, 0x148
push ebx
push esi
push edi
mov eax, dword [0x102933b0]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x28], esi
mov ecx, dword [esi + 4]
mov dword [esp + 0x68], ecx
call fcn.10123b60
mov byte [esp + 0x6c], 1
mov ecx, dword [esi + 4]
xor ebx, ebx
add ecx, 0x1c
mov dword [esp + 0x160], ebx
call fcn.1011e5e0
mov edi, eax
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov dword [esp + 0x68], edi
call fcn.10113eb0
nop
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.10113ed0
mov esi, eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x101185fa
cmp eax, dword [esi]
je 0x10118603
call fcn.1014f6d2
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
cmp edx, dword [esi + 4]
je 0x10118976
cmp eax, ebx
jne 0x10118621
call fcn.1014f6d2
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x10118625
mov eax, dword [eax]
jmp 0x10118627
xor eax, eax
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x18]
jne 0x10118635
call fcn.1014f6d2
mov edx, dword [esp + 0x24]
mov esi, dword [ebp + 8]
add edx, 0xc
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.10110960
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
call fcn.10110860
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10118666
cmp eax, dword [esi]
je 0x1011866b
call fcn.1014f6d2
mov edx, dword [esp + 0x14]
cmp edx, dword [esi + 4]
je 0x101187c4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x1011868d
call fcn.1014f6d2
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x10118691
mov eax, dword [eax]
jmp 0x10118693
xor eax, eax
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x18]
jne 0x101186a1
call fcn.1014f6d2
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
add esi, 0x10c
cmp eax, ebx
jne 0x101186c0
call fcn.1014f6d2
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x101186c4
mov eax, dword [eax]
jmp 0x101186c6
xor eax, eax
mov edx, dword [esp + 0x14]
cmp edx, dword [eax + 0x18]
jne 0x101186d4
call fcn.1014f6d2
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x110]
jne 0x101187d2
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x101186fb
call fcn.1014f6d2
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x101186ff
mov eax, dword [eax]
jmp 0x10118701
xor eax, eax
mov edx, dword [esp + 0x24]
cmp edx, dword [eax + 0x18]
jne 0x1011870f
call fcn.1014f6d2
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
add esi, 0x10c
cmp eax, ebx
jne 0x1011872e
call fcn.1014f6d2
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10118732
mov eax, dword [eax]
jmp 0x10118734
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x18]
jne 0x10118742
call fcn.1014f6d2
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x14]
cmp edx, dword [eax + 0x120]
jne 0x101188a4
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x1011876a
call fcn.1014f6d2
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1011876e
mov eax, dword [eax]
jmp 0x10118770
xor eax, eax
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x18]
jne 0x1011877e
call fcn.1014f6d2
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
add esi, 0x10c
cmp eax, ebx
jne 0x1011879d
call fcn.1014f6d2
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x101187a1
mov eax, dword [eax]
jmp 0x101187a3
xor eax, eax
mov edx, dword [esp + 0x14]
cmp edx, dword [eax + 0x18]
jne 0x101187b1
call fcn.1014f6d2
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x124]
jne 0x101188a4
lea ecx, [esp + 0x20]
call fcn.10013e00
jmp 0x101185e0
push 1
push 3
lea ecx, [esp + 0xd4]
call fcn.100130f0
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xe8]
mov byte [esp + 0x160], 1
call fcn.101104b0
mov esi, eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x10118813
call fcn.1014f6d2
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x10118817
mov eax, dword [eax]
jmp 0x10118819
xor eax, eax
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x18]
jne 0x10118827
call fcn.1014f6d2
mov eax, dword [esp + 0x24]
push str.__is_not_compatible_with_the_frame_buffers_pixel_type.
push esi
push str.__channel_of_output_file__
add eax, 0xc
push eax
lea edx, [esp + 0xe4]
push str.Pixel_type_of__
push edx
call fcn.10014b00
add esp, 8
push eax
call fcn.10014b00
add esp, 8
push eax
call fcn.10014b00
add esp, 8
push eax
call fcn.10014b00
add esp, 8
push eax
call fcn.10014b00
add esp, 8
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x8c]
call fcn.10122ad0
push 0x10246f90
lea ecx, [esp + 0x8c]
push ecx
mov dword [esp + 0x90], vtable.Iex::ArgExc.0
call fcn.101525f9
push 1
push 3
lea ecx, [esp + 0xd4]
call fcn.100130f0
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xe8]
mov byte [esp + 0x160], 2
call fcn.101104b0
mov esi, eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x101188e5
call fcn.1014f6d2
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x101188e9
mov eax, dword [eax]
jmp 0x101188eb
xor eax, eax
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x18]
jne 0x101188f9
call fcn.1014f6d2
mov eax, dword [esp + 0x24]
push str.__are_not_compatible_with_the_frame_buffers_subsampling_factors.
push esi
push str.__channel_of_output_file__
add eax, 0xc
push eax
lea edx, [esp + 0xe4]
push str.X_and_or_y_subsampling_factors_of__
push edx
call fcn.10014b00
add esp, 8
push eax
call fcn.10014b00
add esp, 8
push eax
call fcn.10014b00
add esp, 8
push eax
call fcn.10014b00
add esp, 8
push eax
call fcn.10014b00
add esp, 8
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x8c]
call fcn.10122ad0
push 0x10246f90
lea ecx, [esp + 0x8c]
push ecx
mov dword [esp + 0x90], vtable.Iex::ArgExc.0
call fcn.101525f9
push 4
call fcn.1014f899
add esp, 4
cmp eax, ebx
je 0x1011898c
lea edx, [esp + 0x48]
mov dword [eax], edx
jmp 0x1011898e
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
lea eax, [esp + 0x10]
push eax
mov ecx, edi
mov byte [esp + 0x164], 4
call fcn.10113eb0
lea ecx, [esp + 0x80]
push ecx
mov ecx, edi
call fcn.10113ed0
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x101189cf
cmp eax, dword [esi]
je 0x101189d8
call fcn.1014f6d2
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp edx, dword [esi + 4]
je 0x10118cb9
cmp eax, ebx
jne 0x101189f6
call fcn.1014f6d2
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x101189fa
mov eax, dword [eax]
jmp 0x101189fc
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x18]
jne 0x10118a0a
call fcn.1014f6d2
mov edx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
add edx, 0xc
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.10110960
lea ecx, [esp + 0x78]
push ecx
mov ecx, esi
call fcn.10110860
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x10118a3b
cmp eax, dword [esi]
je 0x10118a44
call fcn.1014f6d2
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
cmp edx, dword [esi + 4]
jne 0x10118b2d
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x10118a66
call fcn.1014f6d2
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10118a6a
mov ecx, dword [eax]
jmp 0x10118a6c
xor ecx, ecx
mov edx, dword [esp + 0x14]
cmp edx, dword [ecx + 0x18]
jne 0x10118a7e
call fcn.1014f6d2
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
add edi, 0x10c
cmp eax, ebx
jne 0x10118a99
call fcn.1014f6d2
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10118a9d
mov ecx, dword [eax]
jmp 0x10118a9f
xor ecx, ecx
mov edx, dword [esp + 0x14]
cmp edx, dword [ecx + 0x18]
jne 0x10118ab1
call fcn.1014f6d2
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add esi, 0x10c
cmp eax, ebx
jne 0x10118acc
call fcn.1014f6d2
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x10118ad0
mov eax, dword [eax]
jmp 0x10118ad2
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x18]
jne 0x10118ae0
call fcn.1014f6d2
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10c]
mov ecx, dword [esi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x3c], ecx
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], edx
mov byte [esp + 0x48], 1
call fcn.10117cf0
lea ecx, [esp + 0x10]
call fcn.10013e00
mov edi, dword [esp + 0x64]
jmp 0x101189b2
cmp eax, ebx
jne 0x10118b3e
call fcn.1014f6d2
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x10118b42
mov ecx, dword [eax]
jmp 0x10118b44
xor ecx, ecx
mov edx, dword [esp + 0x1c]
cmp edx, dword [ecx + 0x18]
jne 0x10118b56
call fcn.1014f6d2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add ecx, 0x110
mov dword [esp + 0x70], ecx
cmp eax, ebx
jne 0x10118b75
call fcn.1014f6d2
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x10118b79
mov ecx, dword [eax]
jmp 0x10118b7b
xor ecx, ecx
mov edx, dword [esp + 0x1c]
cmp edx, dword [ecx + 0x18]
jne 0x10118b8d
call fcn.1014f6d2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add ecx, 0x110
mov dword [esp + 0x60], ecx
cmp eax, ebx
jne 0x10118bac
call fcn.1014f6d2
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x10118bb0
mov ecx, dword [eax]
jmp 0x10118bb2
xor ecx, ecx
mov edx, dword [esp + 0x1c]
cmp edx, dword [ecx + 0x18]
jne 0x10118bc4
call fcn.1014f6d2
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add ebx, 0x110
test eax, eax
jne 0x10118bdf
call fcn.1014f6d2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10118be3
mov ecx, dword [eax]
jmp 0x10118be5
xor ecx, ecx
mov edx, dword [esp + 0x1c]
cmp edx, dword [ecx + 0x18]
jne 0x10118bf7
call fcn.1014f6d2
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add edi, 0x110
test eax, eax
jne 0x10118c12
call fcn.1014f6d2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10118c16
mov ecx, dword [eax]
jmp 0x10118c18
xor ecx, ecx
mov edx, dword [esp + 0x1c]
cmp edx, dword [ecx + 0x18]
jne 0x10118c2a
call fcn.1014f6d2
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
add esi, 0x110
test eax, eax
jne 0x10118c45
call fcn.1014f6d2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10118c49
mov eax, dword [eax]
jmp 0x10118c4b
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x18]
jne 0x10118c59
call fcn.1014f6d2
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x110]
mov ecx, dword [esi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x34], edx
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x2c]
mov dword [esp + 0x40], ecx
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x48], 0
call fcn.10117cf0
lea ecx, [esp + 0x10]
xor ebx, ebx
call fcn.10013e00
mov edi, dword [esp + 0x64]
jmp 0x101189b2
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 4]
mov edi, dword [ebp + 8]
add esi, 0x48
cmp esi, edi
je 0x10118cec
mov eax, dword [esi + 0x18]
mov ecx, dword [esi]
mov edx, dword [eax]
push eax
push ecx
push edx
push ecx
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call fcn.100141c0
push edi
mov ecx, esi
call fcn.10114fc0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x48]
push edx
add ecx, 0xd0
call fcn.10117900
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x10118d14
push eax
call fcn.1014f6e2
add esp, 4
mov ecx, dword [esp + 0x48]
push ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.1014f6e2
mov ecx, dword [esp + 0x6c]
add esp, 4
mov dword [esp + 0x160], 0xffffffff
call fcn.10123b70
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4