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

Disassembly:
push 0xffffffffffffffff
push 0x625731
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
mov eax, dword [esp + 0x104]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov edi, ecx
cmp eax, ebp
mov dword [esp + 0x18], edi
je 0x5a00c5
mov byte [eax], 0
cmp dword [esp + 0x110], ebp
je 0x5a05f3
mov ebx, dword [esp + 0x10c]
mov eax, dword [edi + 0x84]
push 0xffffffffffffffff
push ebx
mov ecx, edi
mov dword [esp + 0x38], eax
call fcn.005ebb6f
push ebp
push ebp
push ebp
push ebx
call fcn.00571d70
add esp, 0x10
mov ecx, edi
push 0xffffffffffffffff
push eax
call fcn.005ebb6f
mov ecx, edi
mov dword [esp + 0x54], eax
call fcn.005dcd6b
cmp eax, 0xe81b
je 0x5a0120
cmp eax, 0xe81e
mov dword [esp + 0x10], ebp
jne 0x5a0128
mov dword [esp + 0x10], 1
mov edx, dword [ebx + 0x1c]
lea ecx, [esp + 0x74]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x74]
mov ecx, edi
push eax
call fcn.005e0f08
lea esi, [edi + 0x94]
mov dword [esp + 0x5c], ebp
push esi
mov dword [esp + 0x64], ebp
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x5a016b
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
sub eax, ecx
mov ecx, dword [esi + 8]
jmp 0x5a0193
mov ecx, edi
call fcn.005db2b7
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x64]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
sub eax, esi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
sub ecx, edx
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
je 0x5a01b7
mov eax, dword [esp + 0x78]
mov dword [esp + 0x38], eax
jmp 0x5a01bf
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x34], ecx
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x120]
mov ebp, dword [sym.imp.USER32.dll_OffsetRect]
mov dword [esp + 0x20], eax
test eax, eax
je 0x5a026c
lea esi, [eax + 4]
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x5a01fc
mov ecx, dword [ebx + 0x1c]
push esi
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
mov ecx, edi
call fcn.005e0f08
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x110]
mov edx, ebx
mov ecx, ebx
neg edx
sbb edx, edx
not edx
and edx, eax
neg ecx
sbb ecx, ecx
push edx
and ecx, eax
push ecx
push esi
call ebp
test ebx, ebx
je 0x5a0246
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ecx, dword [edx + 0xc]
cmp ecx, eax
jl 0x5a0239
sub eax, ecx
push 0
push eax
push esi
call ebp
mov eax, dword [esi]
test eax, eax
jge 0x5a026c
neg eax
push 0
push eax
jmp 0x5a0269
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x10]
cmp ecx, eax
jl 0x5a025d
sub eax, ecx
push eax
push 0
push esi
call ebp
mov eax, dword [ebx + 8]
test eax, eax
jge 0x5a026c
neg eax
push eax
push 0
push esi
call ebp
xor ecx, ecx
mov dword [esp + 0x3c], vtable.CArray_struct_CExtDockOuterBar::OuterLayoutItemData__struct_CExtDockOuterBar::OuterLayoutItemData_.0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ecx
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x30]
cmp ebx, eax
mov dword [esp + 0x104], ecx
jge 0x5a033c
mov edx, dword [edi + 0x80]
mov esi, dword [edx + ebx*4]
cmp esi, ecx
je 0x5a033c
mov edx, esi
shr edx, 0x10
je 0x5a032c
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push eax
push ecx
push esi
lea ecx, [esp + 0xd0]
call fcn.0059e470
cmp esi, dword [esp + 0x10c]
jne 0x5a0304
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x5a0304
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x110]
mov edx, eax
neg edx
sbb edx, edx
not edx
and edx, ecx
neg eax
sbb eax, eax
push edx
and eax, ecx
push eax
lea eax, [esp + 0xe4]
push eax
call ebp
sub esp, 0x38
lea edx, [esp + 0xfc]
mov dword [esp + 0x9c], esp
mov ecx, esp
push edx
call fcn.0059e3c0
lea ecx, [esp + 0x74]
call fcn.005a1770
mov eax, dword [esp + 0x30]
xor ecx, ecx
lea edx, [eax - 1]
cmp ebx, edx
je 0x5a033c
inc ebx
cmp ebx, eax
jl 0x5a029d
mov edx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x50], eax
mov byte [esp + 0x17], al
mov dword [esp + 0x94], eax
mov dword [esp + 0x68], edx
lea eax, [esp + 0x17]
lea edx, [esp + 0x50]
mov ecx, dword [esp + 0x18]
push eax
push edx
lea eax, [esp + 0x44]
lea edx, [esp + 0x9c]
mov esi, dword [ecx + 0x90]
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
mov ebx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x1c]
push edx
lea edx, [esp + 0x44]
push eax
push edx
lea eax, [esp + 0x40]
lea edx, [esp + 0x74]
push eax
push edx
call fcn.0059f300
mov eax, dword [esp + 0x18]
test esi, esi
mov dword [eax + 0x90], esi
je 0x5a03dd
mov dword [esp + 0x3c], vtable.CArray_struct_CExtDockOuterBar::OuterLayoutItemData__struct_CExtDockOuterBar::OuterLayoutItemData_.0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x104], 1
test eax, eax
je 0x5a05f3
jmp 0x5a05ea
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x5c], edi
mov esi, eax
push eax
mov dword [esp + 0x64], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], esi
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov ebx, 1
mov dword [esp + 0x94], eax
cmp esi, ebx
jle 0x5a0542
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5a0542
mov ebp, dword [esp + 0x40]
or edx, 0xffffffff
xor eax, eax
mov dword [esp + 0x24], edx
test esi, esi
jle 0x5a0460
mov edi, dword [esp + 0x10c]
mov ecx, ebp
cmp dword [ecx], edi
je 0x5a045a
inc eax
add ecx, 0x38
cmp eax, esi
jl 0x5a044c
jmp 0x5a0460
mov edx, eax
mov dword [esp + 0x24], edx
lea eax, [edx*8]
mov cl, 1
sub eax, edx
shl eax, 3
mov dword [esp + 0x64], eax
add eax, ebp
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x17]
test al, al
mov eax, dword [esp + 0x50]
je 0x5a0775
cmp eax, ebx
jne 0x5a06c1
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x5a06bb
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0x24]
mov esi, dword [eax + 0x1c]
mov ebp, dword [eax + 0x20]
mov edx, dword [eax + 0x18]
mov eax, dword [esp + 0x110]
sub edi, esi
sub ebp, edx
test eax, eax
mov eax, dword [esp + 0x10]
jle 0x5a062e
test eax, eax
je 0x5a04d2
mov edx, dword [esp + 0x1c]
mov esi, ebp
sub esi, dword [edx + 0x10]
jmp 0x5a04db
mov eax, dword [esp + 0x1c]
mov esi, edi
sub esi, dword [eax + 0x14]
mov eax, dword [esp + 0x110]
cmp esi, eax
jl 0x5a04e8
mov esi, eax
test esi, esi
jle 0x5a06bd
mov ebx, dword [esp + 0x20]
cmp dword [ebx], 1
je 0x5a050a
mov ecx, dword [esp + 0x10c]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0059e840
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5a060e
mov edx, dword [esp + 0x1c]
sub ebp, esi
mov eax, dword [edx + 8]
cmp ebp, eax
jle 0x5a0525
mov ebp, eax
cmp dword [ebx + 0x14], ebp
je 0x5a06c1
mov dword [ebx + 0x14], ebp
mov eax, dword [esp + 0x114]
test eax, eax
je 0x5a0542
mov dl, byte [esp + 0x17]
mov byte [eax], dl
mov edx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x40]
push 0
lea ecx, [esp + 0x9c]
push eax
push ecx
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x34]
push edx
call fcn.0059f300
mov eax, dword [esp + 0x94]
test eax, eax
je 0x5a0582
push eax
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
mov eax, dword [esp + 0x44]
xor edi, edi
test eax, eax
jle 0x5a05cf
mov ebx, dword [sym.imp.USER32.dll_RedrawWindow]
xor esi, esi
mov eax, dword [esp + 0x40]
test byte [esi + eax + 4], 1
je 0x5a05c3
mov eax, dword [esi + eax]
push eax
push 0x656a40
call fcn.005dda86
add esp, 8
test eax, eax
je 0x5a05c3
mov ecx, dword [eax + 0x1c]
push 0xb85
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x44]
inc edi
add esi, 0x38
cmp edi, eax
jl 0x5a0594
mov dword [esp + 0x3c], vtable.CArray_struct_CExtDockOuterBar::OuterLayoutItemData__struct_CExtDockOuterBar::OuterLayoutItemData_.0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x104], 2
test eax, eax
je 0x5a05f3
push eax
call fcn.005dd7a4
add esp, 4
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xf8
ret 0xc
mov eax, dword [esp + 0x1c]
sub edi, esi
mov eax, dword [eax + 0xc]
cmp edi, eax
jle 0x5a061d
mov edi, eax
cmp dword [ebx + 0x18], edi
je 0x5a06c1
mov dword [ebx + 0x18], edi
jmp 0x5a0531
test eax, eax
je 0x5a063d
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 8]
sub esi, ebp
jmp 0x5a0646
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 0xc]
sub esi, edi
mov eax, dword [esp + 0x110]
neg eax
cmp esi, eax
jl 0x5a0655
mov esi, eax
test esi, esi
jle 0x5a06bd
mov ebx, dword [esp + 0x20]
cmp dword [ebx], 1
je 0x5a0673
mov ecx, dword [esp + 0x10c]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0059e840
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5a069b
mov edx, dword [esp + 0x1c]
add esi, ebp
mov eax, dword [edx + 8]
cmp esi, eax
jle 0x5a068a
mov esi, eax
cmp dword [ebx + 0x14], esi
je 0x5a06c1
mov eax, dword [esp + 0x20]
mov dword [eax + 0x14], esi
jmp 0x5a0531
mov ecx, dword [esp + 0x1c]
add esi, edi
mov eax, dword [ecx + 0xc]
cmp esi, eax
jle 0x5a06aa
mov esi, eax
cmp dword [ebx + 0x18], esi
je 0x5a06c1
mov edx, dword [esp + 0x20]
mov dword [edx + 0x18], esi
jmp 0x5a0531
xor cl, cl
test cl, cl
je 0x5a06d2
mov ecx, dword [esp + 0x10c]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0059e840
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add edx, 4
lea ebp, [edi + 0x18]
mov eax, ebp
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x110]
test eax, eax
jle 0x5a091f
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
dec ecx
cmp eax, ecx
je 0x5a0542
mov edx, eax
mov ecx, dword [esp + 0x40]
lea edi, [edx + 1]
lea eax, [edi*8]
sub eax, edi
mov edx, dword [ecx + eax*8]
lea esi, [ecx + eax*8]
push edx
push 0x656a40
call fcn.005dda86
add esp, 8
test eax, eax
je 0x5a0542
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x120]
test eax, eax
je 0x5a0542
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x5a089c
mov eax, dword [eax + 4]
mov ebx, dword [esi + 0x18]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp]
jmp 0x5a08a8
cmp eax, ebx
jne 0x5a0531
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x110]
dec ecx
test edx, edx
lea esi, [eax + 1]
mov dword [esp + 0x54], ecx
jge 0x5a07a0
mov ecx, eax
xor esi, esi
mov dword [esp + 0x54], ecx
cmp esi, ecx
jg 0x5a0531
mov eax, dword [esp + 0x40]
lea edx, [esi*8]
sub edx, esi
test esi, esi
lea eax, [eax + edx*8]
lea ecx, [eax + 0x28]
mov edi, ecx
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov ebx, dword [edi + 8]
mov ebp, dword [edi + 0xc]
jne 0x5a07d8
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5a0805
mov eax, ecx
jmp 0x5a0807
add eax, 0xfffffff0
cmp dword [esp + 0x10], 0
mov edi, eax
mov eax, dword [edi]
mov dword [esp + 0xb4], eax
mov eax, dword [edi + 4]
mov dword [esp + 0xb8], eax
mov eax, dword [edi + 8]
mov edi, dword [edi + 0xc]
je 0x5a0803
sub ecx, eax
mov eax, ecx
jmp 0x5a0807
sub edx, edi
mov eax, edx
test eax, eax
jge 0x5a080d
xor eax, eax
mov ecx, dword [esp + 0x110]
test ecx, ecx
jge 0x5a082c
test eax, eax
jne 0x5a082a
mov edi, dword [esp + 0x54]
cmp esi, edi
je 0x5a06c1
jmp 0x5a088e
test ecx, ecx
jle 0x5a0836
test eax, eax
jg 0x5a0531
mov edi, dword [esp + 0x54]
cmp esi, edi
jne 0x5a088e
test ecx, ecx
jle 0x5a088e
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x84]
push ecx
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x5a0531
mov ecx, dword [esp + 0x90]
test ecx, ecx
jle 0x5a0531
mov edx, dword [esp + 0x10]
test edx, edx
je 0x5a0882
sub eax, ebx
jmp 0x5a0886
sub ecx, ebp
mov eax, ecx
test eax, eax
jle 0x5a06c1
inc esi
cmp esi, edi
jle 0x5a07a8
jmp 0x5a0531
mov eax, dword [eax + 8]
mov ebx, dword [esi + 0x1c]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 4]
sub ecx, edx
mov edx, ebx
sub edx, ecx
cmp edx, eax
jle 0x5a08cb
mov eax, dword [esp + 0x24]
push edi
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.005a09c0
jmp 0x5a0542
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5a08de
mov edx, dword [ebp]
mov eax, dword [esi + 0x20]
mov ebp, dword [esi + 0x18]
jmp 0x5a08eb
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x24]
mov ebp, dword [esi + 0x1c]
mov edx, dword [edx + 0x1c]
sub eax, ebp
sub eax, edx
mov edx, dword [esp + 0x110]
sub eax, ecx
sub eax, edx
lea eax, [eax + ebx - 1]
test eax, eax
jg 0x5a0542
mov ecx, dword [esp + 0x24]
push edi
lea edx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x20]
push edx
call fcn.005a09c0
jmp 0x5a0542
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x5a0542
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + eax - 0x38]
lea esi, [ecx + eax - 0x38]
push edx
push 0x656a40
call fcn.005dda86
add esp, 8
test eax, eax
je 0x5a0542
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x120]
test eax, eax
je 0x5a0542
mov edx, dword [esp + 0x10]
test edx, edx
je 0x5a0973
mov ecx, dword [ebp]
mov eax, dword [eax + 4]
jmp 0x5a0979
mov ecx, dword [edi + 0x1c]
mov eax, dword [eax + 8]
cmp ecx, eax
jg 0x5a0993
mov ecx, dword [esp + 0x18]
push ebx
dec ebx
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.005a09c0
jmp 0x5a0542
test edx, edx
je 0x5a099c
mov esi, dword [esi + 0x18]
jmp 0x5a099f
mov esi, dword [esi + 0x1c]
mov edx, dword [esp + 0x110]
sub ecx, esi
lea eax, [ecx + edx - 1]
test eax, eax
jg 0x5a0542
push ebx
dec ebx
push ebx
jmp 0x5a08b8