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

Disassembly:
push 0xffffffffffffffff
push 0x23bd7600
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x23c68938]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x20], edi
mov esi, dword [esp + 0xa4]
mov ecx, esi
call fcn.23a35d12
test eax, eax
je 0x23ad7190
mov eax, dword [esi]
mov edx, dword [eax + 0x180]
mov ecx, esi
call edx
jmp 0x23ad719b
mov eax, dword [edi + 0x2c]
cmp eax, 0xffffffff
jne 0x23ad719b
mov eax, dword [edi + 0x28]
mov ebp, dword [esp + 0xa0]
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x30]
mov ecx, ebp
call eax
call fcn.23a36735
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x23ad71c9
push 0x80004005
call fcn.23a0ef50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov ecx, esi
mov dword [esp + 0x98], edi
mov dword [esp + 0x18], 0x120
call fcn.23a7de80
mov bl, al
mov ecx, esi
mov byte [esp + 0x17], bl
call fcn.23a35b94
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.23a7df60
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x48]
cmp eax, edi
je 0x23ad7217
push 7
jmp 0x23ad7222
movzx edx, bl
movzx eax, byte [edx + 0x23c0319c]
push eax
push ecx
mov ecx, dword [esp + 0x28]
push esi
push ebp
call fcn.23ad5680
mov edx, dword [esi]
mov edx, dword [edx + 0x17c]
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call edx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x9c], 1
call fcn.23a11600
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
or ebx, 0xffffffff
mov byte [esp + 0x98], 0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x23ad727b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x150]
mov ecx, esi
call eax
mov ecx, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], edi
call fcn.23a35b94
test al, al
jns 0x23ad72f2
mov ecx, dword [esi + 0x20]
push edi
push edi
push 0xf6
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x2c], eax
cmp eax, edi
jne 0x23ad72d0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x98], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jmp 0x23ad7808
lea ecx, [esp + 0x78]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x1c], edx
jmp 0x23ad7421
mov ecx, esi
call fcn.23a35b94
test al, 0x40
je 0x23ad7342
mov eax, dword [esi + 0x20]
push edi
push 1
push 0xf6
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x2c], eax
cmp eax, edi
jne 0x23ad7334
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x98], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jmp 0x23ad7808
mov ebx, 0x10
mov dword [esp + 0x1c], ebx
jmp 0x23ad7421
mov ebx, dword [esp + 0x24]
cmp dword [ebx - 0xc], edi
jne 0x23ad736b
lea eax, [ebx - 0x10]
mov dword [esp + 0x98], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x23ad7808
cmp dword [esi + 0xa0], edi
je 0x23ad73c0
mov ecx, dword [esi + 0x20]
push edi
push edi
push 0x31
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x9c]
push 0xffffffffffffffff
push eax
push ecx
call fcn.23ad3da0
mov edx, dword [esp + 0x60]
sub edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
mov eax, dword [esi + 0xa0]
push edx
push ecx
push eax
lea edx, [esp + 0x50]
push edx
call fcn.23ad3e10
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
add esp, 0x1c
jmp 0x23ad741d
mov ecx, esi
call fcn.23a35b94
test eax, 0x2000
je 0x23ad73d6
mov dword [esp + 0x18], 0x2110
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
sub eax, dword [esp + 0x48]
mov edx, dword [ebp]
mov edx, dword [edx + 0x68]
or ecx, 0x400
push ecx
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edi
mov eax, dword [ebx - 0xc]
push eax
push ebx
mov ecx, ebp
call edx
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
sub eax, dword [esp + 0x38]
sub ebx, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x5c]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
cmp dword [esp + 0x28], edi
je 0x23ad7468
mov ecx, esi
call fcn.23a35b94
test eax, 0x2000
jne 0x23ad7468
mov ebp, dword [esp + 0x20]
mov eax, dword [ebp + 0x90]
mov ecx, dword [ebp + 0x8c]
neg eax
push eax
neg ecx
push ecx
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.USER32.dll_InflateRect]
jmp 0x23ad746c
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov eax, ecx
and eax, 0x300
cmp eax, 0x100
je 0x23ad74cf
cmp eax, 0x200
je 0x23ad749f
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x1c]
add eax, dword [esp + 0x50]
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
or dword [esp + 0x18], 1
jmp 0x23ad74e5
cmp dword [esp + 0x28], edi
je 0x23ad74bc
mov eax, dword [ebp + 0x8c]
mov ebp, dword [esp + 0x50]
sub ebp, eax
sub ebp, dword [esp + 0x1c]
or dword [esp + 0x18], 2
jmp 0x23ad74e5
mov ebp, dword [esp + 0x50]
xor eax, eax
sub ebp, eax
sub ebp, dword [esp + 0x1c]
or dword [esp + 0x18], 2
jmp 0x23ad74e5
cmp dword [esp + 0x28], edi
je 0x23ad74dd
mov ebp, dword [ebp + 0x8c]
jmp 0x23ad74df
xor ebp, ebp
mov eax, dword [esp + 0x48]
add ebp, eax
and ecx, 0xc00
mov eax, ecx
cmp eax, 0x400
je 0x23ad7543
cmp eax, 0x800
je 0x23ad7513
mov eax, dword [esp + 0x4c]
sub eax, ebx
add eax, dword [esp + 0x54]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
or dword [esp + 0x18], 4
jmp 0x23ad755e
cmp dword [esp + 0x28], edi
je 0x23ad7532
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x90]
mov edi, dword [esp + 0x54]
sub edi, eax
sub edi, ebx
or dword [esp + 0x18], 8
jmp 0x23ad755e
mov edi, dword [esp + 0x54]
xor eax, eax
sub edi, eax
sub edi, ebx
or dword [esp + 0x18], 8
jmp 0x23ad755e
cmp dword [esp + 0x28], edi
je 0x23ad7555
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x90]
jmp 0x23ad7557
xor eax, eax
mov ecx, dword [esp + 0x4c]
lea edi, [eax + ecx]
mov al, byte [esp + 0x30]
test al, al
jns 0x23ad7574
mov edx, dword [esp + 0xa0]
mov eax, dword [edx + 4]
push 4
jmp 0x23ad7584
test al, 0x40
je 0x23ad75a3
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 4]
push 3
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
push ebx
push ecx
push edi
push ebp
push 0
push edx
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_DrawStateW]
jmp 0x23ad7698
cmp byte [esp + 0x17], 8
je 0x23ad7698
cmp dword [esi + 0xa0], 0
je 0x23ad7615
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetTextColor]
mov ecx, dword [esi + 0x9c]
push eax
push 0
push ecx
call fcn.23ad3da0
mov edx, dword [esp + 0x28]
lea eax, [edx + ebp]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 4]
lea edx, [esp + 0x44]
lea ecx, [edi + ebx]
push edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0xa0]
push eax
push ecx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], edi
call fcn.23ad3ec0
add esp, 0x18
jmp 0x23ad7698
mov ecx, esi
call fcn.23a35bae
test eax, 0x2000
je 0x23ad762b
or dword [esp + 0x18], 0x20000
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x129
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 2
mov eax, dword [esp + 0x18]
je 0x23ad764b
or eax, 0x100000
test dword [esp + 0x30], 0x2000
je 0x23ad7681
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + ebp]
or eax, 0x100
push eax
mov dword [esp + 0x44], edx
lea edx, [esp + 0x3c]
lea ecx, [edi + ebx]
push edx
lea eax, [esp + 0x2c]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], ecx
push eax
jmp 0x23ad768c
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, dword [esp + 0xac]
call fcn.23a687f0
mov eax, dword [esi + 0x20]
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jne 0x23ad77e9
cmp dword [esi + 0x8c], 0
je 0x23ad77e9
push 0
push 0
push 0x129
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 1
jne 0x23ad77e9
cmp dword [esp + 0x28], 0
jne 0x23ad7782
mov edx, dword [esi]
mov edx, dword [edx + 0x164]
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call edx
cmp byte [esp + 0x17], 8
mov esi, dword [eax]
mov dword [esp + 0x38], esi
mov ecx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x40], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x44], eax
jne 0x23ad7726
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
jmp 0x23ad77a3
mov edx, dword [esp + 0x20]
sub edi, dword [edx + 0x90]
cmp ecx, edi
jg 0x23ad7736
mov ecx, edi
mov edi, dword [edx + 0x94]
add edi, ecx
add ebx, edi
cmp eax, ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], eax
jl 0x23ad7750
mov dword [esp + 0x54], ebx
sub ebp, dword [edx + 0x8c]
cmp esi, ebp
jle 0x23ad775c
mov ebp, esi
mov edx, dword [edx + 0x98]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
add edx, ebp
add eax, edx
cmp ecx, eax
mov dword [esp + 0x48], ebp
jge 0x23ad777c
mov dword [esp + 0x50], ecx
jmp 0x23ad77a3
mov dword [esp + 0x50], eax
jmp 0x23ad77a3
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x90]
mov edx, dword [eax + 0x8c]
neg ecx
push ecx
neg edx
push edx
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
call fcn.23a64f40
push 0x12
mov ecx, eax
call fcn.23a64910
mov esi, dword [esp + 0xa0]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
call fcn.23a64f40
push 5
mov ecx, eax
call fcn.23a64910
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
mov esi, dword [esi + 4]
lea ecx, [esp + 0x48]
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x98], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x23ad7814
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 8