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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4b761b
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
mov eax, dword [0x4e50cc]
xor eax, esp
mov dword [esp + 0x1e4], eax
push esi
push edi
mov eax, dword [0x4e50cc]
xor eax, esp
push eax
lea eax, [esp + 0x1f8]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov edi, dword [ebp + 8]
push 0x20
mov dword [esp + 0x24], edi
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x30], eax
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x440ae0
lea ecx, [edi + 0x1c]
push ecx
push dword [edi + 0x18]
mov ecx, eax
call fcn.00441230
jmp 0x440ae2
xor eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x200], 0
movdqu xmm0, xmmword [edi + 0x1c]
mov esi, dword [edi + 0x14]
movdqa xmmword [esp + 0x74], xmm0
mov eax, dword [edi + 0x10]
mov ecx, eax
and ecx, 2
and eax, 1
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x440b24
mov dword [esp + 0x10], 1
test eax, eax
jne 0x440b2c
mov dword [esp + 0x10], 0
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xfe
lea edi, [eax + 0xa]
xor eax, eax
push eax
mov word [esp + 0xf4], ax
lea eax, [esp + 0xf6]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x44]
push 0x30
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x44], 0x30
lea eax, [esp + 0xec]
mov dword [esp + 0x48], 0x3f
mov dword [esp + 0x68], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x6c], 0x80
push eax
mov eax, dword [esp + 0x24]
push 0
push dword [eax + 8]
push esi
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
movdqa xmm1, xmmword [esp + 0x74]
movdqa xmm0, xmm1
movd eax, xmm1
psrldq xmm0, 4
movd dword [esp + 0x98], xmm0
movdqa xmm0, xmm1
psrldq xmm0, 0xc
movd dword [esp + 0xa0], xmm0
movdqa xmm0, xmm1
mov dword [esp + 0x94], eax
add eax, edi
psrldq xmm0, 8
movd ecx, xmm0
mov dword [esp + 0x9c], eax
add eax, 0xfffffff6
movdqa xmmword [esp + 0x84], xmm1
sub ecx, edi
mov dword [esp + 0x84], eax
mov edi, dword [esp + 0x1c]
movdqa xmmword [esp + 0xd4], xmm1
mov dword [esp + 0xd4], ecx
lea eax, [ecx + 0xa]
mov dword [esp + 0x30], vtable.CFontDC.0
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x14]
add eax, 0x10
mov dword [esp + 0x38], edi
push eax
mov byte [esp + 0x44], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
mov dword [esp + 0x3c], eax
call esi
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x10], 0
mov byte [esp + 0x200], 2
je 0x440d4f
push 0xff8533
sub esp, 8
lea ecx, [esp + 0x80]
push edi
call fcn.0045b920
mov ecx, 0xfffdfd
call fcn.0045b530
mov ecx, eax
mov dword [esp + 0x18], eax
shr ecx, 8
mov edx, 0xff
mov dword [esp + 0x14], ecx
movzx ecx, cl
sub edx, ecx
shr eax, 0x10
mov dword [esp + 0x10], eax
mov eax, 0x51eb851f
imul ecx, edx, 0x46
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x14]
add dl, al
mov eax, dword [esp + 0x10]
movzx ecx, al
shl ecx, 8
movzx eax, dl
or ecx, eax
mov eax, dword [esp + 0x18]
shl ecx, 8
movzx eax, al
or ecx, eax
call fcn.0045b6f0
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push edi
mov dword [esp + 0x1c], eax
call esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], eax
push dword [esi + 0x28]
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x1c]
push edi
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x440d13
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x440d20
call fcn.0045b4a0
mov eax, dword [esp + 0x80]
test eax, eax
je 0x440d39
push eax
push dword [esp + 0x80]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x440e7e
call fcn.0045b4a0
jmp 0x440e7e
mov ecx, 0xffffff
call fcn.0045b530
mov ecx, eax
mov dword [esp + 0x10], eax
shr eax, 0x10
mov dword [esp + 0x14], eax
mov eax, 0xff
shr ecx, 8
mov dword [esp + 0x18], ecx
movzx ecx, cl
sub eax, ecx
imul ecx, eax, 0x32
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
add dl, al
mov eax, dword [esp + 0x14]
movzx ecx, al
shl ecx, 8
movzx eax, dl
or ecx, eax
mov eax, dword [esp + 0x10]
shl ecx, 8
movzx eax, al
or ecx, eax
call fcn.0045b6f0
mov esi, dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, eax
test edi, edi
je 0x440ddc
push ecx
push edi
call esi
push 0
push 0
push 0
lea eax, [esp + 0xa0]
push eax
push 2
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
movdqa xmm0, xmmword [esp + 0x84]
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x78]
movdqa xmmword [esp + 0x78], xmm0
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [esp + 0x10]
mov ecx, eax
shr eax, 0x10
mov dword [esp + 0x14], eax
mov eax, 0xff
shr ecx, 8
mov dword [esp + 0x18], ecx
movzx ecx, cl
sub eax, ecx
imul ecx, eax, 0x4b
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
add dl, al
mov eax, dword [esp + 0x14]
movzx ecx, al
shl ecx, 8
movzx eax, dl
or ecx, eax
mov eax, dword [esp + 0x10]
shl ecx, 8
movzx eax, al
or ecx, eax
call fcn.0045b6f0
test edi, edi
je 0x440e7a
push eax
push edi
call esi
push 0
push 0
push 0
lea eax, [esp + 0x80]
push eax
push 2
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
test dword [edx + 0x80], 0x800
je 0x440efb
mov eax, dword [esi + 0x28]
lea ecx, [esp + 0x74]
sub eax, dword [esi + 0x20]
cdq
sub eax, edx
push 0xebebeb
sar eax, 1
sub esp, 8
add eax, dword [esi + 0x20]
mov dword [esi + 0x20], eax
inc eax
mov dword [esi + 0x28], eax
push edi
call fcn.0045b920
test edi, edi
je 0x440ecc
push dword [esi + 0x28]
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x1c]
push edi
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [esp + 0x80]
test eax, eax
je 0x440ee5
push eax
push dword [esp + 0x80]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x78]
test ecx, ecx
je 0x4410fd
call fcn.0045b4a0
jmp 0x4410fd
xor eax, eax
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], 0
mov word [esp + 0xbc], ax
cmp word [edx], ax
jne 0x440f24
xor ecx, ecx
jmp 0x440f3f
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440f30
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0xc4]
call fcn.00402ddd
cmp dword [esp + 0x28], 0
mov ecx, 0x333333
mov eax, 0x999999
mov byte [esp + 0x200], 3
cmove eax, ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
add dword [esp + 0x84], 0xa
lea ecx, [esp + 0xa4]
sub dword [esp + 0x8c], 0xa
xor eax, eax
push 1
push 0x4c7628
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], 0
mov word [esp + 0xac], ax
call fcn.00402ddd
sub esp, 0x18
mov byte [esp + 0x218], 4
mov ecx, esp
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x4c431c
mov word [ecx], ax
call fcn.00402ddd
lea eax, [esp + 0xbc]
push eax
lea edx, [esp + 0xd8]
lea ecx, [esp + 0x90]
call fcn.004208a0
add esp, 0x1c
cmp dword [esp + 0xb8], 8
jb 0x44101e
push dword [esp + 0xa4]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [esp + 0x74]
xor ecx, ecx
mov edi, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
cmp esi, edi
je 0x441080
mov edx, 0x26
cmp ecx, 1
mov eax, 0x24
cmove eax, edx
cmp dword [esi + 0x14], 8
jb 0x44104a
mov ecx, dword [esi]
jmp 0x44104c
mov ecx, esi
push eax
lea eax, [esp + 0x88]
push eax
push dword [esi + 0x10]
push ecx
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x10]
add esi, 0x18
mov edi, dword [esp + 0x78]
inc ecx
mov dword [esp + 0x10], ecx
mov edx, 0x26
cmp esi, edi
jne 0x441035
mov esi, dword [esp + 0x74]
test esi, esi
je 0x4410dd
cmp esi, edi
je 0x4410b7
cmp dword [esi + 0x14], 8
jb 0x441099
push dword [esi]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x441088
mov esi, dword [esp + 0x74]
push esi
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call esi
add esp, 4
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
jmp 0x4410e3
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp dword [esp + 0xd0], 8
jb 0x4410f9
push dword [esp + 0xbc]
call esi
add esp, 4
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.004411c0
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov eax, dword [esp + 0x40]
add esp, 4
test eax, eax
je 0x441122
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x44112f
call fcn.0045b4a0
mov ecx, dword [esp + 0x1f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1e4]
xor ecx, esp
call fcn.004a5ae0
mov esp, ebp
pop ebp
ret 4