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

Disassembly:
push 0xffffffffffffffff
push 0x23bd8748
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0xd4]
mov eax, dword [ebp + 0xc]
push eax
call fcn.23a3270a
mov ecx, dword [ebp + 0x1c]
mov esi, eax
mov dword [esp + 0x14], ecx
push esi
lea ecx, [esp + 0x84]
mov dword [esp + 0x5c], esi
call fcn.23a675c0
lea edx, [esp + 0x80]
push edx
mov ecx, esi
call fcn.23a3869a
push esi
lea ecx, [esp + 0x24]
call fcn.23a67530
mov ecx, dword [ebp + 0x44]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x8c]
sub edi, eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
neg ecx
push ecx
neg eax
mov dword [esp + 0x60], edx
push eax
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x4c], ecx
mov ecx, ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], edx
call fcn.23b336a0
mov dword [esp + 0x1c], eax
add esi, eax
lea eax, [esp + 0x6c]
push eax
mov ecx, ebp
mov dword [esp + 0x70], 0
call fcn.23b33a30
mov ebp, dword [esp + 0x50]
test eax, eax
je 0x23afb9f9
sub ebp, dword [esp + 0x6c]
sub ebp, esi
dec ebp
jmp 0x23afb9fb
sub ebp, esi
test edi, edi
mov edi, dword [esp + 0xd0]
jle 0x23afba2c
cmp dword [esp + 0x14], 0
je 0x23afba12
mov eax, dword [ebx + 0x1c]
jmp 0x23afba15
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x20]
push eax
sub ecx, esi
push ecx
push 1
push esi
push edx
mov ecx, edi
call fcn.23a3979d
mov eax, dword [esp + 0x18]
cmp eax, 1
jle 0x23afba5a
cmp dword [esp + 0x14], 0
je 0x23afba41
mov eax, dword [ebx + 0x20]
jmp 0x23afba44
mov eax, dword [ebx + 0x30]
push eax
mov eax, dword [esp + 0x24]
push ebp
push 1
push esi
inc eax
push eax
mov ecx, edi
call fcn.23a3979d
mov eax, dword [esp + 0x18]
cmp eax, 2
jle 0x23afba86
cmp dword [esp + 0x14], 0
je 0x23afba6b
mov eax, dword [ebx + 0x24]
jmp 0x23afba6e
mov eax, dword [ebx + 0x34]
mov ecx, dword [esp + 0x20]
push eax
push ebp
push 1
add ecx, 2
push esi
push ecx
mov ecx, edi
call fcn.23a3979d
mov eax, dword [esp + 0x18]
cmp eax, 3
jle 0x23afbab4
cmp dword [esp + 0x14], 0
je 0x23afba97
mov ecx, dword [ebx + 0x28]
jmp 0x23afba9a
mov ecx, dword [ebx + 0x38]
mov edx, dword [esp + 0x20]
push ecx
push ebp
add eax, 0xfffffffd
push eax
push esi
add edx, 3
push edx
mov ecx, edi
call fcn.23a3979d
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x23afbae3
cmp dword [esp + 0x14], 0
je 0x23afbac4
mov eax, dword [ebx + 0x1c]
jmp 0x23afbac7
mov eax, dword [ebx + 0x2c]
push eax
mov eax, dword [esp + 0x54]
sub eax, esi
push eax
mov eax, dword [esp + 0x30]
push 1
push esi
dec eax
push eax
mov ecx, edi
call fcn.23a3979d
mov eax, dword [esp + 0x18]
cmp eax, 1
jle 0x23afbb0f
cmp dword [esp + 0x14], 0
je 0x23afbaf4
mov eax, dword [ebx + 0x20]
jmp 0x23afbaf7
mov eax, dword [ebx + 0x30]
mov ecx, dword [esp + 0x28]
push eax
push ebp
push 1
add ecx, 0xfffffffe
push esi
push ecx
mov ecx, edi
call fcn.23a3979d
mov eax, dword [esp + 0x18]
cmp eax, 2
jle 0x23afbb3b
cmp dword [esp + 0x14], 0
je 0x23afbb20
mov eax, dword [ebx + 0x24]
jmp 0x23afbb23
mov eax, dword [ebx + 0x34]
mov edx, dword [esp + 0x28]
push eax
push ebp
push 1
push esi
add edx, 0xfffffffd
push edx
mov ecx, edi
call fcn.23a3979d
mov eax, dword [esp + 0x18]
cmp eax, 3
jle 0x23afbb64
cmp dword [esp + 0x14], 0
je 0x23afbb4c
mov ecx, dword [ebx + 0x28]
jmp 0x23afbb4f
mov ecx, dword [ebx + 0x38]
mov edx, dword [esp + 0x28]
push ecx
push ebp
lea ecx, [eax - 3]
push ecx
push esi
sub edx, eax
push edx
mov ecx, edi
call fcn.23a3979d
mov esi, dword [esp + 0x14]
test esi, esi
je 0x23afbb86
mov ecx, dword [esp + 0x58]
call fcn.23a35b94
test eax, 0x1000000
je 0x23afbb81
mov eax, dword [ebx + 0x28]
jmp 0x23afbb89
mov eax, dword [ebx + 0x1c]
jmp 0x23afbb89
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x24]
push 1
sub ecx, eax
push ecx
dec edx
push edx
push eax
mov ecx, edi
call fcn.23a3979d
mov eax, dword [esp + 0x40]
cmp eax, 1
jle 0x23afbbdd
test esi, esi
je 0x23afbbb7
mov ecx, dword [ebx + 0x28]
jmp 0x23afbbba
mov ecx, dword [ebx + 0x38]
mov edx, dword [esp + 0x28]
push ecx
lea ecx, [eax - 1]
push ecx
mov ecx, dword [esp + 0x28]
sub edx, ecx
sub edx, 2
push edx
mov edx, dword [esp + 0x38]
sub edx, eax
inc ecx
push edx
push ecx
mov ecx, edi
call fcn.23a3979d
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], eax
call fcn.23b33560
test eax, eax
je 0x23afbf19
test edi, edi
je 0x23afbc1a
mov edi, dword [edi + 4]
lea ecx, [esp + 0x30]
push ecx
push edi
lea ecx, [esp + 0x98]
call fcn.23a68990
mov dword [esp + 0xc8], 0
mov eax, str._Grid__Border_BorderThickness0_0_0_1___Border.Background__LinearGradientBrush_StartPoint0_0_EndPoint0_1______GradientStop_Offset0_Colorx:Static_SystemColors.GradientActiveCaptionColor_______GradientStop_Offset0.2_Colorx:Static_SystemColors.ActiveCaptionColor_______GradientStop_Offset1.5_Colorx:Static_SystemColors.GradientActiveCaptionColor____LinearGradientBrush___Border.Background___Border__Border_BorderThickness1_CornerRadius5__5__0__0_BorderBrushx:Static_SystemColors.ActiveCaptionBrush_____Grid_
test esi, esi
jne 0x23afbc45
mov eax, str._Grid__Border_BorderThickness0_0_0_1___Border.Background__LinearGradientBrush_StartPoint0_0_EndPoint0_1______GradientStop_Offset0_Colorx:Static_SystemColors.GradientInactiveCaptionColor_______GradientStop_Offset0.2_Colorx:Static_SystemColors.InactiveCaptionColor_______GradientStop_Offset1.5_Colorx:Static_SystemColors.GradientInactiveCaptionColor____LinearGradientBrush___Border.Background___Border__Border_BorderThickness1_CornerRadius5__5__0__0_BorderBrushx:Static_SystemColors.InactiveCaptionBrush_____Grid_
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], edx
lea edx, [esp + 0xa4]
mov dword [eax + 0xc], ecx
push edx
mov ecx, ebx
call fcn.23afb8b0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x34]
sub ecx, 3
add eax, esi
mov dword [esp + 0x50], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x48], 7
mov dword [esp + 0x4c], eax
call fcn.23afb6f0
mov edi, eax
test edi, edi
je 0x23afbd70
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
mov ebp, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
lea ecx, [esi - 1]
sub eax, ecx
sub eax, ebp
dec eax
cdq
sub eax, edx
mov esi, eax
sar esi, 1
add esi, ecx
call fcn.23a68280
lea eax, [esp + 0x90]
push eax
call fcn.23a67c30
add esp, 4
mov dword [esp + 0x1c], eax
and eax, 1
mov dword [esp + 0x54], eax
je 0x23afbd2a
call fcn.23a68280
mov ecx, dword [esp + 0x1c]
or ecx, 8
push ecx
lea edx, [esp + 0x94]
push edx
call fcn.23a67c60
add esp, 8
mov eax, dword [esp + 0x94]
push 3
push 0
push 0
push ebp
mov ebp, dword [esp + 0x6c]
push ebp
push edi
push esi
push 7
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
cmp dword [esp + 0x54], 0
je 0x23afbd69
call fcn.23a68280
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x94]
push edx
call fcn.23a67c60
add esp, 8
add ebp, 0xc
mov dword [esp + 0x44], ebp
mov eax, dword [esp + 0xd4]
mov ebp, dword [eax + 0x2c]
mov eax, dword [ebp + 0x2c]
xor edi, edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x1c], edi
test eax, eax
jle 0x23afbebc
test edi, edi
jl 0x23afbdab
cmp edi, eax
jge 0x23afbdab
cmp edi, dword [ebp + 0x2c]
jge 0x23afbf14
mov ecx, dword [ebp + 0x28]
mov esi, dword [ecx + edi*4]
lea eax, [ecx + edi*4]
jmp 0x23afbdad
xor esi, esi
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
push 0
mov ecx, esi
call eax
test eax, eax
je 0x23afbeac
mov ecx, esi
call fcn.23aff200
test eax, eax
je 0x23afbddc
cmp dword [esp + 0x14], 0
je 0x23afbddc
mov eax, 1
jmp 0x23afbdde
xor eax, eax
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + 0x84]
mov edi, dword [ebx]
mov ebp, dword [esi + 0x44]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x60], edx
mov edx, dword [esi + 0x8c]
push eax
mov eax, dword [esi]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x78]
mov ecx, esi
add edi, 0xc
call edx
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x6c]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
push eax
push ebp
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x88]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov edx, dword [edi]
lea eax, [esp + 0xb0]
push eax
mov ecx, ebx
call edx
mov ecx, dword [esi + 0x84]
mov eax, dword [esi + 0x80]
cmp dword [esp + 0x4c], eax
mov edx, dword [esi + 0x88]
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0x8c]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
jl 0x23afbeac
mov edx, dword [esi + 0x84]
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x74], edx
mov edx, dword [esi + 0x8c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x2c]
inc edi
cmp edi, eax
mov dword [esp + 0x1c], edi
jl 0x23afbd8f
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x18]
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
push eax
mov eax, dword [esp + 0x5c]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x60]
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
lea eax, [esp + 0xa8]
push eax
mov ecx, ebx
call edx
lea ecx, [esp + 0x90]
mov dword [esp + 0xc8], 0xffffffff
call fcn.23a68ba0
jmp 0x23afbf8d
call fcn.23a2f00f
test esi, esi
mov esi, str._Grid__Border_BorderThickness0_0_0_1___Border.Background__LinearGradientBrush_StartPoint0_0_EndPoint0_1______GradientStop_Offset0_Colorx:Static_SystemColors.GradientActiveCaptionColor_______GradientStop_Offset0.2_Colorx:Static_SystemColors.ActiveCaptionColor_______GradientStop_Offset1.5_Colorx:Static_SystemColors.GradientActiveCaptionColor____LinearGradientBrush___Border.Background___Border__Border_BorderThickness1_CornerRadius5__5__0__0_BorderBrushx:Static_SystemColors.ActiveCaptionBrush_____Grid_
jne 0x23afbf27
mov esi, str._Grid__Border_BorderThickness0_0_0_1___Border.Background__LinearGradientBrush_StartPoint0_0_EndPoint0_1______GradientStop_Offset0_Colorx:Static_SystemColors.GradientInactiveCaptionColor_______GradientStop_Offset0.2_Colorx:Static_SystemColors.InactiveCaptionColor_______GradientStop_Offset1.5_Colorx:Static_SystemColors.GradientInactiveCaptionColor____LinearGradientBrush___Border.Background___Border__Border_BorderThickness1_CornerRadius5__5__0__0_BorderBrushx:Static_SystemColors.InactiveCaptionBrush_____Grid_
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add ecx, eax
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x5c]
add edx, ecx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x38]
sub edx, eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x70]
push ecx
mov ecx, edi
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
call fcn.23a38113
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push esi
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
push edi
mov ecx, ebx
call fcn.23afb8b0
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 8