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

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x250]
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x34], 0
xor eax, eax
push fcn.004c4cc0
push ebp
push 0x4154e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.004c6760
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 4]
mov ax, word [eax]
cmp ax, word [ebp - 0x1c]
jbe 0x4c4ef4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4c4e2c
sub eax, 1
jne 0x4c4ef4
lea eax, [ebp - 0x34]
call fcn.00403c70
push 0
mov eax, str.Tags_must_be_in_ascending_order:_Last
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
push 0xff
lea ecx, [ebp - 0x148]
mov edx, 0xffffffff
call fcn.00404f70
lea ecx, [ebp - 0x48]
xor dx, dx
lea eax, [ebp - 0x148]
call fcn.004093e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x48]
call fcn.0040a2a0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
mov eax, str._Next
mov dword [ebp - 0x3c], eax
movzx eax, word [ebp - 0x1c]
push 0xff
lea ecx, [ebp - 0x148]
mov edx, 0xffffffff
call fcn.00404f70
lea ecx, [ebp - 0x14c]
xor dx, dx
lea eax, [ebp - 0x148]
call fcn.004093e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x14c]
call fcn.0040a2a0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x44]
mov ecx, 3
lea eax, [ebp - 0x34]
call fcn.00408ef0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.004c3460
jmp 0x4c4ef4
cmp word [ebp - 0x1c], 0x7530
jae 0x4c4ef4
lea eax, [ebp - 0x34]
call fcn.00403c70
push 0
mov eax, str.Tags_must_be_in_ascending_order:_Last
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
push 0xff
lea ecx, [ebp - 0x148]
mov edx, 0xffffffff
call fcn.00404f70
lea ecx, [ebp - 0x14c]
xor dx, dx
lea eax, [ebp - 0x148]
call fcn.004093e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x14c]
call fcn.0040a2a0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x40], eax
mov eax, str._Next
mov dword [ebp - 0x3c], eax
movzx eax, word [ebp - 0x1c]
push 0xff
lea ecx, [ebp - 0x148]
mov edx, 0xffffffff
call fcn.00404f70
lea ecx, [ebp - 0x48]
xor dx, dx
lea eax, [ebp - 0x148]
call fcn.004093e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x48]
call fcn.0040a2a0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x44]
mov ecx, 3
lea eax, [ebp - 0x34]
call fcn.00408ef0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.004c3460
mov esi, esi
mov eax, dword [ebp - 4]
mov dx, word [ebp - 0x1c]
mov word [eax], dx
mov eax, dword [ebp - 4]
mov ax, word [eax]
cmp ax, 0xfe
jb 0x4c5f68
sub ax, 0xfe
je 0x4c5150
sub ax, 1
je 0x4c5188
sub ax, 1
je 0x4c5258
sub ax, 1
je 0x4c526c
sub ax, 1
je 0x4c5280
sub ax, 1
je 0x4c5320
sub ax, 3
je 0x4c5434
sub ax, 1
je 0x4c54d8
sub ax, 1
je 0x4c55b4
sub ax, 1
je 0x4c55c8
sub ax, 1
je 0x4c55dc
sub ax, 3
je 0x4c56a0
sub ax, 1
je 0x4c56c4
sub ax, 1
je 0x4c56e8
sub ax, 1
je 0x4c570c
sub ax, 1
je 0x4c5730
sub ax, 1
je 0x4c5748
sub ax, 3
je 0x4c5878
sub ax, 1
je 0x4c588c
sub ax, 1
je 0x4c5930
sub ax, 1
je 0x4c5f9c
sub ax, 1
je 0x4c5f9c
sub ax, 1
je 0x4c5958
sub ax, 1
je 0x4c5980
sub ax, 1
je 0x4c59a8
sub ax, 1
je 0x4c5a48
sub ax, 3
je 0x4c5f9c
sub ax, 1
je 0x4c5f9c
sub ax, 1
je 0x4c5f9c
sub ax, 1
je 0x4c5f9c
sub ax, 5
je 0x4c5a8c
sub ax, 1
je 0x4c5b68
sub ax, 8
je 0x4c5c80
sub ax, 1
je 0x4c5ca4
sub ax, 9
je 0x4c5cc8
sub ax, 1
je 0x4c5cec
sub ax, 1
je 0x4c5d10
sub ax, 3
je 0x4c5ddc
sub ax, 2
je 0x4c5df0
sub ax, 1
je 0x4c5e28
sub ax, 1
je 0x4c5e60
sub ax, 1
je 0x4c5e98
sub ax, 0xd
je 0x4c5ed0
sub ax, 9
je 0x4c5f9c
sub ax, 0xa5
je 0x4c5f9c
sub ax, 1
je 0x4c5f9c
sub ax, 1
je 0x4c5f9c
sub ax, 1
je 0x4c5f9c
sub ax, 2
je 0x4c5f9c
sub ax, 1
je 0x4c5f9c
sub ax, 1
je 0x4c5f9c
sub ax, 1
je 0x4c5f9c
sub ax, 1
je 0x4c5f9c
sub ax, 9
je 0x4c5f9c
sub ax, 0xaa
je 0x4c5f9c
sub ax, 0x7fdc
je 0x4c5f40
sub ax, 0x4db
je 0x4c5f9c
jmp 0x4c5f68
mov eax, dword [ebp - 0xc]
call fcn.004c6020
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
and eax, 1
setne byte [edx + 0x4e]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
and eax, 2
setne byte [edx + 0x4d]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
and eax, 4
setne byte [edx + 0x4c]
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
call fcn.004c6020
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov byte [eax + 0x4e], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0x4d], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0x4c], 0
mov eax, dword [ebp - 0x20]
cmp eax, 1
jb 0x4c51e8
sub eax, 1
je 0x4c5f9c
sub eax, 1
je 0x4c51d0
sub eax, 1
je 0x4c51dc
jmp 0x4c51e8
mov eax, dword [ebp - 8]
mov byte [eax + 0x4e], 1
jmp 0x4c5f9c
mov eax, dword [ebp - 8]
mov byte [eax + 0x4d], 1
jmp 0x4c5f9c
lea eax, [ebp - 0x34]
call fcn.00403c70
push 0
mov eax, dword [ebp - 0x20]
xor edx, edx
push edx
push eax
mov ecx, 0xff
lea edx, [ebp - 0x148]
mov eax, 0xffffffff
call fcn.00405050
lea ecx, [ebp - 0x150]
xor dx, dx
lea eax, [ebp - 0x148]
call fcn.004093e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x150]
call fcn.0040a2a0
mov ecx, dword [ebp - 0x150]
mov edx, str.SubFileType_expected__but_found
lea eax, [ebp - 0x34]
call fcn.00408c60
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.004c3460
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
call fcn.004c6020
mov edx, dword [ebp - 8]
mov dword [edx + 0x50], eax
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
call fcn.004c6020
mov edx, dword [ebp - 8]
mov dword [edx + 0x48], eax
jmp 0x4c5f9c
mov eax, ebp
call fcn.004c5fc0
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x10]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.004c6c60
xor eax, eax
push fcn.004c4ca0
push ebp
push 0x4154e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
mov edx, 0x645328
mov eax, dword [ebp - 8]
add eax, 0x14
mov ecx, 1
call fcn.0040ccc0
mov eax, dword [ebp - 0x2c]
sub eax, 1
test eax, eax
jl 0x4c5308
mov dword [ebp - 0x30], 0xffffffff
lea esi, [esi]
add dword [ebp - 0x30], 1
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x14]
mov ebx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x28]
mov dx, word [edx + ebx*2]
mov word [ecx + ebx*2], dx
cmp eax, dword [ebp - 0x30]
jg 0x4c52e8
lea esi, [esi]
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004c4ca0
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
call fcn.004c6020
mov dword [ebp - 0x20], eax
cmp eax, 1
jb 0x4c53b0
sub eax, 0xa
jbe 0x4c5424
sub eax, 0x7ff4
je 0x4c5424
sub eax, 5
je 0x4c5424
sub eax, 2
je 0x4c5424
sub eax, 0x24
je 0x4c5424
sub eax, 0x56
jb 0x4c53b0
sub eax, 3
jbe 0x4c5424
sub eax, 0xa
jb 0x4c53b0
sub eax, 1
jbe 0x4c5424
sub eax, 0x25
jb 0x4c53b0
sub eax, 1
jbe 0x4c5424
sub eax, 0x6b2
je 0x4c5424
sub eax, 0xf
jb 0x4c53b0
sub eax, 1
jbe 0x4c5424
sub eax, 0x23
jne 0x4c53b0
nop
jmp 0x4c5424
lea eax, [ebp - 0x150]
call fcn.00403c70
push 0
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
mov ecx, 0xff
lea edx, [ebp - 0x250]
mov eax, 0xffffffff
call fcn.00405050
lea ecx, [ebp - 0x34]
xor dx, dx
lea eax, [ebp - 0x250]
call fcn.004093e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x34]
call fcn.0040a2a0
mov ecx, dword [ebp - 0x34]
mov edx, str.expected_Compression__but_found
lea eax, [ebp - 0x150]
call fcn.00408c60
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0xc]
call fcn.004c3460
mov esi, esi
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x24], edx
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
call fcn.004c6020
mov dword [ebp - 0x20], eax
cmp eax, 0xffff
jbe 0x4c54c8
lea eax, [ebp - 0x150]
call fcn.00403c70
push 0
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], edx
push dword [ebp - 0x154]
push dword [ebp - 0x158]
mov ecx, 0xff
lea edx, [ebp - 0x148]
mov eax, 0xffffffff
call fcn.00405050
lea ecx, [ebp - 0x34]
xor dx, dx
lea eax, [ebp - 0x148]
call fcn.004093e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x34]
call fcn.0040a2a0
mov ecx, dword [ebp - 0x34]
mov edx, str.expected_PhotometricInterpretation__but_found
lea eax, [ebp - 0x150]
call fcn.00408c60
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0xc]
call fcn.004c3460
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x68], edx
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
call fcn.004c6020
mov dword [ebp - 0x20], eax
cmp eax, 1
jb 0x4c5520
sub eax, 1
je 0x4c55a0
sub eax, 1
je 0x4c55a0
sub eax, 1
je 0x4c55a0
jmp 0x4c5520
lea eax, [ebp - 0x150]
call fcn.00403c70
push 0
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], edx
push dword [ebp - 0x154]
push dword [ebp - 0x158]
mov ecx, 0xff
lea edx, [ebp - 0x148]
mov eax, 0xffffffff
call fcn.00405050
lea ecx, [ebp - 0x34]
xor dx, dx
lea eax, [ebp - 0x148]
call fcn.004093e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x34]
call fcn.0040a2a0
mov ecx, dword [ebp - 0x34]
mov edx, str.expected_Tresholding__but_found
lea eax, [ebp - 0x150]
call fcn.00408c60
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0xc]
call fcn.004c3460
mov esi, esi
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x98], edx
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
call fcn.004c6020
mov edx, dword [ebp - 8]
mov dword [edx + 0x1c], eax
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
call fcn.004c6020
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], eax
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
call fcn.004c6020
mov dword [ebp - 0x20], eax
cmp eax, 1
jb 0x4c5618
sub eax, 1
je 0x4c55f8
sub eax, 1
je 0x4c5608
jmp 0x4c5618
mov eax, dword [ebp - 8]
mov dword [eax + 0x3c], 1
jmp 0x4c5f9c
mov eax, dword [ebp - 8]
mov dword [eax + 0x3c], 2
jmp 0x4c5f9c
lea eax, [ebp - 0x150]
call fcn.00403c70
push 0
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], edx
push dword [ebp - 0x154]
push dword [ebp - 0x158]
mov ecx, 0xff
lea edx, [ebp - 0x148]
mov eax, 0xffffffff
call fcn.00405050
lea ecx, [ebp - 0x34]
xor dx, dx
lea eax, [ebp - 0x148]
call fcn.004093e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x34]
call fcn.0040a2a0
mov ecx, dword [ebp - 0x34]
mov edx, str.expected_FillOrder__but_found
lea eax, [ebp - 0x150]
call fcn.00408c60
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0xc]
call fcn.004c3460
mov esi, esi
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x150]
call fcn.004c65f0
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 8]
add eax, 0x34
call fcn.00408b60
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x150]
call fcn.004c65f0
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 8]
add eax, 0x44
call fcn.00408b60
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x150]
call fcn.004c65f0
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 8]
add eax, 0x54
call fcn.00408b60
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x150]
call fcn.004c65f0
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 8]
add eax, 0x58
call fcn.00408b60
jmp 0x4c5f9c
mov eax, ebp
call fcn.004c5fc0
mov edx, dword [ebp - 8]
mov dword [edx + 0x84], eax
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
call fcn.004c6020
mov dword [ebp - 0x20], eax
cmp eax, 1
jb 0x4c57e8
sub eax, 1
je 0x4c5868
sub eax, 1
je 0x4c5868
sub eax, 1
je 0x4c5868
sub eax, 1
je 0x4c5868
sub eax, 1
je 0x4c5868
sub eax, 1
je 0x4c5868
sub eax, 1
je 0x4c5868
sub eax, 1
je 0x4c5868
jmp 0x4c57e8
lea eax, [ebp - 0x150]
call fcn.00403c70
push 0
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x154], eax
push dword [ebp - 0x154]
push dword [ebp - 0x158]
mov ecx, 0xff
lea edx, [ebp - 0x148]
mov eax, 0xffffffff
call fcn.00405050
lea ecx, [ebp - 0x34]
xor dx, dx
lea eax, [ebp - 0x148]
call fcn.004093e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x34]
call fcn.0040a2a0
mov ecx, dword [ebp - 0x34]
mov edx, str.expected_Orientation__but_found
lea eax, [ebp - 0x150]
call fcn.00408c60
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0xc]
call fcn.004c3460
mov esi, esi
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x5c], edx
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
call fcn.004c6020
mov edx, dword [ebp - 8]
mov dword [edx + 0x78], eax
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
call fcn.004c6020
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4c5920
lea eax, [ebp - 0x150]
call fcn.00403c70
push 0
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], edx
push dword [ebp - 0x154]
push dword [ebp - 0x158]
mov ecx, 0xff
lea edx, [ebp - 0x148]
mov eax, 0xffffffff
call fcn.00405050
lea ecx, [ebp - 0x34]
xor dx, dx
lea eax, [ebp - 0x148]
call fcn.004093e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x34]
call fcn.0040a2a0
mov ecx, dword [ebp - 0x34]
mov edx, str.expected_RowsPerStrip__but_found
lea eax, [ebp - 0x150]
call fcn.00408c60
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0xc]
call fcn.004c3460
lea esi, [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x74], eax
jmp 0x4c5f9c
mov eax, ebp
call fcn.004c5fc0
mov edx, dword [ebp - 8]
mov dword [edx + 0x80], eax
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x3c]
call fcn.004c63e0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x3c]
mov dword [edx + 0x9c], eax
mov eax, dword [ebp - 0x38]
mov dword [edx + 0xa0], eax
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x3c]
call fcn.004c63e0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x3c]
mov dword [edx + 0xa4], eax
mov eax, dword [ebp - 0x38]
mov dword [edx + 0xa8], eax
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
call fcn.004c61d0
mov dword [ebp - 0x24], eax
cmp eax, 1
jl 0x4c59d4
sub eax, 1
je 0x4c5a38
sub eax, 1
je 0x4c5a38
jmp 0x4c59d4
lea eax, [ebp - 0x150]
call fcn.00403c70
push 0
push 0xff
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x250]
mov edx, 0xffffffff
call fcn.00404f70
lea ecx, [ebp - 0x34]
xor dx, dx
lea eax, [ebp - 0x250]
call fcn.004093e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x34]
call fcn.0040a2a0
mov ecx, dword [ebp - 0x34]
mov edx, str.expected_PlanarConfiguration__but_found
lea eax, [ebp - 0x150]
call fcn.00408c60
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0xc]
call fcn.004c3460
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x6c], edx
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x150]
call fcn.004c65f0
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 8]
add eax, 0x64
call fcn.00408b60
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
call fcn.004c6020
mov dword [ebp - 0x20], eax
cmp eax, 1
jb 0x4c5ae0
sub eax, 1
je 0x4c5ab0
sub eax, 1
je 0x4c5ac0
sub eax, 1
je 0x4c5ad0
jmp 0x4c5ae0
mov eax, dword [ebp - 8]
mov dword [eax + 0x70], 1
jmp 0x4c5f9c
mov eax, dword [ebp - 8]
mov dword [eax + 0x70], 2
jmp 0x4c5f9c
mov eax, dword [ebp - 8]
mov dword [eax + 0x70], 3
jmp 0x4c5f9c
lea eax, [ebp - 0x150]
call fcn.00403c70
push 0
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], edx
push dword [ebp - 0x154]
push dword [ebp - 0x158]
mov ecx, 0xff
lea edx, [ebp - 0x148]
mov eax, 0xffffffff
call fcn.00405050
lea ecx, [ebp - 0x34]
xor dx, dx
lea eax, [ebp - 0x148]
call fcn.004093e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x34]
call fcn.0040a2a0
mov ecx, dword [ebp - 0x34]
mov edx, str.expected_ResolutionUnit__but_found
lea eax, [ebp - 0x150]
call fcn.00408c60
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0xc]
call fcn.004c3460
mov esi, esi
jmp 0x4c5f9c
mov eax, ebp
call fcn.004c5fc0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.004c6c60
xor eax, eax
push fcn.004c4cb0
push ebp
push 0x4154e0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x2c], 2
je 0x4c5c20
lea eax, [ebp - 0x150]
call fcn.00403c70
push 0
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], edx
push dword [ebp - 0x154]
push dword [ebp - 0x158]
mov ecx, 0xff
lea edx, [ebp - 0x148]
mov eax, 0xffffffff
call fcn.00405050
lea ecx, [ebp - 0x34]
xor dx, dx
lea eax, [ebp - 0x148]
call fcn.004093e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x34]
call fcn.0040a2a0
mov ecx, dword [ebp - 0x34]
mov edx, str.PageNumber_Count2_expected__but_found
lea eax, [ebp - 0x150]
call fcn.00408c60
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0xc]
call fcn.004c3460
nop
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
mov ax, word [eax]
mov word [edx + 0x60], ax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
mov ax, word [eax + 2]
mov word [edx + 0x62], ax
mov eax, dword [ebp - 8]
mov dx, word [eax + 0x60]
cmp dx, word [eax + 0x62]
jb 0x4c5c68
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x60]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 8]
mov ax, word [edx + 0x62]
mov word [edx + 0x60], ax
mov eax, dword [ebp - 8]
mov dx, word [ebp - 0x20]
mov word [eax + 0x62], dx
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004c4cb0
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x150]
call fcn.004c65f0
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 8]
add eax, 0x7c
call fcn.00408b60
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x150]
call fcn.004c65f0
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 8]
add eax, 0x30
call fcn.00408b60
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x150]
call fcn.004c65f0
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 8]
add eax, 0xc
call fcn.00408b60
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x150]
call fcn.004c65f0
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 8]
add eax, 0x40
call fcn.00408b60
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
call fcn.004c6020
and eax, 0xffff
mov dword [ebp - 0x20], eax
cmp eax, 1
jb 0x4c5d4c
sub eax, 1
je 0x4c5dcc
sub eax, 1
je 0x4c5dcc
jmp 0x4c5d4c
lea eax, [ebp - 0x150]
call fcn.00403c70
push 0
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x154], eax
push dword [ebp - 0x154]
push dword [ebp - 0x158]
mov ecx, 0xff
lea edx, [ebp - 0x148]
mov eax, 0xffffffff
call fcn.00405050
lea ecx, [ebp - 0x34]
xor dx, dx
lea eax, [ebp - 0x148]
call fcn.004093e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x34]
call fcn.0040a2a0
mov ecx, dword [ebp - 0x34]
mov edx, str.expected_Predictor__but_found
lea eax, [ebp - 0x150]
call fcn.00408c60
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0xc]
call fcn.004c3460
mov esi, esi
mov edx, dword [ebp - 8]
mov ax, word [ebp - 0x20]
mov word [edx + 0x28], ax
jmp 0x4c5f9c
mov eax, ebp
call fcn.004c5fc0
mov edx, dword [ebp - 8]
mov dword [edx + 0x20], eax
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
call fcn.004c6020
mov edx, dword [ebp - 8]
mov dword [edx + 0x88], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x88], 0
jne 0x4c5f9c
mov eax, dword [ebp - 0xc]
mov edx, str.TileWidth0
call fcn.004c3460
mov esi, esi
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
call fcn.004c6020
mov edx, dword [ebp - 8]
mov dword [edx + 0x8c], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x8c], 0
jne 0x4c5f9c
mov eax, dword [ebp - 0xc]
mov edx, str.TileLength0
call fcn.004c3460
mov esi, esi
jmp 0x4c5f9c
mov eax, ebp
call fcn.004c5fc0
mov edx, dword [ebp - 8]
mov dword [edx + 0x90], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x90], 0
jne 0x4c5f9c
mov eax, dword [ebp - 0xc]
mov edx, str.TileOffsets0
call fcn.004c3460
lea esi, [esi]
jmp 0x4c5f9c
mov eax, ebp
call fcn.004c5fc0
mov edx, dword [ebp - 8]
mov dword [edx + 0x94], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x94], 0
jne 0x4c5f9c
mov eax, dword [ebp - 0xc]
mov edx, str.TileByteCounts0
call fcn.004c3460
lea esi, [esi]
jmp 0x4c5f9c
mov eax, ebp
call fcn.004c5fc0
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x150]
call fcn.004c65f0
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 8]
add eax, 0x2c
call fcn.00408b60
jmp 0x4c5f9c
mov eax, dword [ebp - 0xc]
call fcn.004c6760
mov word [ebp - 0x10], ax
mov eax, dword [ebp - 0xc]
call fcn.004c6790
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
call fcn.004c6790
mov dword [ebp - 0x18], eax
cmp word [ebp - 0x10], 0
jne 0x4c5f9c
cmp dword [ebp - 0x14], 0
jne 0x4c5f9c
cmp dword [ebp - 0x18], 0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004c4cc0
pop ebx
mov esp, ebp
pop ebp
ret