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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x61dab0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov edi, dword [ebp + 8]
test edi, edi
je 0x458713
mov eax, edi
lea ecx, [esi + 4]
lea ebx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x458701
sub eax, ebx
push eax
push edi
call fcn.004014d0
lea eax, [esp + 0x10]
push eax
push esi
mov edi, 0x641d28
call fcn.00458620
xor edi, edi
mov dword [esp + 0x78], edi
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
push 1
lea edi, [esp + 0x20]
mov byte [esp + 0x7c], 1
call fcn.0045b000
mov edi, dword [0x6bd880]
lea ecx, [esp + 0x18]
push ecx
push esi
mov ebx, eax
call fcn.00458620
mov byte [esp + 0x78], 2
mov eax, dword [eax]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x1c]
mov ecx, ebx
call eax
mov edi, eax
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458795
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x4587c7
mov ecx, dword [0x6bd884]
mov edx, dword [ebx]
mov edx, dword [edx + 0x98]
lea eax, [esi + 0x24]
push eax
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [0x6bd888]
mov eax, dword [eax + 0x98]
lea ecx, [esi + 0x28]
push ecx
push edx
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00467c20
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call fcn.004797f0
push eax
call fcn.00479a10
xor eax, eax
cmp dword [esi + 0x38], eax
mov dword [esp + 0x18], eax
je 0x4587f4
mov dword [0x6a6e9c], eax
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4589fe
mov eax, dword [edi + 0x50]
lea ecx, [esp + 0x10]
call fcn.0048cd90
mov ebx, dword [0x6bd984]
test ebx, ebx
je 0x458899
test ebx, ebx
mov eax, ebx
je 0x458a33
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x20]
mov ebx, dword [ebx]
push eax
call fcn.005680eb
test eax, eax
je 0x458892
cmp dword [esi + 0x30], 0
je 0x45884a
mov ecx, edi
call fcn.00568b63
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx + 0x50]
jne 0x458892
cmp dword [edi + 0x574], 0
jne 0x458892
mov esi, dword [ebp + 0xc]
mov ecx, edi
call fcn.0047a3f0
test eax, eax
jne 0x45888e
mov edx, dword [edi]
mov eax, dword [esp + 0x10]
mov edx, dword [edx + 0x1b0]
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x19c]
mov ecx, edi
call edx
test eax, eax
je 0x45888e
mov dword [esp + 0x18], 1
mov esi, dword [esp + 0x14]
test ebx, ebx
jne 0x458819
mov edi, dword [ebp + 0xc]
mov ebx, dword [0x6be03c]
test ebx, ebx
je 0x458932
test ebx, ebx
mov eax, ebx
je 0x458a33
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x20]
mov ebx, dword [ebx]
push eax
call fcn.005680eb
test eax, eax
je 0x458927
cmp dword [esi + 0x30], 0
je 0x4588d8
mov ecx, edi
call fcn.00568b63
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx + 0x50]
jne 0x458927
push 0x6bd87c
lea edx, [esi + 4]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004049e0
add esp, 0xc
mov byte [esp + 0x78], 3
mov eax, dword [eax]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x174]
mov ecx, edi
call eax
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458927
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
jne 0x4588a7
mov edi, dword [ebp + 0xc]
call fcn.0047a280
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0047a6d0
lea ecx, [esp + 0x24]
call fcn.00588df4
push 0x20
mov dword [esp + 0x28], vtable.CBCGDockState.0
call fcn.0056572d
sub dword [esp + 0x50], eax
push 0x33
call fcn.0056572d
mov edi, dword [esp + 0x54]
push 0x21
sub edi, eax
call fcn.0056572d
sub edi, eax
mov dword [esp + 0x54], edi
push 0x6bd868
lea edx, [esi + 4]
push edx
lea eax, [esp + 0x1c]
mov bl, 4
push eax
mov byte [esp + 0x84], bl
call fcn.004049e0
add esp, 0xc
mov byte [esp + 0x78], 5
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x28]
call fcn.005898af
mov byte [esp + 0x78], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4589ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 0x2c], 0
jne 0x4589e0
mov ebx, dword [ebp + 0xc]
lea edi, [esp + 0x24]
call fcn.0047a410
test eax, eax
je 0x4589ed
mov ecx, dword [ebp + 0xc]
push ecx
lea ebx, [esp + 0x28]
call fcn.0047be70
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 1
call fcn.0058973b
mov edi, dword [ebp + 0xc]
cmp dword [0x6bceac], 0
je 0x458a11
mov edx, dword [esp + 0x10]
push edx
call fcn.0048b1f0
cmp dword [0x6bceb0], 0
je 0x458a24
mov eax, dword [esp + 0x10]
push eax
call fcn.0048c1e0
cmp dword [0x6bce0c], 0
je 0x458a46
test edi, edi
jne 0x458a38
jmp 0x458a3b
call fcn.0056c8bd
mov edi, dword [edi + 0x50]
mov ecx, dword [esp + 0x10]
push edi
push ecx
call fcn.00457970
cmp dword [0x6bce34], 0
je 0x458a59
mov edx, dword [esp + 0x10]
push edx
call fcn.0045b9c0
mov eax, dword [esi + 0x38]
test eax, eax
je 0x458a6a
mov dword [0x6a6e9c], 1
cmp dword [esi + 0x3c], 0
jne 0x458a7b
test eax, eax
je 0x458ac3
cmp dword [esp + 0x18], 0
je 0x458ac3
mov edi, dword [0x6bd984]
test edi, edi
je 0x458aad
test edi, edi
mov eax, edi
je 0x458a33
mov ebx, dword [eax + 8]
mov eax, dword [ebx + 0x20]
mov edi, dword [edi]
push eax
call fcn.005680eb
test eax, eax
je 0x458aa9
mov edx, dword [ebx]
mov eax, dword [edx + 0x170]
mov ecx, ebx
call eax
test edi, edi
jne 0x458a85
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x458ac3
mov ecx, dword [eax + 0x50]
mov edx, dword [ecx]
mov eax, dword [edx + 0x148]
push 1
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov byte [esp + 0x78], 0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov dword [esi + 0x24], 5
mov dword [esi + 0x28], 0x53
je 0x458af0
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458b18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8