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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [0x63a1e8]
mov ebx, ecx
xor eax, ebp
mov dword [esp + 0x70], eax
test byte [0x639b80], 0x19
jne 0x510f07
xor esi, esi
mov cl, 1
mov edi, dword [ebp + 8]
cmp byte [ebx + 0x68], 0
mov dword [esp + 8], ecx
je 0x510e3a
cmp dword [ebx + 0x50], 0
lea eax, [ebx + 0x80]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
jle 0x510e22
lea eax, [ebx + 0x8c]
xor esi, esi
mov dword [esp + 0x3c], eax
nop
mov ecx, dword [esp + 0x24]
call fcn.004e8b60
mov ecx, dword [ebx + 0x40]
movzx eax, al
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test eax, eax
je 0x510e22
mov byte [ebx + 0x68], 0
mov edi, eax
mov ecx, dword [ebx + 0x94]
call fcn.00551780
test byte [0x639a0c], 0x19
mov al, 1
mov dword [esp], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov al, 1
jne 0x510c9f
test byte [0x639838], 0x19
mov dword [esp + 0x18], eax
jne 0x510cf7
mov eax, dword [edi + 8]
mov dword [esp + 0xc], eax
mov eax, dword [0x63e3fc]
test eax, eax
je 0x510b90
mov eax, dword [0x63e3fc]
test eax, eax
jne 0x510dc3
mov eax, dword [edi + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [0x63e3fc]
test eax, eax
je 0x510bae
mov eax, dword [0x63e3fc]
cmp eax, 2
je 0x510dd8
mov ecx, dword [esp + 0x3c]
push edi
push str.SequenceManager_RunTask
call fcn.0048adc0
mov eax, dword [0x63e3fc]
test eax, eax
je 0x510bd4
mov eax, dword [0x63e3fc]
cmp eax, 2
je 0x510ded
mov eax, dword [0x63e3fc]
test eax, eax
je 0x510bea
mov eax, dword [0x63e3fc]
test eax, eax
jne 0x510e02
cmp byte [esp + 0x10], 0
jne 0x510c2f
mov eax, dword [esp]
cmp byte [eax], 0
je 0x510c2f
mov eax, dword [esp + 0x30]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x54], eax
sub esp, 0x10
movsd xmm0, qword [esp + 0x60]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], str.ThreadControllerImpl::RunTask
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.0049e5b0
add esp, 0x10
mov byte [ebx + 0x68], 1
mov ecx, dword [ebx + 0x40]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, ebx
mov bl, byte [ebx + 0x4c]
cmp byte [esp + 0x18], 0
jne 0x510c86
mov eax, dword [esp + 0x14]
cmp byte [eax], 0
je 0x510c86
mov eax, dword [esp + 0x38]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
sub esp, 0x10
movsd xmm0, qword [esp + 0x60]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], str.RunTask
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.0049e5b0
add esp, 0x10
test bl, bl
mov ebx, edi
jne 0x510e22
inc esi
cmp esi, dword [ebx + 0x50]
jl 0x510b10
jmp 0x510e22
call fcn.0047a2f0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x50]
push eax
call fcn.004984d0
add esp, 4
push 0
push 0
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x24]
push 0
push 0
push 0
push 0
push 0
push str.RunTask
push 0x639a0c
push 0x58
call fcn.0049e480
add esp, 0x30
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], 0x639a0c
jmp 0x510b62
mov eax, dword [edi + 4]
mov dword [esp + 0xc], ebx
mov ebx, dword [edi + 8]
mov dword [esp + 0x10], eax
call fcn.0047a2f0
mov dword [esp], eax
lea eax, [esp + 0x48]
push eax
call fcn.004984d0
add esp, 4
mov eax, dword [esp + 0x10]
mov word [esp + 0x50], 0x602
mov byte [esp + 0x52], 6
mov dword [esp + 0x54], str.src_file
mov dword [esp + 0x58], str.src_func
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], eax
push 0x8000
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
push dword [esp + 0xc]
push 0
push 0
push 0
push 0
push 0
push str.ThreadControllerImpl::RunTask
push 0x639838
push 0x58
call fcn.0049e480
add esp, 0x30
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x50]
mov dword [esp + 0x2c], edx
test al, al
je 0x510dab
xor ebx, ebx
jmp 0x510d8f
inc ebx
movzx ecx, al
cmp ebx, ecx
jae 0x510dab
cmp byte [esp + ebx + 0x51], 8
jne 0x510d87
mov ecx, dword [esp + ebx*8 + 0x60]
test ecx, ecx
je 0x510d87
mov eax, dword [ecx]
push 1
call dword [eax]
movzx eax, byte [esp + 0x50]
jmp 0x510d87
mov ebx, dword [esp + 0xc]
mov dword [esp], 0x639838
mov dword [esp + 0x10], 0
jmp 0x510b73
call fcn.004e2e20
mov ecx, eax
push dword [esp + 0xc]
call fcn.004e3230
jmp 0x510b90
call fcn.004e2e20
mov ecx, eax
push dword [esp + 0x20]
call fcn.004e3120
jmp 0x510bae
call fcn.004e2e20
mov ecx, eax
push dword [esp + 0x20]
call fcn.004e3210
jmp 0x510bd4
call fcn.004e2e20
mov ecx, eax
push dword [esp + 0xc]
call fcn.004e3320
cmp byte [esp + 0x10], 0
je 0x510bf1
jmp 0x510c2f
cmp byte [ebx + 0x4c], 0
je 0x510e59
mov edi, dword [ebp + 8]
mov dword [edi + 4], SysReAllocString
mov dword [edi], 0xffffffff
jmp 0x510e8b
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebx + 0x64]
mov eax, SysReAllocString
xor edx, eax
not ecx
or ecx, edx
jne 0x510e91
mov ecx, 0xffffffff
mov dword [edi + 4], eax
mov dword [edi], ecx
jmp 0x510eb1
lea ecx, [ebx + 0x78]
call fcn.00550c40
mov ecx, dword [esp + 0x24]
call fcn.004e8b60
mov ecx, dword [ebx + 0x40]
movzx eax, al
lea esi, [esp + 0x50]
mov edx, dword [ecx]
push eax
push dword [ebp + 0xc]
push esi
call dword [edx + 0xc]
mov edi, dword [ebp + 8]
movsd xmm0, qword [esp + 0x50]
movsd qword [edi], xmm0
mov esi, dword [esp + 0x1c]
jmp 0x510eb1
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x40]
push eax
call fcn.00516d60
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x64]
sub eax, dword [esp + 0x40]
sbb ecx, dword [esp + 0x44]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
test cl, cl
jne 0x510ef0
cmp byte [esi], 0
je 0x510ef0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
sub esp, 0x10
movsd xmm0, qword [esp + 0x60]
movsd qword [esp + 8], xmm0
mov dword [esp], esi
mov dword [esp + 4], str.ThreadControllerImpl::DoWork
call fcn.0049e5b0
add esp, 0x10
mov ecx, dword [esp + 0x70]
xor ecx, ebp
call fcn.005909f1
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.0047a2f0
lea esi, [esp + 0x50]
mov edi, eax
push esi
call fcn.004984d0
add esp, 4
push 0
push 0
push esi
push edi
push 0
push 0
push 0
push 0
push 0
push str.ThreadControllerImpl::DoWork
push 0x639b80
push 0x58
call fcn.0049e480
add esp, 0x30
mov esi, 0x639b80
xor ecx, ecx
mov dword [esp + 4], eax
mov dword [esp + 0x28], edx
jmp 0x510ada