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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x458968
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
mov ebx, dword [esp + 0x60]
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x70]
mov eax, dword [eax - 0xc]
test eax, eax
push edi
je 0x41dfe6
cmp ebx, 0xfffffffe
jne 0x41dfe6
lea edi, [esi + 0x74]
mov ecx, edi
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x60]
lea eax, [eax + edx*2]
push 0xf
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], eax
call dword [sym.imp.user32.dll_GetSysColor]
mov ebx, dword [esp + 0x68]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call fcn.00450212
mov ebp, dword [edi + 8]
mov eax, dword [edi]
mov edx, dword [esi + 0x60]
push 0x10
sub ebp, eax
mov dword [esp + 0x6c], edx
call dword [sym.imp.user32.dll_GetSysColor]
mov edx, dword [esi + 0x78]
push eax
mov eax, dword [esp + 0x6c]
lea ecx, [eax*4]
push 1
sub ebp, ecx
mov ecx, dword [edi]
push ebp
push edx
lea edx, [ecx + eax*2]
push edx
mov ecx, ebx
call fcn.00450358
mov eax, dword [edi]
mov ebp, dword [edi + 8]
sub ebp, eax
mov eax, dword [esi + 0x60]
push 0x14
mov dword [esp + 0x6c], eax
call dword [sym.imp.user32.dll_GetSysColor]
mov edx, dword [esi + 0x78]
push eax
mov eax, dword [esp + 0x6c]
lea ecx, [eax*4]
sub ebp, ecx
mov ecx, dword [edi]
push 1
push ebp
inc edx
push edx
lea edx, [ecx + eax*2]
push edx
mov ecx, ebx
call fcn.00450358
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.user32.dll_InflateRect]
mov eax, dword [esi + 0x68]
mov edi, 0xfffffffe
cmp eax, edi
jne 0x41df69
cmp dword [esi + 0x64], edi
je 0x41df69
push 0x16
call dword [sym.imp.user32.dll_GetSysColor]
push eax
lea ecx, [esp + 0x2c]
push ecx
jmp 0x41df77
push 0xf
call dword [sym.imp.user32.dll_GetSysColor]
push eax
lea edx, [esp + 0x2c]
push edx
mov ecx, ebx
call fcn.00450212
cmp dword [esi + 0x64], edi
jne 0x41df92
mov ecx, dword [ebx + 4]
push 0xf
push 4
lea eax, [esp + 0x30]
push eax
push ecx
jmp 0x41dfa4
cmp dword [esi + 0x68], edi
jne 0x41dfaa
mov eax, dword [ebx + 4]
push 0xf
push 2
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.user32.dll_DrawEdge]
mov edx, dword [ebx]
lea eax, [esi + 0xa4]
push eax
mov ecx, ebx
call dword [edx + 0x28]
push 1
mov ecx, ebx
mov edi, eax
call fcn.0044b00c
mov esi, dword [esi + 0x70]
mov ecx, dword [esi - 0xc]
mov edx, dword [ebx]
push 0x25
lea eax, [esp + 0x2c]
push eax
push ecx
push esi
mov ecx, ebx
call dword [edx + 0x68]
mov edx, dword [ebx]
push edi
mov ecx, ebx
call dword [edx + 0x28]
jmp 0x41e35a
mov eax, dword [esi + 0x6c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x41e17a
cmp ebx, 0xfffffffd
jne 0x41e17a
mov ebp, dword [sym.imp.user32.dll_GetSysColor]
push 0xf
lea ebx, [esi + 0x84]
call ebp
mov edi, dword [esp + 0x68]
push eax
push ebx
mov ecx, edi
call fcn.00450212
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
push 0xffffffffffffffff
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0xc]
mov ebx, dword [sym.imp.user32.dll_InflateRect]
push 0xffffffffffffffff
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
call ebx
mov ecx, dword [esi + 0x68]
mov eax, 0xfffffffd
cmp ecx, eax
jne 0x41e063
cmp dword [esi + 0x64], eax
je 0x41e063
push 0x16
call ebp
push eax
lea eax, [esp + 0x2c]
push eax
jmp 0x41e06d
push 0xf
call ebp
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.00450212
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x60]
shl eax, 1
mov dword [esp + 0x50], ecx
mov ecx, eax
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x34]
neg ecx
push ecx
neg eax
mov dword [esp + 0x58], edx
push eax
lea edx, [esp + 0x50]
push edx
call ebx
push 0x10
call ebp
push eax
push 1
push 0
lea ecx, [esp + 0x2c]
call fcn.0044bacb
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov dword [esp + 0x64], 0
call fcn.0044ba0f
mov edx, dword [edi]
push 5
mov ecx, edi
mov ebp, eax
call dword [edx + 0x24]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call dword [sym.imp.gdi32.dll_Rectangle]
push ebp
mov ecx, edi
call fcn.0044ba0f
mov ecx, dword [esi + 0x64]
mov eax, 0xfffffffd
cmp ecx, eax
jne 0x41e11a
mov eax, dword [edi + 4]
push 0xf
push 4
lea edx, [esp + 0x30]
push edx
push eax
jmp 0x41e12c
cmp dword [esi + 0x68], eax
jne 0x41e132
mov edx, dword [edi + 4]
push 0xf
push 2
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.user32.dll_DrawEdge]
mov eax, dword [edi]
lea ecx, [esi + 0xa4]
push ecx
mov ecx, edi
call dword [eax + 0x28]
push 1
mov ecx, edi
mov ebx, eax
call fcn.0044b00c
mov esi, dword [esi + 0x6c]
mov eax, dword [esi - 0xc]
mov edx, dword [edi]
push 0x25
lea ecx, [esp + 0x2c]
push ecx
push eax
push esi
mov ecx, edi
call dword [edx + 0x68]
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0x28]
mov dword [esp + 0x20], vtable.CGdiObject.0
lea ecx, [esp + 0x20]
jmp 0x41e34d
lea ecx, [esp + 0x6c]
push ecx
lea eax, [esp + 0x3c]
push ebx
mov ecx, esi
mov dword [esp + 0x74], eax
call fcn.0041d7d0
test eax, eax
je 0x41e35a
mov edi, dword [esp + 0x68]
mov edx, dword [edi + 8]
push 0x26
push edx
mov dword [esp + 0x74], 0
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
test ah, 1
je 0x41e1d2
push 0
lea eax, [esi + 0xac]
push eax
mov ecx, edi
call fcn.0044ba55
mov ecx, dword [edi + 4]
push ecx
mov dword [esp + 0x70], eax
call dword [sym.imp.gdi32.dll_RealizePalette]
cmp dword [esi + 0x68], ebx
jne 0x41e1ee
cmp dword [esi + 0x64], ebx
je 0x41e1ee
mov ebp, dword [sym.imp.user32.dll_GetSysColor]
push 0x14
call ebp
push eax
lea edx, [esp + 0x3c]
push edx
jmp 0x41e1fe
mov ebp, dword [sym.imp.user32.dll_GetSysColor]
push 0xf
call ebp
push eax
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.00450212
cmp dword [esi + 0x64], ebx
jne 0x41e219
mov edx, dword [edi + 4]
push 0xf
push 4
lea ecx, [esp + 0x40]
push ecx
push edx
jmp 0x41e22b
cmp dword [esi + 0x68], ebx
jne 0x41e231
mov ecx, dword [edi + 4]
push 0xf
push 2
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.user32.dll_DrawEdge]
mov eax, dword [ebx*8 + 0x4781f8]
mov edx, eax
shr edx, 0x10
movzx ecx, dl
or ecx, 0x200
shl ecx, 8
movzx edx, ah
or ecx, edx
movzx eax, al
shl ecx, 8
or ecx, eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.0044bb1b
mov dword [esp + 0x60], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], vtable.CPen.0
push 0x10
mov byte [esp + 0x64], 2
call ebp
push eax
push 1
push 0
call dword [sym.imp.gdi32.dll_CreatePen]
push eax
lea ecx, [esp + 0x14]
call fcn.0044b933
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.0044ba0f
lea edx, [esp + 0x10]
push edx
mov ecx, edi
mov ebx, eax
call fcn.0044ba0f
mov esi, dword [esi + 0x60]
mov ebp, eax
lea eax, [esi + 1]
mov ecx, eax
neg ecx
push ecx
neg eax
push eax
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.user32.dll_InflateRect]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call dword [sym.imp.gdi32.dll_Rectangle]
push ebx
mov ecx, edi
call fcn.0044ba0f
push ebp
mov ecx, edi
call fcn.0044ba0f
lea ecx, [esp + 0x18]
call fcn.0044b98a
lea ecx, [esp + 0x10]
call fcn.0044b98a
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x41e32e
mov edx, dword [edi + 8]
push 0x26
push edx
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
test ah, 1
je 0x41e32e
push 0
push esi
mov ecx, edi
call fcn.0044ba55
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 1
mov dword [esp + 0x10], esi
call fcn.0044b98a
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x60], 0xffffffff
call fcn.0044b98a
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 8