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

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x378]
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x5c], 0
mov eax, 1
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x3c]
call fcn.0040d680
call fcn.00403e00
push eax
test eax, eax
jne 0x4d66e0
mov eax, dword [ebp - 0xc]
call fcn.004d6f00
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 4]
mov ax, word [eax]
cmp ax, word [ebp - 0x1c]
jbe 0x4d55a8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4d54cc
sub eax, 1
jne 0x4d55a8
nop
lea eax, [ebp - 0x5c]
call fcn.00403940
push 0
mov eax, str.Tags_must_be_in_ascending_order:_Last
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x70]
call fcn.00403940
mov eax, dword [ebp - 4]
movzx eax, word [eax]
push 0xff
lea ecx, [ebp - 0x170]
mov edx, 0xffffffff
call fcn.00404c40
lea ecx, [ebp - 0x70]
xor dx, dx
lea eax, [ebp - 0x170]
call fcn.004090e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x70]
call fcn.00409ea0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x68], eax
mov eax, str._Next
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x174]
call fcn.00403940
movzx eax, word [ebp - 0x1c]
push 0xff
lea ecx, [ebp - 0x170]
mov edx, 0xffffffff
call fcn.00404c40
lea ecx, [ebp - 0x174]
xor dx, dx
lea eax, [ebp - 0x170]
call fcn.004090e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x174]
call fcn.00409ea0
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x6c]
mov ecx, 3
lea eax, [ebp - 0x5c]
call fcn.00408be0
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0xc]
call fcn.004d3a40
jmp 0x4d55a8
cmp word [ebp - 0x1c], 0x7530
jae 0x4d55a8
lea eax, [ebp - 0x5c]
call fcn.00403940
push 0
mov eax, str.Tags_must_be_in_ascending_order:_Last
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x174]
call fcn.00403940
mov eax, dword [ebp - 4]
movzx eax, word [eax]
push 0xff
lea ecx, [ebp - 0x170]
mov edx, 0xffffffff
call fcn.00404c40
lea ecx, [ebp - 0x174]
xor dx, dx
lea eax, [ebp - 0x170]
call fcn.004090e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x174]
call fcn.00409ea0
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x68], eax
mov eax, str._Next
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x70]
call fcn.00403940
movzx eax, word [ebp - 0x1c]
push 0xff
lea ecx, [ebp - 0x170]
mov edx, 0xffffffff
call fcn.00404c40
lea ecx, [ebp - 0x70]
xor dx, dx
lea eax, [ebp - 0x170]
call fcn.004090e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x70]
call fcn.00409ea0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x6c]
mov ecx, 3
lea eax, [ebp - 0x5c]
call fcn.00408be0
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0xc]
call fcn.004d3a40
lea esi, [esi]
mov edx, dword [ebp - 4]
mov ax, word [ebp - 0x1c]
mov word [edx], ax
mov eax, dword [ebp - 4]
mov ax, word [eax]
cmp ax, 0xfe
jb 0x4d66ac
sub ax, 0xfe
je 0x4d5804
sub ax, 1
je 0x4d583c
sub ax, 1
je 0x4d5918
sub ax, 1
je 0x4d592c
sub ax, 1
je 0x4d5940
sub ax, 1
je 0x4d59f8
sub ax, 3
je 0x4d5b18
sub ax, 1
je 0x4d5bc4
sub ax, 1
je 0x4d5ca8
sub ax, 1
je 0x4d5cbc
sub ax, 1
je 0x4d5cd0
sub ax, 3
je 0x4d5d9c
sub ax, 1
je 0x4d5dc0
sub ax, 1
je 0x4d5de4
sub ax, 1
je 0x4d5e08
sub ax, 1
je 0x4d5e2c
sub ax, 1
je 0x4d5e44
sub ax, 3
je 0x4d5f7c
sub ax, 1
je 0x4d5f90
sub ax, 1
je 0x4d603c
sub ax, 1
je 0x4d66e0
sub ax, 1
je 0x4d66e0
sub ax, 1
je 0x4d6064
sub ax, 1
je 0x4d608c
sub ax, 1
je 0x4d60b4
sub ax, 1
je 0x4d615c
sub ax, 3
je 0x4d66e0
sub ax, 1
je 0x4d66e0
sub ax, 1
je 0x4d66e0
sub ax, 1
je 0x4d66e0
sub ax, 5
je 0x4d61a0
sub ax, 1
je 0x4d6284
sub ax, 8
je 0x4d63bc
sub ax, 1
je 0x4d63e0
sub ax, 9
je 0x4d6404
sub ax, 1
je 0x4d6428
sub ax, 1
je 0x4d644c
sub ax, 3
je 0x4d6520
sub ax, 2
je 0x4d6534
sub ax, 1
je 0x4d656c
sub ax, 1
je 0x4d65a4
sub ax, 1
je 0x4d65dc
sub ax, 0xd
je 0x4d6614
sub ax, 9
je 0x4d66e0
sub ax, 0xa5
je 0x4d66e0
sub ax, 1
je 0x4d66e0
sub ax, 1
je 0x4d66e0
sub ax, 1
je 0x4d66e0
sub ax, 2
je 0x4d66e0
sub ax, 1
je 0x4d66e0
sub ax, 1
je 0x4d66e0
sub ax, 1
je 0x4d66e0
sub ax, 1
je 0x4d66e0
sub ax, 9
je 0x4d66e0
sub ax, 0xaa
je 0x4d66e0
sub ax, 0x7fdc
je 0x4d6684
sub ax, 0x4db
je 0x4d66e0
jmp 0x4d66ac
mov eax, dword [ebp - 0xc]
call fcn.004d6760
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 0x4d66e0
mov eax, dword [ebp - 0xc]
call fcn.004d6760
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 0x4d589c
sub eax, 1
je 0x4d66e0
sub eax, 1
je 0x4d5884
sub eax, 1
je 0x4d5890
jmp 0x4d589c
mov eax, dword [ebp - 8]
mov byte [eax + 0x4e], 1
jmp 0x4d66e0
mov eax, dword [ebp - 8]
mov byte [eax + 0x4d], 1
jmp 0x4d66e0
lea eax, [ebp - 0x5c]
call fcn.00403940
push 0
lea eax, [ebp - 0x178]
call fcn.00403940
mov eax, dword [ebp - 0x20]
xor edx, edx
push edx
push eax
mov ecx, 0xff
lea edx, [ebp - 0x170]
mov eax, 0xffffffff
call fcn.00404d20
lea ecx, [ebp - 0x178]
xor dx, dx
lea eax, [ebp - 0x170]
call fcn.004090e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x178]
call fcn.00409ea0
mov ecx, dword [ebp - 0x178]
mov edx, str.SubFileType_expected__but_found
lea eax, [ebp - 0x5c]
call fcn.00408970
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0xc]
call fcn.004d3a40
nop
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
call fcn.004d6760
mov edx, dword [ebp - 8]
mov dword [edx + 0x50], eax
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
call fcn.004d6760
mov edx, dword [ebp - 8]
mov dword [edx + 0x48], eax
jmp 0x4d66e0
mov eax, ebp
call fcn.004d6720
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.004d73e0
mov eax, 1
lea edx, [ebp - 0x170]
lea ecx, [ebp - 0x7c]
call fcn.0040d680
call fcn.00403e00
push eax
test eax, eax
jne 0x4d59d8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x84]
push eax
mov edx, 0x60b240
mov eax, dword [ebp - 8]
add eax, 0x14
mov ecx, 1
call fcn.0040c410
mov eax, dword [ebp - 0x2c]
sub eax, 1
test eax, eax
jl 0x4d59d8
mov dword [ebp - 0x30], 0xffffffff
lea esi, [esi]
add dword [ebp - 0x30], 1
mov edx, dword [ebp - 8]
mov ebx, dword [edx + 0x14]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x28]
mov dx, word [edx + ecx*2]
mov word [ebx + ecx*2], dx
cmp eax, dword [ebp - 0x30]
jg 0x4d59b8
lea esi, [esi]
call fcn.0040d8f0
lea eax, [ebp - 0x28]
xor edx, edx
call fcn.0040f650
pop eax
test eax, eax
je 0x4d59f1
call fcn.0040da20
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
call fcn.004d6760
mov dword [ebp - 0x20], eax
cmp eax, 1
jb 0x4d5a8c
sub eax, 0xa
jbe 0x4d5b08
sub eax, 0x7ff4
je 0x4d5b08
sub eax, 5
je 0x4d5b08
sub eax, 2
je 0x4d5b08
sub eax, 0x24
je 0x4d5b08
sub eax, 0x56
jb 0x4d5a8c
sub eax, 3
jbe 0x4d5b08
sub eax, 0xa
jb 0x4d5a8c
sub eax, 1
jbe 0x4d5b08
sub eax, 0x25
jb 0x4d5a8c
sub eax, 1
jbe 0x4d5b08
sub eax, 0x6b2
je 0x4d5b08
sub eax, 0xf
jb 0x4d5a8c
sub eax, 1
jbe 0x4d5b08
sub eax, 0x23
jne 0x4d5a8c
nop
jmp 0x4d5b08
lea eax, [ebp - 0x178]
call fcn.00403940
push 0
lea eax, [ebp - 0x5c]
call fcn.00403940
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
mov ecx, 0xff
lea edx, [ebp - 0x278]
mov eax, 0xffffffff
call fcn.00404d20
lea ecx, [ebp - 0x5c]
xor dx, dx
lea eax, [ebp - 0x278]
call fcn.004090e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x5c]
call fcn.00409ea0
mov ecx, dword [ebp - 0x5c]
mov edx, str.expected_Compression__but_found
lea eax, [ebp - 0x178]
call fcn.00408970
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0xc]
call fcn.004d3a40
mov esi, esi
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x24], eax
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
call fcn.004d6760
mov dword [ebp - 0x20], eax
cmp eax, 0xffff
jbe 0x4d5bb4
lea eax, [ebp - 0x178]
call fcn.00403940
push 0
lea eax, [ebp - 0x5c]
call fcn.00403940
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], edx
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
mov ecx, 0xff
lea edx, [ebp - 0x170]
mov eax, 0xffffffff
call fcn.00404d20
lea ecx, [ebp - 0x5c]
xor dx, dx
lea eax, [ebp - 0x170]
call fcn.004090e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x5c]
call fcn.00409ea0
mov ecx, dword [ebp - 0x5c]
mov edx, str.expected_PhotometricInterpretation__but_found
lea eax, [ebp - 0x178]
call fcn.00408970
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0xc]
call fcn.004d3a40
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x68], eax
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
call fcn.004d6760
mov dword [ebp - 0x20], eax
cmp eax, 1
jb 0x4d5c0c
sub eax, 1
je 0x4d5c94
sub eax, 1
je 0x4d5c94
sub eax, 1
je 0x4d5c94
jmp 0x4d5c0c
lea eax, [ebp - 0x178]
call fcn.00403940
push 0
lea eax, [ebp - 0x5c]
call fcn.00403940
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], edx
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
mov ecx, 0xff
lea edx, [ebp - 0x170]
mov eax, 0xffffffff
call fcn.00404d20
lea ecx, [ebp - 0x5c]
xor dx, dx
lea eax, [ebp - 0x170]
call fcn.004090e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x5c]
call fcn.00409ea0
mov ecx, dword [ebp - 0x5c]
mov edx, str.expected_Tresholding__but_found
lea eax, [ebp - 0x178]
call fcn.00408970
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0xc]
call fcn.004d3a40
mov esi, esi
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x98], eax
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
call fcn.004d6760
mov edx, dword [ebp - 8]
mov dword [edx + 0x1c], eax
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
call fcn.004d6760
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], eax
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
call fcn.004d6760
mov dword [ebp - 0x20], eax
cmp eax, 1
jb 0x4d5d0c
sub eax, 1
je 0x4d5cec
sub eax, 1
je 0x4d5cfc
jmp 0x4d5d0c
mov eax, dword [ebp - 8]
mov dword [eax + 0x3c], 1
jmp 0x4d66e0
mov eax, dword [ebp - 8]
mov dword [eax + 0x3c], 2
jmp 0x4d66e0
lea eax, [ebp - 0x178]
call fcn.00403940
push 0
lea eax, [ebp - 0x5c]
call fcn.00403940
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x17c], eax
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
mov ecx, 0xff
lea edx, [ebp - 0x170]
mov eax, 0xffffffff
call fcn.00404d20
lea ecx, [ebp - 0x5c]
xor dx, dx
lea eax, [ebp - 0x170]
call fcn.004090e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x5c]
call fcn.00409ea0
mov ecx, dword [ebp - 0x5c]
mov edx, str.expected_FillOrder__but_found
lea eax, [ebp - 0x178]
call fcn.00408970
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0xc]
call fcn.004d3a40
mov esi, esi
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x178]
call fcn.004d6d60
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 8]
add eax, 0x34
call fcn.00408870
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x178]
call fcn.004d6d60
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 8]
add eax, 0x44
call fcn.00408870
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x178]
call fcn.004d6d60
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 8]
add eax, 0x54
call fcn.00408870
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x178]
call fcn.004d6d60
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 8]
add eax, 0x58
call fcn.00408870
jmp 0x4d66e0
mov eax, ebp
call fcn.004d6720
mov edx, dword [ebp - 8]
mov dword [edx + 0x84], eax
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
call fcn.004d6760
mov dword [ebp - 0x20], eax
cmp eax, 1
jb 0x4d5ee4
sub eax, 1
je 0x4d5f6c
sub eax, 1
je 0x4d5f6c
sub eax, 1
je 0x4d5f6c
sub eax, 1
je 0x4d5f6c
sub eax, 1
je 0x4d5f6c
sub eax, 1
je 0x4d5f6c
sub eax, 1
je 0x4d5f6c
sub eax, 1
je 0x4d5f6c
jmp 0x4d5ee4
lea eax, [ebp - 0x178]
call fcn.00403940
push 0
lea eax, [ebp - 0x5c]
call fcn.00403940
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], edx
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
mov ecx, 0xff
lea edx, [ebp - 0x170]
mov eax, 0xffffffff
call fcn.00404d20
lea ecx, [ebp - 0x5c]
xor dx, dx
lea eax, [ebp - 0x170]
call fcn.004090e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x5c]
call fcn.00409ea0
mov ecx, dword [ebp - 0x5c]
mov edx, str.expected_Orientation__but_found
lea eax, [ebp - 0x178]
call fcn.00408970
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0xc]
call fcn.004d3a40
mov esi, esi
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x5c], edx
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
call fcn.004d6760
mov edx, dword [ebp - 8]
mov dword [edx + 0x78], eax
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
call fcn.004d6760
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4d602c
lea eax, [ebp - 0x178]
call fcn.00403940
push 0
lea eax, [ebp - 0x5c]
call fcn.00403940
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x17c], eax
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
mov ecx, 0xff
lea edx, [ebp - 0x170]
mov eax, 0xffffffff
call fcn.00404d20
lea ecx, [ebp - 0x5c]
xor dx, dx
lea eax, [ebp - 0x170]
call fcn.004090e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x5c]
call fcn.00409ea0
mov ecx, dword [ebp - 0x5c]
mov edx, str.expected_RowsPerStrip__but_found
lea eax, [ebp - 0x178]
call fcn.00408970
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0xc]
call fcn.004d3a40
lea esi, [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x74], eax
jmp 0x4d66e0
mov eax, ebp
call fcn.004d6720
mov edx, dword [ebp - 8]
mov dword [edx + 0x80], eax
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x64]
call fcn.004d6b40
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x64]
mov dword [edx + 0x9c], eax
mov eax, dword [ebp - 0x60]
mov dword [edx + 0xa0], eax
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x64]
call fcn.004d6b40
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x64]
mov dword [edx + 0xa4], eax
mov eax, dword [ebp - 0x60]
mov dword [edx + 0xa8], eax
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
call fcn.004d6920
mov dword [ebp - 0x24], eax
cmp eax, 1
jl 0x4d60e0
sub eax, 1
je 0x4d614c
sub eax, 1
je 0x4d614c
jmp 0x4d60e0
lea eax, [ebp - 0x178]
call fcn.00403940
push 0
lea eax, [ebp - 0x5c]
call fcn.00403940
push 0xff
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x278]
mov edx, 0xffffffff
call fcn.00404c40
lea ecx, [ebp - 0x5c]
xor dx, dx
lea eax, [ebp - 0x278]
call fcn.004090e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x5c]
call fcn.00409ea0
mov ecx, dword [ebp - 0x5c]
mov edx, str.expected_PlanarConfiguration__but_found
lea eax, [ebp - 0x178]
call fcn.00408970
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0xc]
call fcn.004d3a40
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x6c], edx
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x178]
call fcn.004d6d60
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 8]
add eax, 0x64
call fcn.00408870
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
call fcn.004d6760
mov dword [ebp - 0x20], eax
cmp eax, 1
jb 0x4d61f4
sub eax, 1
je 0x4d61c4
sub eax, 1
je 0x4d61d4
sub eax, 1
je 0x4d61e4
jmp 0x4d61f4
mov eax, dword [ebp - 8]
mov dword [eax + 0x70], 1
jmp 0x4d66e0
mov eax, dword [ebp - 8]
mov dword [eax + 0x70], 2
jmp 0x4d66e0
mov eax, dword [ebp - 8]
mov dword [eax + 0x70], 3
jmp 0x4d66e0
lea eax, [ebp - 0x178]
call fcn.00403940
push 0
lea eax, [ebp - 0x5c]
call fcn.00403940
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], edx
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
mov ecx, 0xff
lea edx, [ebp - 0x170]
mov eax, 0xffffffff
call fcn.00404d20
lea ecx, [ebp - 0x5c]
xor dx, dx
lea eax, [ebp - 0x170]
call fcn.004090e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x5c]
call fcn.00409ea0
mov ecx, dword [ebp - 0x5c]
mov edx, str.expected_ResolutionUnit__but_found
lea eax, [ebp - 0x178]
call fcn.00408970
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0xc]
call fcn.004d3a40
mov esi, esi
jmp 0x4d66e0
mov eax, ebp
call fcn.004d6720
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.004d73e0
mov eax, 1
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x184]
call fcn.0040d680
call fcn.00403e00
push eax
test eax, eax
jne 0x4d639c
cmp dword [ebp - 0x2c], 2
je 0x4d6354
lea eax, [ebp - 0x178]
call fcn.00403940
push 0
lea eax, [ebp - 0x5c]
call fcn.00403940
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], edx
push dword [ebp - 0x18c]
push dword [ebp - 0x190]
mov ecx, 0xff
lea edx, [ebp - 0x378]
mov eax, 0xffffffff
call fcn.00404d20
lea ecx, [ebp - 0x5c]
xor dx, dx
lea eax, [ebp - 0x378]
call fcn.004090e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x5c]
call fcn.00409ea0
mov ecx, dword [ebp - 0x5c]
mov edx, str.PageNumber_Count2_expected__but_found
lea eax, [ebp - 0x178]
call fcn.00408970
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0xc]
call fcn.004d3a40
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 0x4d639c
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x60]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dx, word [eax + 0x62]
mov word [eax + 0x60], dx
mov edx, dword [ebp - 8]
mov ax, word [ebp - 0x20]
mov word [edx + 0x62], ax
call fcn.0040d8f0
lea eax, [ebp - 0x28]
xor edx, edx
call fcn.0040f650
pop eax
test eax, eax
je 0x4d63b5
call fcn.0040da20
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x178]
call fcn.004d6d60
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 8]
add eax, 0x7c
call fcn.00408870
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x178]
call fcn.004d6d60
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 8]
add eax, 0x30
call fcn.00408870
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x178]
call fcn.004d6d60
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 8]
add eax, 0xc
call fcn.00408870
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x178]
call fcn.004d6d60
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 8]
add eax, 0x40
call fcn.00408870
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
call fcn.004d6760
and eax, 0xffff
mov dword [ebp - 0x20], eax
cmp eax, 1
jb 0x4d6488
sub eax, 1
je 0x4d6510
sub eax, 1
je 0x4d6510
jmp 0x4d6488
lea eax, [ebp - 0x178]
call fcn.00403940
push 0
lea eax, [ebp - 0x5c]
call fcn.00403940
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], edx
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
mov ecx, 0xff
lea edx, [ebp - 0x170]
mov eax, 0xffffffff
call fcn.00404d20
lea ecx, [ebp - 0x5c]
xor dx, dx
lea eax, [ebp - 0x170]
call fcn.004090e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x5c]
call fcn.00409ea0
mov ecx, dword [ebp - 0x5c]
mov edx, str.expected_Predictor__but_found
lea eax, [ebp - 0x178]
call fcn.00408970
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0xc]
call fcn.004d3a40
mov esi, esi
mov edx, dword [ebp - 8]
mov ax, word [ebp - 0x20]
mov word [edx + 0x28], ax
jmp 0x4d66e0
mov eax, ebp
call fcn.004d6720
mov edx, dword [ebp - 8]
mov dword [edx + 0x20], eax
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
call fcn.004d6760
mov edx, dword [ebp - 8]
mov dword [edx + 0x88], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x88], 0
jne 0x4d66e0
mov eax, dword [ebp - 0xc]
mov edx, str.TileWidth0
call fcn.004d3a40
mov esi, esi
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
call fcn.004d6760
mov edx, dword [ebp - 8]
mov dword [edx + 0x8c], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x8c], 0
jne 0x4d66e0
mov eax, dword [ebp - 0xc]
mov edx, str.TileLength0
call fcn.004d3a40
mov esi, esi
jmp 0x4d66e0
mov eax, ebp
call fcn.004d6720
mov edx, dword [ebp - 8]
mov dword [edx + 0x90], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x90], 0
jne 0x4d66e0
mov eax, dword [ebp - 0xc]
mov edx, str.TileOffsets0
call fcn.004d3a40
lea esi, [esi]
jmp 0x4d66e0
mov eax, ebp
call fcn.004d6720
mov edx, dword [ebp - 8]
mov dword [edx + 0x94], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x94], 0
jne 0x4d66e0
mov eax, dword [ebp - 0xc]
mov edx, str.TileByteCounts0
call fcn.004d3a40
lea esi, [esi]
jmp 0x4d66e0
mov eax, ebp
call fcn.004d6720
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x178]
call fcn.004d6d60
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 8]
add eax, 0x2c
call fcn.00408870
jmp 0x4d66e0
mov eax, dword [ebp - 0xc]
call fcn.004d6f00
mov word [ebp - 0x10], ax
mov eax, dword [ebp - 0xc]
call fcn.004d6f30
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
call fcn.004d6f30
mov dword [ebp - 0x18], eax
cmp word [ebp - 0x10], 0
jne 0x4d66e0
cmp dword [ebp - 0x14], 0
jne 0x4d66e0
cmp dword [ebp - 0x18], 0
call fcn.0040d8f0
lea eax, [ebp - 0x178]
call fcn.00403940
lea eax, [ebp - 0x174]
call fcn.00403940
lea eax, [ebp - 0x70]
call fcn.00403940
lea eax, [ebp - 0x5c]
call fcn.00403940
pop eax
test eax, eax
je 0x4d6715
call fcn.0040da20
pop ebx
mov esp, ebp
pop ebp
ret