Function at 0x50f380
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [eax], edi
call fcn.00517940
test eax, eax
jne 0x512cfa
push 0x168
push edi
call fcn.00517790
mov ebp, eax
add esp, 8
cmp ebp, edi
je 0x512cfa
mov esi, dword [esp + 0x14]
mov byte [ebp + 0x3c], 0
mov dword [ebp + 0x164], 0x53b200
mov dword [ebp + 0x160], fcn.0053a3b0
mov dword [ebp + 0x158], 0x53ac10
mov dword [ebp + 0x15c], 0x53ac30
mov dword [ebp + 4], edi
cmp esi, edi
je 0x50f3f0
mov ecx, dword [esi + 0xc]
mov dword [ebp + 0x2c], ecx
jmp 0x50f3f7
mov dword [ebp + 0x2c], 0xfffffffe
lea ebx, [ebp + 0xc]
mov dword [ebx], edi
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x10], edi
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x24], edi
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x30], edi
mov dword [ebp + 0x34], edi
mov byte [ebp + 0x150], 0
cmp esi, edi
je 0x50f448
push 0x20
push edi
call fcn.00517790
add esp, 8
mov dword [ebp + 0x154], eax
cmp eax, edi
je 0x512cfa
mov ecx, 8
mov edi, eax
rep movsd dword es:[edi], dword [esi]
xor edi, edi
jmp 0x50f44e
mov dword [ebp + 0x154], edi
push ebp
push 0x53a320
call fcn.00539e10
add esp, 8
cmp byte [ebp + 0x3c], 0
mov dword [ebp + 8], eax
jne 0x512cfa
push 0x53b200
push str.OMFI
push eax
call fcn.00539d00
add esp, 0xc
cmp byte [ebp + 0x3c], 0
jne 0x512cfa
push ebx
push 0x64
push edi
call fcn.005203e0
add esp, 0xc
test eax, eax
jne 0x512cfa
lea eax, [ebp + 0x10]
push eax
push 0x12c
push edi
call fcn.005203e0
add esp, 0xc
test eax, eax
jne 0x512cfa
lea eax, [ebp + 0x14]
push eax
push 0x64
push edi
call fcn.005203e0
add esp, 0xc
test eax, eax
jne 0x512cfa
lea eax, [ebp + 0x18]
push eax
push 0x12c
push edi
call fcn.005203e0
add esp, 0xc
test eax, eax
jne 0x512cfa
lea eax, [ebp + 0x24]
push eax
push 0x64
push edi
call fcn.00520330
add esp, 0xc
test eax, eax
jne 0x512cfa
lea eax, [ebp + 0x28]
push eax
push 0x64
push edi
call fcn.00520330
add esp, 0xc
test eax, eax
jne 0x512cfa
lea eax, [ebp + 0x1c]
push eax
push 0x64
push edi
push 1
push edi
call fcn.005201e0
add esp, 0x14
test eax, eax
jne 0x512cfa
lea eax, [ebp + 0x20]
push eax
push 0x12c
push edi
push 1
push edi
call fcn.005201e0
add esp, 0x14
test eax, eax
jne 0x512cfa
push 0x6edb9d
push str.CPNT
push edi
push edi
push ebp
mov dword [ebp], 0x53455353
mov dword [ebp + 0x14c], 0x39
mov dword [ebp + 0x148], 0xf7
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x30], edi
mov dword [ebp + 0x140], edi
mov dword [ebp + 0x144], edi
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.CPNT
push str.CLIP
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.CLIP
push str.ATCP
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.CLIP
push str.FILL
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.CLIP
push str.ECCP
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.CLIP
push str.TCCP
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.CLIP
push str.SCLP
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.CLIP
push str.TRKR
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.CPNT
push str.SEQU
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.CPNT
push str.TRKG
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.TRKG
push str.MOBJ
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.TRKG
push str.TRAN
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.TRKG
push str.SLCT
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.TRKG
push str.WARP
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.WARP
push str.SPED
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.WARP
push str.MASK
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.WARP
push str.REPT
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push 0x6edb9d
push str.HEAD
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push 0x6edb9d
push str.CLSD
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push 0x6edb9d
push str.TRAK
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push 0x6edb9d
push str.ATTR
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push 0x6edb9d
push str.ATTB
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push 0x6edb9d
push str.MDES
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MDES
push str.MDFL
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MDES
push str.MDTP
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MDES
push str.MDFM
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MDES
push str.MDNG
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push 0x6edb9d
push str.DOSL
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push 0x6edb9d
push str.MACL
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push 0x6edb9d
push str.UNXL
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push 0x6edb9d
push str.TXTL
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push 0x6edb9d
push str.OOBJ
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.OOBJ
push str.HEAD
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.OOBJ
push str.CLSD
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.OOBJ
push str.DDEF
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.OOBJ
push str.MOBJ
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.OOBJ
push str.MSLT
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.OOBJ
push str.CPNT
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.CPNT
push str.SEGM
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.CPNT
push str.TRAN
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.SEGM
push str.SEQU
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.SEGM
push str.FILL
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.SEGM
push str.SCLP
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.SEGM
push str.TCCP
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.SEGM
push str.ECCP
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.SEGM
push str.EFFE
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.OOBJ
push str.ESLT
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.OOBJ
push str.EDEF
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.SEGM
push str.CVAL
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.SEGM
push str.VVAL
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.OOBJ
push str.CTLP
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.SEGM
push str.NEST
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.SEGM
push str.SREF
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.SEGM
push str.SLCT
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MOBJ
push str.CMOB
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.SEGM
push str.ERAT
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.OOBJ
push str.LOCR
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MOBJ
push str.MMOB
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MOBJ
push str.SMOB
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MDES
push str.MDFM
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.SEGM
push str.MGRP
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MDES
push str.MDTP
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.OOBJ
push str.TRKD
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.LOCR
push str.DOSL
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.LOCR
push str.UNXL
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.LOCR
push str.MACL
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.LOCR
push str.TXTL
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.LOCR
push str.WINL
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.OOBJ
push str.MDES
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MDES
push str.MDFL
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.OOBJ
push str.MDAT
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.OOBJ
push str.ATTB
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.OOBJ
push str.ATTR
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push 0x6edb9d
push str.MDAT
push edi
push 2
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MDFL
push str.DIDD
push edi
push 2
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MDFL
push str.DIDD
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push 0x6edb9d
push str.TIFF
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MDAT
push str.TIFF
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MDFL
push str.TIFD
push 2
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push 0x6edb9d
push 0x70accc
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MDAT
push 0x70accc
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MDFL
push str.WAVD
push 2
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MDAT
push str.IDAT
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MDAT
push str.IDAT
push edi
push 2
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.DIDD
push str.RGBA
push edi
push 2
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.DIDD
push str.RGBA
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push 0x6edb9d
push str.AIFC
push edi
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MDAT
push str.AIFC
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.MDFL
push str.AIFD
push 2
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.DIDD
push str.CDCI
push edi
push 2
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.DIDD
push str.CDCI
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.IDAT
push str.JPEG
push edi
push 2
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.IDAT
push str.JPEG
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push 0x6edb9d
push str.IDNT
push edi
push 2
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.OOBJ
push str.IDNT
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.LOCR
push str.NETL
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push str.SEGM
push str.PDWN
push 1
push edi
push ebp
call fcn.00517530
add esp, 0x14
test eax, eax
jne 0x512cfa
push 1
push str.NoType
push 2
push edi
push ebp
call fcn.00518570
add esp, 0x14
test eax, eax
jne 0x512cfa
push edi
push str.AttrKind
push 2
push 1
push ebp
call fcn.00518570
add esp, 0x14
test eax, eax
jne 0x512cfa
push edi
push str.Boolean
push 2
push 2
push ebp
call fcn.00518570
add esp, 0x14
test eax, eax
jne 0x512cfa
push edi
push str.Char
push edi
push 3
push ebp
call fcn.00518570
add esp, 0x14
test eax, eax
jne 0x512cfa
push edi
push str.CharSetType
push edi
push 4
push ebp
call fcn.00518570
add esp, 0x14
test eax, eax
jne 0x512cfa
push edi
push str.EdgeType
push 2
push 5
push ebp
call fcn.00518570
add esp, 0x14
test eax, eax
jne 0x512cfa
push edi
push str.ExactEditRate
push edi
push 6
push ebp
call fcn.00518570
add esp, 0x14
test eax, eax
jne 0x512cfa
push edi
push str.FilmType
push 2
push 7
push ebp
call fcn.00518570
add esp, 0x14
test eax, eax
jne 0x512cfa
push edi
push str.JPEGTableIDType
push 2
push 8
push ebp
call fcn.00518570
add esp, 0x14
test eax, eax
jne 0x512cfa
push 1
push str.MobIndex
push edi
push 0xa
push ebp
call fcn.00518570
add esp, 0x14
test eax, eax
jne 0x512cfa
push 1
push str.ObjRefArray
push 2
push 0xb
push ebp
call fcn.00518570
add esp, 0x14
test eax, eax
jne 0x512cfa
push 1
push str.ObjRef
push 2
push 0xc
push ebp
call fcn.00518570
add esp, 0x14
test eax, eax
jne 0x512cfa
push 1
push str.ObjectTag
push edi
push 0xd
push ebp
call fcn.00518570
add esp, 0x14
test eax, eax
jne 0x512cfa
push edi
push str.PhysicalMobType
push edi
push 0xe
push ebp
call fcn.00518570
add esp, 0x14
test eax, eax
jne 0x512cfa
push edi
push str.Short
push edi
push 0xf
push ebp
call fcn.00518570
add esp, 0x14
test eax, eax
jne 0x512cfa
push edi
push str.Long
push edi
push 9
push ebp
call fcn.00518570
add esp, 0x14
test eax, eax
jne 0x512cfa
push edi
push 0x725678
push edi
push 0x32
push ebp
call fcn.00518570
add esp, 0x14
test eax, eax
jne 0x512cfa
push edi
push 0x725720
push 1
push 0xf
push ebp
call fcn.00518570
add esp, 0x14
test eax, eax
jne 0x512cfa
mov edx, dword [esp + 0x18]
mov dword [edx], edi
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
ret