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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b03f
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x79b0b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x64], esi
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x4c]
test eax, 0x1800
jne 0x4baeaf
shr eax, 9
test al, 1
je 0x4baeaf
add ecx, 0x30
call fcn.0048f5b0
test al, al
je 0x4baeaf
mov ecx, dword [esi + 4]
push 0x79be90
add ecx, 0x30
call fcn.00490ed0
mov ecx, dword [esi + 4]
cmp dword [ecx + 0xac], 0xffffffff
jne 0x4baedd
mov ecx, dword [ecx + 0x4c]
mov eax, ecx
shr eax, 9
test al, 1
je 0x4bb2e8
shr ecx, 0xb
test cl, 1
je 0x4baf10
push str.File_is_not_a_regular_tiled_image.
jmp 0x4bb2ed
add ecx, 0x30
call fcn.0048f5b0
test al, al
je 0x4baf10
mov ecx, dword [esi + 4]
push 0x79be90
add ecx, 0x30
call fcn.004912a0
push eax
call fcn.00491610
add esp, 8
test al, al
je 0x4baf10
push str.TiledInputFile_used_for_non_tiledimage_part.
jmp 0x4bb2ed
mov ecx, dword [esi + 4]
push 0
push 1
add ecx, 0x30
call fcn.00490270
mov esi, dword [esi + 4]
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x4c]
shr eax, 0xc
test al, 1
jne 0x4bb032
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.00491230
mov dword [ebp - 0x58], eax
cmp dword [eax + 8], 2
jne 0x4baf52
push edi
call fcn.004afcd0
add esp, 4
cdq
jmp 0x4bafb9
mov ecx, edi
call fcn.0048f370
mov edx, eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], edx
push 0
mov ecx, dword [eax]
mov eax, dword [edx + 8]
sub eax, dword [edx]
inc eax
cdq
add eax, ecx
push ecx
adc edx, 0
add eax, 0xffffffff
adc edx, 0xffffffff
push edx
push eax
call fcn.00463ab0
mov ecx, dword [ebp - 0x60]
mov esi, edx
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
push 0
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 4]
mov ecx, dword [edi + 4]
inc eax
cdq
add eax, ecx
push ecx
adc edx, 0
add eax, 0xffffffff
adc edx, 0xffffffff
push edx
push eax
call fcn.00463ab0
mov edi, dword [ebp - 0x5c]
push esi
push edi
push edx
push eax
call fcn.004639b0
mov esi, dword [ebp - 0x14]
mov ecx, edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], ecx
test ecx, ecx
jne 0x4bafcc
cmp eax, 0x100000
jbe 0x4bb032
mov eax, dword [esi + 0xd0]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [esi + 0xd0]
mov edi, edx
mov edx, dword [ebp - 0x60]
shld dword [ebp - 0x58], edx, 3
mov ecx, dword [ecx + 0x30]
shl edx, 3
add edx, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov esi, dword [ecx]
adc eax, edi
add edx, 0xfffffff8
adc eax, 0xffffffff
push eax
push edx
call dword [esi + 0x14]
mov esi, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 8
push edx
mov eax, dword [esi + 0xd0]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esi + 0xd0]
push edi
push dword [ebp - 0x5c]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edi, dword [ebp - 0x64]
mov ecx, dword [edi + 4]
add ecx, 0x30
call fcn.00491230
mov ecx, dword [edi + 4]
movups xmm0, xmmword [eax]
movups xmmword [ecx + 0x3c], xmm0
mov ecx, dword [edi + 4]
add ecx, 0x30
call fcn.0048fbd0
mov ecx, dword [edi + 4]
mov eax, dword [eax]
mov dword [ecx + 0x58], eax
mov ecx, dword [edi + 4]
add ecx, 0x30
call fcn.0048f370
mov edx, dword [edi + 4]
mov ecx, dword [eax]
mov dword [edx + 0x5c], ecx
mov ecx, dword [eax + 8]
mov edx, dword [edi + 4]
mov dword [edx + 0x60], ecx
mov ecx, dword [eax + 4]
mov edx, dword [edi + 4]
mov dword [edx + 0x64], ecx
mov ecx, dword [edi + 4]
mov eax, dword [eax + 0xc]
mov dword [ecx + 0x68], eax
mov ecx, dword [edi + 4]
lea eax, [ecx + 0x70]
push eax
lea eax, [ecx + 0x6c]
push eax
lea eax, [ecx + 0x78]
push eax
lea eax, [ecx + 0x74]
push eax
push dword [ecx + 0x68]
lea eax, [ecx + 0x3c]
push dword [ecx + 0x64]
push dword [ecx + 0x60]
push dword [ecx + 0x5c]
push eax
call fcn.004affc0
mov eax, dword [edi + 4]
add eax, 0x30
push eax
call fcn.004afa70
mov ecx, dword [edi + 4]
add esp, 0x28
mov dword [ecx + 0xa4], eax
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0xa4]
imul eax, dword [ecx + 0x3c]
mov dword [ecx + 0xa8], eax
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0xa8]
imul eax, dword [ecx + 0x40]
mov dword [ecx + 0xc8], eax
mov ecx, dword [edi + 4]
cmp dword [ecx + 0xc8], 0x7fffffff
jbe 0x4bb10a
push str.Tile_size_too_large_for_OpenEXR_format
jmp 0x4bb2ed
mov eax, dword [ecx + 0xc0]
sub eax, dword [ecx + 0xbc]
sar eax, 2
mov dword [ebp - 0x58], 0
test eax, eax
je 0x4bb25c
push 0x48
call fcn.00462d48
mov esi, eax
add esp, 4
mov dword [ebp - 0x60], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4bb1df
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x40]
lea edi, [eax + 0x30]
mov eax, dword [eax + 0xa8]
mov dword [ebp - 0x5c], ecx
mov ecx, edi
mov dword [ebp - 0x14], eax
call fcn.0048f250
push edi
push dword [ebp - 0x5c]
push dword [ebp - 0x14]
push dword [eax]
call fcn.00498490
push eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], eax
call fcn.004b2460
mov dword [esi + 0x10], eax
add esp, 0x14
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x20], 0xffffffff
mov byte [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0xf
mov byte [esi + 0x28], 0
push 1
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 1
call fcn.004dab30
mov edi, dword [ebp - 0x64]
jmp 0x4bb1e1
xor esi, esi
mov eax, dword [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax*4]
mov eax, dword [edi + 4]
mov dword [ebp - 0x5c], ecx
mov eax, dword [eax + 0xbc]
mov dword [ecx + eax], esi
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xd0]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x4bb23b
mov eax, dword [edi + 4]
push dword [eax + 0xc8]
call fcn.004635cb
mov ecx, dword [edi + 4]
add esp, 4
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ecx + 0xbc]
mov ecx, dword [ecx + edx]
mov dword [ecx + 4], eax
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x58]
inc edx
mov dword [ebp - 0x58], edx
mov eax, dword [ecx + 0xc0]
sub eax, dword [ecx + 0xbc]
sar eax, 2
cmp edx, eax
jb 0x4bb128
push dword [ecx + 0x78]
push dword [ecx + 0x74]
push dword [ecx + 0x70]
push dword [ecx + 0x6c]
push dword [ecx + 0x44]
lea ecx, [ebp - 0x7c]
call fcn.004c8890
mov edx, dword [edi + 4]
mov ecx, dword [eax]
lea esi, [eax + 0xc]
mov dword [edx + 0x7c], ecx
lea edi, [edx + 0x88]
mov ecx, dword [eax + 4]
mov dword [edx + 0x80], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 0x84], ecx
cmp edi, esi
je 0x4bb2c5
mov ecx, edi
call fcn.004b3960
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x70]
call fcn.004b3960
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462b2c
mov esp, ebp
pop ebp
ret
push str.Expected_a_tiled_file_but_the_file_is_not_tiled.
lea ecx, [ebp - 0x54]
call fcn.004d49d0
push 0x795bb4
lea eax, [ebp - 0x54]
push eax
call fcn.004644df
int3