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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x674014]
xor eax, ebp
mov dword [esp + 0xa8], eax
mov dl, byte [0x6776bc]
test dl, 0x19
jne 0x515f91
mov esi, 0xffffffff
xor edi, edi
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x54], 0xffffffff
mov eax, dword [ecx + 0x70]
cmp byte [eax + 0x17d], 0
je 0x515d81
mov dword [esp + 0x50], edi
mov byte [esp + 0x33], dl
mov bl, byte [0x6776bc]
test bl, 0x19
mov dword [esp + 0x5c], esi
jne 0x515fe5
mov ecx, 0xffffffff
xor edi, edi
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x3c], 0xffffffff
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea esi, [eax + 0x78]
cmp byte [eax + 0x7c], 0
je 0x515631
mov byte [esp + 0x34], bl
mov ebx, edi
mov edi, ecx
mov ecx, dword [eax + 0x70]
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0055dfb0
sub esp, 0xc
mov ecx, edi
mov edi, ebx
mov bl, byte [esp + 0x34]
test bl, 0x19
je 0x51566c
cmp byte [edi], 0
je 0x51566c
mov eax, dword [esp + 0x38]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x94], eax
movq xmm0, qword [esp + 0x90]
movq qword [esp + 8], xmm0
mov dword [esp + 4], ecx
mov dword [esp], edi
call fcn.004d9760
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x70]
mov edi, dword [eax + 0x78]
call fcn.0055dff0
test al, al
mov ebx, dword [esp + 0x4c]
je 0x515694
test edi, edi
mov edx, dword [ebp + 0xc]
jne 0x5156bb
mov al, 1
mov dword [esp + 0x38], eax
jmp 0x5159fa
cmp dword [ebx + 0x50], 0
mov edx, dword [ebp + 0xc]
je 0x5156a7
mov dword [esp + 0x38], 0
jmp 0x5156ce
cmp dword [ebx + 0x220], 0
setne al
mov dword [esp + 0x38], eax
je 0x5156ce
test edi, edi
je 0x5156ce
mov dword [esp], edx
mov ecx, esi
call fcn.00564ae0
sub esp, 4
mov al, 1
mov dword [esp + 0x38], eax
test edi, edi
je 0x5159fa
mov eax, dword [ebp + 8]
cmp byte [eax + 0x7c], 0
je 0x5159fa
cmp dword [ebx + 0x50], 0
jne 0x5159fa
mov al, byte [0x6776bc]
mov byte [esp + 0x3c], al
test al, 0x19
jne 0x516113
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x34], 0
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x90], xmm0
mov dword [esp + 0xa0], 0xffffffff
mov esi, dword [ebx + 0x20c]
mov edi, dword [ebx + 0x210]
lea ecx, [esp + 0x90]
call fcn.004ba9e0
cmp esi, edi
je 0x51579c
lea eax, [ebx + 0x20c]
mov dword [esp + 0x98], eax
lea eax, [ebx + 0x218]
mov dword [esp], eax
lea ecx, [esp + 0x90]
call fcn.00510160
sub esp, 4
mov dword [esp + 0x9c], 0
cmp dword [ebx + 0x224], 0
je 0x5157bf
mov edx, dword [ebx + 0x210]
sub edx, dword [ebx + 0x20c]
sar edx, 2
jmp 0x5157c4
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
jmp 0x515805
mov edx, 0xffffffff
mov dword [esp + 0xa0], edx
mov eax, dword [esp + 0x98]
mov esi, dword [eax]
mov ecx, dword [eax + 4]
sub ecx, esi
sar ecx, 2
cmp ecx, edx
cmovae ecx, edx
test ecx, ecx
je 0x515805
cmp dword [esi], 0
jne 0x515805
mov edx, 1
mov dword [esp + 0x9c], edx
cmp ecx, edx
je 0x515805
mov esi, dword [eax]
cmp dword [esi + edx*4], 0
lea edx, [edx + 1]
je 0x5157ef
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x70], xmm0
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x70]
call fcn.004ba9e0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x98]
nop word cs:[eax + eax]
test eax, eax
je 0x515871
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
mov edx, dword [esp + 0xa0]
cmp ecx, edx
cmovae ecx, edx
cmp dword [esp + 0x9c], ecx
jne 0x5158a0
mov esi, dword [esp + 0x78]
test esi, esi
je 0x515979
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
sar ecx, 2
mov edx, dword [esp + 0x80]
cmp ecx, edx
cmovae ecx, edx
cmp dword [esp + 0x7c], ecx
jne 0x5158a4
jmp 0x515955
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x9c]
cmp eax, esi
jne 0x5158b9
cmp ecx, dword [esp + 0x7c]
je 0x51594f
mov eax, dword [eax]
mov ebx, dword [eax + ecx*4]
mov eax, dword [ebp + 8]
movups xmm4, xmmword [eax + 0x80]
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [section..00cfg]
movups xmmword [esp], xmm4
mov ecx, ebx
call esi
sub esp, 0x10
mov eax, dword [esp + 0x98]
test eax, eax
je 0x515850
mov ecx, dword [esp + 0x9c]
mov edi, dword [esp + 0xa0]
lea ebx, [ecx + 1]
mov dword [esp + 0x9c], ebx
mov esi, dword [eax]
mov edx, dword [eax + 4]
sub edx, esi
sar edx, 2
cmp edx, edi
cmovae edx, edi
cmp ebx, edx
jae 0x515850
cmp dword [esi + ecx*4 + 4], 0
jne 0x515850
add ecx, 2
nop dword [eax]
mov dword [esp + 0x9c], ecx
cmp edx, ecx
je 0x515850
mov esi, dword [eax]
cmp dword [esi + ecx*4], 0
lea ecx, [ecx + 1]
je 0x515930
jmp 0x515850
mov esi, eax
test eax, eax
je 0x515979
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0xc]
je 0x515edf
cmp dword [esp + 0x78], 0
je 0x515979
mov dword [esp + 0x78], 0
lea ecx, [esp + 0x70]
call fcn.00510130
mov esi, dword [esp + 0x98]
test esi, esi
je 0x5159b1
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0xc]
je 0x515ec1
cmp dword [esp + 0x98], 0
je 0x5159b1
mov dword [esp + 0x98], 0
lea ecx, [esp + 0x90]
call fcn.00510130
test byte [esp + 0x3c], 0x19
mov ecx, dword [esp + 0x34]
je 0x5159f6
cmp byte [ecx], 0
je 0x5159f6
mov eax, dword [esp + 0x44]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x94], eax
movq xmm0, qword [esp + 0x90]
movq qword [esp + 8], xmm0
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.004d9760
mov ebx, dword [esp + 0x4c]
mov al, byte [0x6776bc]
mov byte [esp + 0x3c], al
test al, 0x19
jne 0x516032
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x34], 0
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x90], xmm0
mov dword [esp + 0xa0], 0xffffffff
mov esi, dword [ebx + 0x1f0]
mov edi, dword [ebx + 0x1f4]
lea ecx, [esp + 0x90]
call fcn.004ba9e0
cmp esi, edi
je 0x515aa9
lea eax, [ebx + 0x1f0]
mov dword [esp + 0x98], eax
lea eax, [ebx + 0x1fc]
mov dword [esp], eax
lea ecx, [esp + 0x90]
call fcn.00510160
sub esp, 4
mov dword [esp + 0x9c], 0
cmp dword [ebx + 0x208], 0
je 0x515acc
mov edx, dword [ebx + 0x1f4]
sub edx, dword [ebx + 0x1f0]
sar edx, 2
jmp 0x515ad1
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
jmp 0x515b16
mov edx, 0xffffffff
mov dword [esp + 0xa0], edx
mov eax, dword [esp + 0x98]
mov esi, dword [eax]
mov ecx, dword [eax + 4]
sub ecx, esi
sar ecx, 2
cmp ecx, edx
cmovae ecx, edx
test ecx, ecx
je 0x515b16
cmp dword [esi], 0
jne 0x515b16
mov edx, 1
nop dword [eax]
mov dword [esp + 0x9c], edx
cmp ecx, edx
je 0x515b16
mov esi, dword [eax]
cmp dword [esi + edx*4], 0
lea edx, [edx + 1]
je 0x515b00
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x70], xmm0
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x70]
call fcn.004ba9e0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x98]
nop word cs:[eax + eax]
test eax, eax
je 0x515b81
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
mov edx, dword [esp + 0xa0]
cmp ecx, edx
cmovae ecx, edx
cmp dword [esp + 0x9c], ecx
jne 0x515bb0
mov edi, dword [esp + 0x78]
test edi, edi
je 0x515c89
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
sar ecx, 2
mov edx, dword [esp + 0x80]
cmp ecx, edx
cmovae ecx, edx
cmp dword [esp + 0x7c], ecx
jne 0x515bb4
jmp 0x515c65
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x9c]
cmp eax, edi
jne 0x515bc9
cmp ecx, dword [esp + 0x7c]
je 0x515c5f
mov eax, dword [eax]
mov ebx, dword [eax + ecx*4]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov ecx, ebx
call edi
sub esp, 4
mov eax, dword [esp + 0x98]
test eax, eax
je 0x515b60
mov ecx, dword [esp + 0x9c]
mov edi, dword [esp + 0xa0]
lea ebx, [ecx + 1]
mov dword [esp + 0x9c], ebx
mov esi, dword [eax]
mov edx, dword [eax + 4]
sub edx, esi
sar edx, 2
cmp edx, edi
cmovae edx, edi
cmp ebx, edx
jae 0x515b60
cmp dword [esi + ecx*4 + 4], 0
jne 0x515b60
add ecx, 2
nop word cs:[eax + eax]
mov dword [esp + 0x9c], ecx
cmp edx, ecx
je 0x515b60
mov esi, dword [eax]
cmp dword [esi + ecx*4], 0
lea ecx, [ecx + 1]
je 0x515c40
jmp 0x515b60
mov edi, eax
test eax, eax
je 0x515c89
mov eax, dword [edi + 0x10]
cmp eax, dword [edi + 0xc]
je 0x515e01
cmp dword [esp + 0x78], 0
je 0x515c89
mov dword [esp + 0x78], 0
lea ecx, [esp + 0x70]
call fcn.00510130
mov edi, dword [esp + 0x98]
test edi, edi
je 0x515cc1
mov eax, dword [edi + 0x10]
cmp eax, dword [edi + 0xc]
je 0x515dd4
cmp dword [esp + 0x98], 0
je 0x515cc1
mov dword [esp + 0x98], 0
lea ecx, [esp + 0x90]
call fcn.00510130
test byte [esp + 0x3c], 0x19
mov eax, dword [esp + 0x34]
je 0x515d06
cmp byte [eax], 0
je 0x515d06
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x94], ecx
movq xmm0, qword [esp + 0x90]
movq qword [esp + 8], xmm0
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004d9760
test byte [0x6776bc], 0x19
jne 0x516085
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x70]
mov dword [esp], ebx
call fcn.0055cff0
sub esp, 4
cmp byte [ebx + 0x7c], 0
sete al
mov ecx, dword [esp + 0x38]
xor cl, 1
or cl, al
mov dl, byte [esp + 0x33]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x50]
jne 0x515d81
mov eax, dword [ebx + 0x88]
sub eax, dword [ebx + 0x80]
mov ecx, dword [ebx + 0x8c]
sbb ecx, dword [ebx + 0x84]
cmp eax, 0xc351
mov edx, ecx
sbb edx, 0
mov dl, byte [esp + 0x33]
jl 0x515d81
mov ebx, dword [esp + 0x4c]
cmp dword [ebx + 0x50], 0
jne 0x515d81
test byte [0x676d80], 0x19
jne 0x516166
test dl, 0x19
je 0x515dbc
cmp byte [edi], 0
je 0x515dbc
mov eax, dword [esp + 0x58]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x94], eax
movq xmm0, qword [esp + 0x90]
movq qword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.004d9760
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.005dd6f3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ebx, dword [edi]
mov eax, dword [edi + 4]
cmp ebx, eax
je 0x515ca0
nop word cs:[eax + eax]
cmp dword [ebx], 0
je 0x515e21
add ebx, 4
cmp ebx, eax
jne 0x515df0
jmp 0x515ca0
mov ebx, dword [edi]
mov eax, dword [edi + 4]
cmp ebx, eax
je 0x515c71
nop
cmp dword [ebx], 0
je 0x515e71
add ebx, 4
cmp ebx, eax
jne 0x515e10
jmp 0x515c71
cmp ebx, eax
je 0x515e44
lea ecx, [ebx + 4]
jmp 0x515e33
add ecx, 4
cmp ecx, eax
je 0x515e44
mov edx, dword [ecx]
test edx, edx
je 0x515e30
mov dword [ebx], edx
add ebx, 4
jmp 0x515e30
cmp ebx, eax
je 0x515ca0
mov esi, dword [edi + 4]
sub eax, ebx
add eax, ebx
sub esi, eax
je 0x515e67
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.005df8f0
add ebx, esi
mov dword [edi + 4], ebx
jmp 0x515ca0
cmp ebx, eax
je 0x515e94
lea ecx, [ebx + 4]
jmp 0x515e83
add ecx, 4
cmp ecx, eax
je 0x515e94
mov edx, dword [ecx]
test edx, edx
je 0x515e80
mov dword [ebx], edx
add ebx, 4
jmp 0x515e80
cmp ebx, eax
je 0x515c71
mov esi, dword [edi + 4]
sub eax, ebx
add eax, ebx
sub esi, eax
je 0x515eb7
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.005df8f0
add ebx, esi
mov dword [edi + 4], ebx
jmp 0x515c71
mov ebx, dword [esi]
mov eax, dword [esi + 4]
cmp ebx, eax
je 0x515990
cmp dword [ebx], 0
je 0x515efd
add ebx, 4
cmp ebx, eax
jne 0x515ece
jmp 0x515990
mov ebx, dword [esi]
mov eax, dword [esi + 4]
cmp ebx, eax
je 0x515961
cmp dword [ebx], 0
je 0x515f47
add ebx, 4
cmp ebx, eax
jne 0x515eec
jmp 0x515961
cmp ebx, eax
je 0x515f1a
lea ecx, [ebx + 4]
jmp 0x515f09
add ecx, 4
cmp ecx, eax
je 0x515f1a
mov edx, dword [ecx]
test edx, edx
je 0x515f06
mov dword [ebx], edx
add ebx, 4
jmp 0x515f06
cmp ebx, eax
je 0x515990
mov edi, dword [esi + 4]
sub eax, ebx
add eax, ebx
sub edi, eax
je 0x515f3d
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.005df8f0
add ebx, edi
mov dword [esi + 4], ebx
jmp 0x515990
cmp ebx, eax
je 0x515f64
lea ecx, [ebx + 4]
jmp 0x515f53
add ecx, 4
cmp ecx, eax
je 0x515f64
mov edx, dword [ecx]
test edx, edx
je 0x515f50
mov dword [ebx], edx
add ebx, 4
jmp 0x515f50
cmp ebx, eax
je 0x515961
mov edi, dword [esi + 4]
sub eax, ebx
add eax, ebx
sub edi, eax
je 0x515f87
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.005df8f0
add ebx, edi
mov dword [esi + 4], ebx
jmp 0x515961
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.SequenceManagerImpl::NotifyDidProcessTaskObservers
mov dword [esp + 4], 0x6776bc
mov dword [esp], 0x58
mov esi, str.SequenceManagerImpl::NotifyDidProcessTaskObservers
mov edi, 0x6776bc
mov ebx, edx
call fcn.0046e7d0
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], edx
mov edx, ebx
mov ecx, dword [ebp + 8]
jmp 0x5155ba
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.SequenceManager.QueueOnTaskCompleted
mov dword [esp + 4], 0x6776bc
mov dword [esp], 0x58
mov edi, 0x6776bc
call fcn.0046e7d0
mov ecx, str.SequenceManager.QueueOnTaskCompleted
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
jmp 0x5155fc
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.SequenceManager.DidProcessTaskObservers
mov dword [esp + 4], 0x6776bc
mov dword [esp], 0x58
mov dword [esp + 0x34], 0x6776bc
mov dword [esp + 0x48], str.SequenceManager.DidProcessTaskObservers
call fcn.0046e7d0
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edx
jmp 0x515a2b
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.SequenceManager.QueueNotifyDidProcessTask
mov dword [esp + 4], 0x6776bc
mov dword [esp], 0x58
call fcn.0046e7d0
mov esi, eax
mov edi, edx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x70]
mov dword [esp], ebx
call fcn.0055cff0
sub esp, 4
cmp byte [0x6776bc], 0
je 0x515d24
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], edi
movq xmm0, qword [esp + 0x90]
movq qword [esp + 8], xmm0
mov dword [esp + 4], str.SequenceManager.QueueNotifyDidProcessTask
mov dword [esp], 0x6776bc
call fcn.004d9760
jmp 0x515d24
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.SequenceManager.DidProcessTaskTimeObservers
mov dword [esp + 4], 0x6776bc
mov dword [esp], 0x58
mov dword [esp + 0x48], str.SequenceManager.DidProcessTaskTimeObservers
mov dword [esp + 0x34], 0x6776bc
call fcn.0046e7d0
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edx
jmp 0x51571e
mov edi, esi
mov edx, eax
add edx, 1
mov esi, ecx
adc esi, 0x80000000
cmp edx, 2
sbb esi, 0
jae 0x516187
movsd xmm0, qword [0x624b70]
jmp 0x5161af
movd xmm0, eax
movd xmm1, ecx
punpckldq xmm0, xmm1
movq qword [esp + 0x68], xmm0
fild qword [esp + 0x68]
fstp qword [esp + 0x60]
movsd xmm0, qword [esp + 0x60]
divsd xmm0, qword [0x625d00]
movsd qword [esp + 0x90], xmm0
lea eax, [esp + 0x90]
mov dword [esp + 0x28], eax
movdqa xmm0, xmmword [0x6252d0]
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x24], str.duration
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.LongTask
mov dword [esp + 4], 0x676d80
mov dword [esp], 0x49
call fcn.00516990
mov dl, byte [esp + 0x33]
mov esi, edi
mov edi, dword [esp + 0x50]
test dl, 0x19
jne 0x515d86
jmp 0x515dbc