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

Disassembly:
push 0xffffffffffffffff
push 0x53d378
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x577830]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x577830]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0x94]
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x24], eax
xor ebx, ebx
mov eax, ecx
mov edi, edx
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x50b6b0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x68]
call fcn.004fee90
mov dword [esp + 0x88], ebx
mov eax, str.x_default
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x50b6e6
sub eax, edx
push eax
push str.x_default
lea ecx, [esp + 0x4c]
call fcn.004fee90
lea eax, [esp + 0x60]
call fcn.00503070
lea eax, [esp + 0x44]
call fcn.00503070
mov esi, 0x10
cmp dword [esp + 0x78], esi
jb 0x50b727
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x1c], ecx
jmp 0x50b72f
lea edx, [esp + 0x64]
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x5c], esi
jb 0x50b73f
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
jmp 0x50b747
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x88], 2
mov ecx, dword [esp + 0x24]
push edi
lea edx, [esp + 0x30]
call fcn.00501c00
add esp, 4
push ebx
push ebx
push ebx
lea edx, [esp + 0x38]
push edx
add ebp, 0x50
push ebp
call fcn.00502c20
add esp, 0x14
cmp eax, ebx
jne 0x50b7e7
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x50b7b7
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
push ecx
call fcn.00500810
mov edx, dword [esp + 0x34]
add esp, 4
push edx
call fcn.00511cfe
add esp, 4
mov esi, 0x10
mov byte [esp + 0x88], 0
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
jb 0x50b7de
mov eax, dword [esp + 0x48]
push eax
call fcn.00511cfe
add esp, 4
mov dword [esp + 0x58], ebx
jmp 0x50bc72
mov ecx, dword [eax + 0x48]
cmp ecx, ebx
lea ebp, [eax + 0x44]
jne 0x50b7f5
xor esi, esi
jmp 0x50b7fd
mov esi, dword [ebp + 8]
sub esi, ecx
sar esi, 2
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
mov dword [esp + 0x38], esi
call fcn.0050a570
add esp, 0x10
cmp al, 1
je 0x50b857
lea esi, [esp + 0x2c]
mov byte [esp + 0x88], 1
call fcn.004febd0
mov esi, 0x10
mov byte [esp + 0x88], 0
cmp dword [esp + 0x5c], esi
jb 0x50b7de
mov eax, dword [esp + 0x48]
push eax
call fcn.00511cfe
add esp, 4
mov dword [esp + 0x58], ebx
jmp 0x50bc72
xor edi, edi
cmp esi, ebx
jbe 0x50b896
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x50b878
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x50b87d
call fcn.005143e1
mov edx, dword [ebp + 4]
cmp dword [edx + edi*4], ebx
je 0x50b88e
add edi, 1
cmp edi, esi
jb 0x50b865
jmp 0x50b896
cmp edi, esi
mov dword [esp + 0x1c], edi
jb 0x50b8b7
mov eax, 7
mov dword [esp + 0x3c], eax
push 0x5725f8
lea eax, [esp + 0x40]
mov ecx, str.XMP_Enforce_failed:__itemIndex___arraySize__in_.xmp_toolkit_sourceXMPCoreXMPMeta_GetSet.cpp_at_line_1016
push eax
mov dword [esp + 0x48], ecx
call fcn.00513696
mov eax, dword [ebx + 0x58]
test eax, eax
mov byte [esp + 0x23], 0
je 0x50b9c0
mov ecx, dword [ebx + 0x5c]
sub ecx, eax
sar ecx, 2
je 0x50b9c0
test eax, eax
je 0x50b8e3
mov edx, dword [ebx + 0x5c]
sub edx, eax
sar edx, 2
jne 0x50b8e8
call fcn.005143e1
mov eax, dword [ebx + 0x58]
mov esi, dword [eax]
mov eax, dword [esi + 0x1c]
push 8
lea ecx, [esi + 8]
push str.xml:lang
push 0
call fcn.004fe8b0
test eax, eax
jne 0x50b9c0
push 9
push str.x_default
lea ecx, [esi + 0x24]
push eax
mov eax, dword [ecx + 0x14]
call fcn.004fe8b0
test eax, eax
jne 0x50b9c0
test edi, edi
mov byte [esp + 0x23], 1
je 0x50b9c0
mov eax, dword [ebp + 4]
test eax, eax
je 0x50b942
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
jne 0x50b947
call fcn.005143e1
mov edx, dword [ebp + 4]
mov eax, dword [edx]
mov ecx, edx
test ecx, ecx
mov dword [esp + 0x18], eax
je 0x50b962
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x50b967
call fcn.005143e1
mov esi, dword [ebp + 4]
lea eax, [edi*4]
add esi, eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 4]
test eax, eax
je 0x50b988
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
jne 0x50b98d
call fcn.005143e1
mov edx, dword [ebp + 4]
mov eax, dword [esi]
mov dword [edx], eax
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x50b9a7
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x50b9ac
call fcn.005143e1
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x18]
xor edi, edi
mov dword [eax + ecx], edx
mov dword [esp + 0x1c], edi
cmp byte [esp + 0x23], 0
mov dword [esp + 0x18], 0
je 0x50ba5d
mov esi, 1
cmp dword [esp + 0x28], esi
jbe 0x50baea
lea edi, [esi + 0xf]
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x50b9f8
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x50b9fd
call fcn.005143e1
mov ecx, dword [ebp + 4]
lea eax, [ecx + esi*4]
mov ecx, dword [eax]
mov eax, dword [ebx + 0x38]
add ecx, 0x24
cmp dword [ebx + 0x3c], edi
jb 0x50ba15
mov edx, dword [ebx + 0x28]
jmp 0x50ba18
lea edx, [ebx + 0x28]
push eax
mov eax, dword [ecx + 0x14]
push edx
push 0
call fcn.004fe8b0
test eax, eax
je 0x50ba36
add esi, 1
cmp esi, dword [esp + 0x28]
jb 0x50b9e5
jmp 0x50baea
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x50ba49
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x50ba4e
call fcn.005143e1
mov edx, dword [ebp + 4]
mov eax, dword [edx + esi*4]
mov dword [esp + 0x18], eax
jmp 0x50baea
test edi, edi
jbe 0x50bae6
mov eax, dword [ebp + 4]
test eax, eax
je 0x50ba76
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
jne 0x50ba7b
call fcn.005143e1
mov edx, dword [ebp + 4]
mov esi, dword [edx]
lea eax, [ebx + 0x24]
lea ecx, [esi + 0x24]
call fcn.00500480
test al, al
je 0x50bae6
mov eax, dword [esi + 0x58]
test eax, eax
je 0x50baa0
mov ecx, dword [esi + 0x5c]
sub ecx, eax
sar ecx, 2
jne 0x50baa5
call fcn.005143e1
mov edx, dword [esi + 0x58]
mov esi, dword [edx]
mov eax, dword [esi + 0x1c]
push 8
lea ecx, [esi + 8]
push str.xml:lang
push 0
call fcn.004fe8b0
test eax, eax
jne 0x50bae6
lea ecx, [esi + 0x24]
mov esi, str.x_default
call fcn.00500410
test al, al
je 0x50bae6
xor edi, edi
mov esi, ebp
call fcn.004fe230
mov eax, dword [eax]
mov dword [esp + 0x18], eax
xor esi, esi
jmp 0x50baea
mov esi, dword [esp + 0x3c]
mov ebx, dword [ebp + 4]
cmp ebx, dword [ebp + 8]
jbe 0x50baf7
call fcn.005143e1
cmp dword [esp + 0x18], 0
jne 0x50bb07
mov ecx, dword [esp + 0x1c]
lea esi, [ebx + ecx*4]
jmp 0x50bb47
mov edi, dword [esp + 0x1c]
cmp edi, esi
jae 0x50bb7b
lea esi, [ebx + esi*4]
cmp esi, dword [ebp + 8]
ja 0x50bb1c
cmp esi, dword [ebp + 4]
jae 0x50bb21
call fcn.005143e1
mov eax, dword [ebp + 8]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x50bb40
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.00537113
add esp, 0x10
add dword [ebp + 8], 0xfffffffc
lea esi, [ebx + edi*4]
cmp esi, dword [ebp + 8]
ja 0x50bb51
cmp esi, dword [ebp + 4]
jae 0x50bb56
call fcn.005143e1
mov eax, dword [ebp + 8]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x50bb75
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.00537113
add esp, 0x10
add dword [ebp + 8], 0xfffffffc
jmp 0x50bbec
mov edx, dword [esp + 0x1c]
lea edi, [ebx + edx*4]
cmp edi, dword [ebp + 8]
ja 0x50bb8c
cmp edi, dword [ebp + 4]
jae 0x50bb91
call fcn.005143e1
mov eax, dword [ebp + 8]
lea ecx, [edi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x50bbb0
add eax, eax
add eax, eax
push eax
push ecx
push eax
push edi
call fcn.00537113
add esp, 0x10
mov edi, 0xfffffffc
add dword [ebp + 8], edi
lea esi, [ebx + esi*4]
cmp esi, dword [ebp + 8]
ja 0x50bbc5
cmp esi, dword [ebp + 4]
jae 0x50bbca
call fcn.005143e1
mov eax, dword [ebp + 8]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x50bbe9
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.00537113
add esp, 0x10
add dword [ebp + 8], edi
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x50bbfc
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
cmp dword [esp + 0x18], 0
je 0x50bc0f
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x30]
test eax, eax
je 0x50bc3d
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
push ecx
call fcn.00500810
mov edx, dword [esp + 0x34]
add esp, 4
push edx
call fcn.00511cfe
add esp, 4
xor eax, eax
mov esi, 0x10
mov byte [esp + 0x88], al
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
jb 0x50bc6a
mov eax, dword [esp + 0x48]
push eax
call fcn.00511cfe
add esp, 4
mov dword [esp + 0x58], 0
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x78], esi
mov dword [esp + 0x5c], 0xf
mov byte [esp + 0x48], 0
jb 0x50bc9d
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00511cfe
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.005120db
add esp, 0x78
ret 8