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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10027c6b
push eax
mov dword fs:[0], esp
sub esp, 0x160
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x17c]
test eax, eax
je 0x10023ee7
mov eax, dword [esi + 0x2bc]
test eax, eax
jg 0x10023ee7
mov eax, dword [esi + 8]
push eax
call dword [fcn.100282e4]
test eax, eax
je 0x10023ee7
lea ebx, [esi + 0x168]
push ebx
call dword [sym.imp.USER32.DLL_IsRectEmpty]
test eax, eax
jne 0x10023ee7
mov ecx, esi
call fcn.10022b70
mov edx, dword [esp + 0x178]
xor eax, eax
test edx, edx
sete al
test eax, eax
mov dword [esp + 0x30], eax
je 0x100239ef
mov ecx, dword [esi + 8]
push ecx
call fcn.10009b70
mov dword [esp + 0x178], eax
mov edx, dword [esi + 0x174]
mov ecx, dword [esi + 0x16c]
mov eax, dword [esi + 0x170]
push ebp
mov ebp, dword [ebx]
push edi
sub edx, ecx
mov ecx, dword [esp + 0x180]
push 0
sub eax, ebp
push edx
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.1000fbf0
mov edx, dword [esp + 0x14]
push 1
push edx
mov dword [esp + 0x180], 0
call dword [sym.imp.GDI32.DLL_SetBkMode]
mov eax, dword [0x1002cd98]
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.GDI32.DLL_SelectObject]
mov ecx, dword [eax + 0x9c]
push ecx
push edx
call edi
mov eax, dword [0x1002cd98]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
push ecx
push edx
call edi
mov eax, dword [0x1002cd98]
mov ecx, dword [eax + 0x1dc]
mov eax, dword [esi + 0x19c]
test eax, eax
mov edx, dword [ecx + 0xa0]
mov dword [esp + 0x10], edx
je 0x10023a9d
mov eax, dword [esi + 0x2b8]
test eax, eax
je 0x10023a93
mov eax, dword [0x1002d698]
mov dword [esp + 0x10], eax
jmp 0x10023a9d
mov ecx, dword [0x1002d69c]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, dword [sym.imp.GDI32.DLL_SetTextColor]
push edx
push eax
call ebp
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x10023aeb
mov ecx, dword [esi + 0x16c]
mov edx, dword [ebx]
mov edi, dword [esp + 0x180]
mov eax, dword [esp + 0x1c]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push edi
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.DLL_BitBlt]
jmp 0x10023b23
mov eax, dword [0x1002cd98]
mov edx, dword [eax + 0x1e8]
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x1c]
add edx, 0xd80
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push 0
push 0
push edx
call fcn.1000b6a0
mov edi, dword [esp + 0x19c]
add esp, 0x1c
mov eax, dword [esi + 0x17c]
push eax
call dword [sym.imp.USER32.DLL_GetMenuItemCount]
xor ebx, ebx
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x10023e3d
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x70]
lea edx, [esp + 0x40]
rep stosd dword es:[edi], eax
mov ecx, 0xc
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x17c]
push edx
push 0x400
lea ecx, [esp + 0x78]
push ebx
push eax
mov dword [esp + 0x50], 0x30
mov dword [esp + 0x54], 0x1e1
mov dword [esp + 0x78], 0x100
mov dword [esp + 0x74], ecx
call dword [sym.imp.USER32.DLL_GetMenuItemInfoA]
lea ecx, [esp + 0x28]
push ecx
push ebx
mov ecx, esi
call fcn.10024db0
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x10023ca2
test byte [esp + 0x4c], 3
jne 0x10023c51
cmp dword [esi + 0x184], ebx
jne 0x10023c6b
push 0xffffffffffffffff
lea edx, [esp + 0x2c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.DLL_InflateRect]
mov eax, dword [esi + 0x224]
cmp eax, 0xa
jne 0x10023c08
mov eax, dword [0x1002cd98]
mov ecx, dword [eax + 0x1dc]
mov eax, dword [esp + 0x14]
mov edx, dword [ecx + 0xa8]
push edx
push eax
call ebp
mov eax, dword [0x1002cd98]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x1e8]
push ecx
add edx, 0xe58
jmp 0x10023c3c
cmp eax, 9
jne 0x10023c6b
mov edx, dword [0x1002cd98]
mov eax, dword [edx + 0x1dc]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + 0xa4]
push ecx
push edx
call ebp
mov eax, dword [0x1002cd98]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x1e8]
push ecx
add edx, 0xe10
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push edx
push eax
push ecx
call fcn.1000b6e0
add esp, 0x10
jmp 0x10023c6b
mov edx, dword [0x1002cd98]
mov eax, dword [edx + 0x1dc]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + 0xac]
push ecx
push edx
call ebp
lea eax, [esp + 0x28]
push 0x25
push eax
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x1c]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x7c]
push ecx
push edx
call dword [sym.imp.USER32.DLL_DrawTextA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call ebp
jmp 0x10023e29
cmp eax, 1
jne 0x10023cf4
mov edx, dword [esp + 0x60]
mov ecx, esi
push edx
call fcn.10025c70
mov ecx, dword [esp + 0x34]
push 3
push 0
push 0
push 0x10
push 0x10
push eax
mov eax, dword [esp + 0x44]
add eax, ecx
mov ecx, dword [esp + 0x2c]
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
sar eax, 1
sub eax, 8
push eax
mov eax, dword [esp + 0x4c]
add eax, edx
cdq
sub eax, edx
sar eax, 1
sub eax, 8
push eax
push ecx
call dword [sym.imp.USER32.DLL_DrawIconEx]
jmp 0x10023e29
mov edi, dword [esi + 0x21c]
push 0
push 0x20
call dword [sym.imp.USER32.DLL_GetSystemMetrics]
mov ecx, dword [edi + 0x98]
mov edx, dword [edi + 0x50]
shl eax, 1
sub eax, ecx
sub eax, edx
lea edx, [esp + 0x2c]
push eax
push edx
call dword [fcn.1002829c]
mov eax, dword [esp + 0x6c]
cmp eax, 5
jne 0x10023d4a
cmp dword [esi + 0x184], ebx
jne 0x10023d43
mov edx, dword [esi + 0x224]
xor eax, eax
cmp edx, 0xa
sete al
add eax, 0x36
jmp 0x10023d9a
mov eax, 0x35
jmp 0x10023d9a
cmp eax, 2
jne 0x10023d71
cmp dword [esi + 0x184], ebx
jne 0x10023d6a
mov edx, dword [esi + 0x224]
xor eax, eax
cmp edx, 0xa
sete al
add eax, 0x3a
jmp 0x10023d9a
mov eax, 0x39
jmp 0x10023d9a
cmp eax, 3
jne 0x10023e29
cmp dword [esi + 0x184], ebx
jne 0x10023d95
mov edx, dword [esi + 0x224]
xor eax, eax
cmp edx, 0xa
sete al
add eax, 0x3e
jmp 0x10023d9a
mov eax, 0x3d
mov edi, dword [0x1002cd98]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x30]
mov edx, dword [edi + 0x1e8]
shl ecx, 3
mov ebp, dword [ecx + edx + 8]
mov edx, dword [esp + 0x28]
sub eax, ebp
add eax, edx
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x34]
sar ebp, 1
mov dword [esp + 0x28], ebp
mov edx, dword [edi + 0x1e8]
sub eax, dword [ecx + edx + 0xc]
mov edx, dword [esp + 0x2c]
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x2c], eax
mov edx, dword [edi + 0x1e8]
mov edx, dword [ecx + edx + 8]
add edx, ebp
mov dword [esp + 0x30], edx
mov edx, dword [edi + 0x1e8]
mov edx, dword [ecx + edx + 0xc]
add edx, eax
mov dword [esp + 0x34], edx
mov ebp, dword [edi + 0x1e8]
mov eax, dword [edi + 0x10]
mov edx, dword [esp + 0x14]
add ecx, ebp
push eax
push ecx
lea ecx, [esp + 0x30]
push ecx
push edx
call fcn.1000b6e0
mov ebp, dword [sym.imp.GDI32.DLL_SetTextColor]
add esp, 0x10
mov eax, dword [esp + 0x3c]
inc ebx
cmp ebx, eax
jl 0x10023b3e
mov edi, dword [esp + 0x180]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esi + 0x16c]
push ecx
mov ecx, dword [esi + 0x168]
push edx
push eax
push ecx
push edi
call dword [sym.imp.GDI32.DLL_BitBlt]
mov eax, dword [esi + 0x150]
test eax, eax
jne 0x10023ebf
mov eax, dword [esi + 0x21c]
test eax, eax
je 0x10023ebf
mov edx, dword [esi + 0x174]
mov ecx, dword [esi + 0x200]
cmp edx, ecx
jle 0x10023ebf
mov ecx, dword [esi + 0x2b8]
test ecx, ecx
mov ecx, dword [0x1002cd98]
mov edx, dword [ecx + 0x10]
push edx
je 0x10023ea9
add eax, 0xd8
jmp 0x10023eae
add eax, 0x1f8
push eax
lea eax, [esi + 0x1fc]
push eax
push edi
call fcn.1000b6e0
add esp, 0x10
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10023ed1
mov ecx, dword [esi + 8]
push edi
push ecx
call fcn.10009ba0
lea ecx, [esp + 0x14]
mov dword [esp + 0x178], 0xffffffff
call fcn.1000fc70
pop edi
pop ebp
mov ecx, dword [esp + 0x168]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x16c
ret 4