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

Disassembly:
push 0xffffffffffffffff
push 0x670318
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x6d7160]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d7160]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x18], eax
xor ebx, ebx
mov eax, ecx
mov edi, edx
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x5a88a0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.005a9680
mov dword [esp + 0x80], ebx
mov eax, str.x_default
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5a88d6
sub eax, edx
push eax
push str.x_default
lea ecx, [esp + 0x44]
call fcn.005a9680
lea eax, [esp + 0x58]
call fcn.005ac2e0
lea eax, [esp + 0x3c]
call fcn.005ac2e0
mov eax, 0x10
cmp dword [esp + 0x70], eax
jb 0x5a8917
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x20], ecx
jmp 0x5a891f
lea edx, [esp + 0x5c]
mov dword [esp + 0x20], edx
cmp dword [esp + 0x54], eax
mov esi, dword [esp + 0x40]
jae 0x5a892d
lea esi, [esp + 0x40]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x18]
push edi
lea edx, [esp + 0x30]
mov byte [esp + 0x84], 2
call fcn.005aadf0
add esp, 4
push ebx
push ebx
push ebx
lea eax, [esp + 0x38]
push eax
add ebp, 0x50
push ebp
call fcn.005abe80
add esp, 0x14
cmp eax, ebx
jne 0x5a89dc
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x5a8998
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
push ecx
call fcn.005a9c30
mov edx, dword [esp + 0x34]
add esp, 4
push edx
call fcn.00607c35
add esp, 4
mov esi, 0x10
mov byte [esp + 0x80], 0
cmp dword [esp + 0x54], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
jb 0x5a89c4
mov eax, dword [esp + 0x40]
push eax
call fcn.00607c35
add esp, 4
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x70], esi
mov dword [esp + 0x50], ebx
jmp 0x5a8eba
mov edx, dword [eax + 0x48]
cmp edx, ebx
lea ebp, [eax + 0x44]
jne 0x5a89ec
mov dword [esp + 0x18], ebx
jmp 0x5a89f8
mov ecx, dword [ebp + 8]
sub ecx, edx
sar ecx, 2
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
push esi
push ecx
push eax
call fcn.005a7720
add esp, 0x10
cmp al, 1
je 0x5a8a71
lea esi, [esp + 0x2c]
mov byte [esp + 0x80], 1
call fcn.005a9640
mov esi, 0x10
mov byte [esp + 0x80], 0
cmp dword [esp + 0x54], esi
jb 0x5a8a41
mov edx, dword [esp + 0x40]
push edx
call fcn.00607c35
add esp, 4
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x70], esi
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], 0
jb 0x5a8ed6
mov eax, dword [esp + 0x5c]
push eax
jmp 0x5a8ece
xor esi, esi
cmp dword [esp + 0x18], ebx
jbe 0x5a8ab5
mov edi, dword [esp + 0x28]
lea ecx, [ecx]
mov ecx, dword [ebp + 4]
cmp ecx, ebx
je 0x5a8a93
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x5a8a98
call fcn.0060b331
mov ecx, dword [ebp + 4]
cmp dword [ecx + esi*4], edi
je 0x5a8aab
add esi, 1
cmp esi, dword [esp + 0x18]
jb 0x5a8a80
jmp 0x5a8ab5
cmp esi, dword [esp + 0x18]
mov dword [esp + 0x1c], esi
jb 0x5a8ad6
push 0x6cf9d8
lea edx, [esp + 0x24]
mov eax, 7
mov ecx, str.XMP_Enforce_failed:__itemIndex___arraySize__in_._sourceXMPCoreXMPMeta_GetSet.cpp_at_line_1016
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
call fcn.0060ac26
mov eax, dword [edi + 0x58]
cmp eax, ebx
mov byte [esp + 0x17], 0
je 0x5a8be7
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x5c]
sub edx, eax
sar edx, 2
je 0x5a8be7
mov eax, dword [ecx + 0x58]
test eax, eax
je 0x5a8b09
mov ecx, dword [ecx + 0x5c]
sub ecx, eax
sar ecx, 2
jne 0x5a8b0e
call fcn.0060b331
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x58]
mov esi, dword [eax]
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 8]
push 8
push str.xml:lang
xor ebx, ebx
call fcn.005a9340
test eax, eax
jne 0x5a8be7
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x24]
push 9
push str.x_default
call fcn.005a9340
test eax, eax
jne 0x5a8be7
mov ebx, dword [esp + 0x1c]
test ebx, ebx
mov byte [esp + 0x17], 1
je 0x5a8be7
mov eax, dword [ebp + 4]
test eax, eax
je 0x5a8b6f
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
jne 0x5a8b74
call fcn.0060b331
mov edx, dword [ebp + 4]
mov eax, dword [edx]
mov ecx, edx
test ecx, ecx
mov dword [esp + 0x20], eax
je 0x5a8b8f
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x5a8b94
call fcn.0060b331
mov esi, dword [ebp + 4]
mov eax, dword [ebp + 4]
lea edi, [ebx*4]
add esi, edi
test eax, eax
je 0x5a8bb1
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
jne 0x5a8bb6
call fcn.0060b331
mov edx, dword [ebp + 4]
mov eax, dword [esi]
mov dword [edx], eax
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x5a8bd0
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x5a8bd5
call fcn.0060b331
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x20]
mov dword [edi + ecx], edx
mov dword [esp + 0x1c], 0
cmp byte [esp + 0x17], 0
mov dword [esp + 0x20], 0
je 0x5a8cb3
mov edi, 1
cmp dword [esp + 0x18], edi
jbe 0x5a8d5a
lea esp, [esp]
mov ecx, dword [ebp + 4]
test ecx, ecx
mov esi, dword [esp + 0x28]
je 0x5a8c27
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x5a8c2c
call fcn.0060b331
mov eax, dword [ebp + 4]
mov edx, dword [eax + edi*4]
mov ebx, dword [esi + 0x38]
lea eax, [eax + edi*4]
add edx, 0x24
cmp dword [esi + 0x3c], 0x10
jb 0x5a8c46
mov ecx, dword [esi + 0x28]
jmp 0x5a8c49
lea ecx, [esi + 0x28]
mov esi, dword [edx + 0x14]
mov eax, esi
cmp eax, esi
jae 0x5a8c52
cmp esi, ebx
mov eax, esi
jb 0x5a8c5a
mov eax, ebx
cmp dword [edx + 0x18], 0x10
jb 0x5a8c65
mov edx, dword [edx + 4]
jmp 0x5a8c68
add edx, 4
call fcn.005a6dd0
test eax, eax
jne 0x5a8c7e
cmp esi, ebx
jb 0x5a8c7e
cmp esi, ebx
setne al
test eax, eax
je 0x5a8c8c
add edi, 1
cmp edi, dword [esp + 0x18]
jb 0x5a8c10
jmp 0x5a8d5a
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x5a8c9f
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x5a8ca4
call fcn.0060b331
mov ecx, dword [ebp + 4]
mov edx, dword [ecx + edi*4]
mov dword [esp + 0x20], edx
jmp 0x5a8d5a
cmp dword [esp + 0x1c], 0
jbe 0x5a8d56
mov eax, dword [ebp + 4]
test eax, eax
je 0x5a8ccf
mov ecx, dword [ebp + 8]
sub ecx, eax
sar ecx, 2
jne 0x5a8cd4
call fcn.0060b331
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x3c], 0x10
mov esi, dword [edx]
mov edx, dword [eax + 0x38]
lea ecx, [esi + 0x24]
jb 0x5a8cee
mov eax, dword [eax + 0x28]
jmp 0x5a8cf1
add eax, 0x28
push edx
push eax
mov eax, dword [ecx + 0x14]
xor ebx, ebx
call fcn.005a9340
test eax, eax
jne 0x5a8d56
mov eax, dword [esi + 0x58]
test eax, eax
je 0x5a8d12
mov ecx, dword [esi + 0x5c]
sub ecx, eax
sar ecx, 2
jne 0x5a8d17
call fcn.0060b331
mov edx, dword [esi + 0x58]
mov esi, dword [edx]
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 8]
push 8
push str.xml:lang
xor ebx, ebx
call fcn.005a9340
test eax, eax
jne 0x5a8d56
lea ecx, [esi + 0x24]
mov esi, str.x_default
call fcn.005a9a80
test al, al
je 0x5a8d56
xor edi, edi
mov esi, ebp
call fcn.005a90b0
mov eax, dword [eax]
mov dword [esp + 0x20], eax
jmp 0x5a8d5a
mov edi, dword [esp + 0x20]
mov ebx, dword [ebp + 4]
cmp ebx, dword [ebp + 8]
jbe 0x5a8d67
call fcn.0060b331
cmp dword [esp + 0x20], 0
jne 0x5a8d77
mov ecx, dword [esp + 0x1c]
lea esi, [ebx + ecx*4]
jmp 0x5a8df3
cmp dword [esp + 0x1c], edi
jae 0x5a8db7
lea esi, [ebx + edi*4]
cmp esi, dword [ebp + 8]
ja 0x5a8d8a
cmp esi, dword [ebp + 4]
jae 0x5a8d8f
call fcn.0060b331
mov eax, dword [ebp + 8]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x5a8dae
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.0066755f
add esp, 0x10
mov edx, dword [esp + 0x1c]
lea esi, [ebx + edx*4]
jmp 0x5a8def
mov eax, dword [esp + 0x1c]
lea esi, [ebx + eax*4]
cmp esi, dword [ebp + 8]
ja 0x5a8dc8
cmp esi, dword [ebp + 4]
jae 0x5a8dcd
call fcn.0060b331
mov eax, dword [ebp + 8]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x5a8dec
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.0066755f
add esp, 0x10
lea esi, [ebx + edi*4]
add dword [ebp + 8], 0xfffffffc
cmp esi, dword [ebp + 8]
ja 0x5a8dfd
cmp esi, dword [ebp + 4]
jae 0x5a8e02
call fcn.0060b331
mov eax, dword [ebp + 8]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x5a8e21
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call fcn.0066755f
add esp, 0x10
add dword [ebp + 8], 0xfffffffc
cmp dword [esp + 0x28], 0
je 0x5a8e38
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp dword [esp + 0x20], 0
je 0x5a8e4b
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5a8e79
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
push ecx
call fcn.005a9c30
mov edx, dword [esp + 0x34]
add esp, 4
push edx
call fcn.00607c35
add esp, 4
xor eax, eax
mov byte [esp + 0x80], al
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
jb 0x5a8ea2
mov eax, dword [esp + 0x40]
push eax
call fcn.00607c35
add esp, 4
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
mov dword [esp + 0x54], 0xf
jb 0x5a8ed6
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00607c35
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00607d6d
add esp, 0x70
ret 8